CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Return channel with no catchall nor localpart+ option
Pages: [1]

Author Topic: Return channel with no catchall nor localpart+ option  (Read 1801 times)

goran

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
Return channel with no catchall nor localpart+ option
March 17, 2010, 02:41:42 am
Let's assume that catchall is not an option for a domain (either because we prefer to bounce such mails or because we don't have access to this option on our mail server)
So the only option for return channel (please correct me) is to use the
civimail+s.1.2@example.com
approach.

Now, in our case this does not work either, as mail server does not support it, but that made me think... is it really necessary to pass the s.1.2 back in the To: field of an e-mail?
The processor is looking inside the messages anyway to categorize the bounces, so why couldn't it be checking for this code in the body?

That would make the return channel work with any sort of mailbox.


xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Return channel with no catchall nor localpart+ option
March 17, 2010, 02:49:13 am
Because mail servers are highly creative at writing the bounce emails text and can (and often do) filter or modify any information that would allow us to identify the mailing and the contact.

VERP is the only efficient way of doing that. (read DJB on that http://cr.yp.to/proto/verp.txt or more recently the misery Lamson had with that).

The next version of civimail is likely to have an option to set the sender email as the one catching the bounces. Not perfect, but better than having the returns getting lost into the ether. Would it be useful for you ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

goran

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
Re: Return channel with no catchall nor localpart+ option
March 17, 2010, 04:43:57 am
I see. I was thinking that there must be some reason :)

Re sender mail catching the bounces - that would fit the bill for me.

Why do you say not perfect? (any problems with servers respecting it?)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Return channel with no catchall nor localpart+ option
March 17, 2010, 06:42:29 am
Quote from: goran on March 17, 2010, 04:43:57 am
Why do you say not perfect? (any problems with servers respecting it?)

Cause then we have other issues if the sender put an email that has a SPF, eg. if you put example@gmail.com and sends mail from your server, all the recipients will see that only the mail servers from google can send emails, and you will get lots of your recipients trashing your email in the spam folder.

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: Return channel with no catchall nor localpart+ option
March 22, 2010, 11:19:44 am
Quote from: goran on March 17, 2010, 02:41:42 am
Let's assume that catchall is not an option for a domain (either because we prefer to bounce such mails or because we don't have access to this option on our mail server)
So the only option for return channel (please correct me) is to use the
civimail+s.1.2@example.com
approach.

Another option would be to have a regexp-based ‘catch-some’ account; in the past, this was the recommended approach – to configure your mailserver to forward emails addressed to [a-z].\d+.\d+…@example.com to a selected email account (and then process it).
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Return channel with no catchall nor localpart+ option
March 22, 2010, 01:54:28 pm
As an experiment, we have added an extra header in the mail sent by civicrm that contains the same info (user+mailing), than the verp.

I will run a script in a while and then try to see how much of the bounce emails kept this header, and how much deleted it.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Return channel with no catchall nor localpart+ option

This forum was archived on 2017-11-26.