Have a question about CiviCRM? Get it answered quickly at the new CiviCRM Stack Exchange Q+A siteThis forum was archived on 25 November 2017. Learn more.How to get involved.What to do if you think you've found a bug.
yes, i did read the post before replying however not sure if u've setup civismtp, but it is fairly trivial to set up and does BOTH inbound and outbound processing for a pretty low price (note that we have no incentive to plug that service). typically shared hosts also have issues with high volumes of outbound mail also and a more complete service like CiviSMTP makes more sense, IMO. Running a 24x7 service is a pretty intensive operation and a bit more involved than having an available resourcelobo
To return (briefly?) to this thread’s original topic, I’ll be implementing a PHP solution of the return channel (that will replace AMaViS/imap2soap) as part of our CiviMail tasks for CiviCRM 2.2[url=http://(with [url=http://issues.civicrm.org/jira/browse/CRM-3616]CRM-3616] (with [url=http://issues.civicrm.org/jira/browse/CRM-3616]CRM-3616 being the particular issue to track).
the 2.2 tentative schedule is here: http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+v2.2you can watch the issue and potentially backport it to 2.1 if critical to your orglobo
- one single mailbox for the bounce- the emails contains to extra headers X-mailing=id and X-contact=cid (not sure of the name, but that's the idea)a php called from a cron fetch the emails and parse to find the ids and process them
A couple of points: the php cron is called from the shell (php-cli), not from a wget of a webpage. It allows both to avoid the extra layer of the webserver, the timeout/memory problem, and let you set a lower priority on these batches (I nice -19 them). As for the login/pwd, the "cron" user(s) is defined in the config as a user that has the special privilege to authenticate from a cron/php-cli AND to do that without having to put a password (so you don't have passwords in clear text in the shell/cron)
As for the header fields vs. envelope, we have indeed problems from time to time with mail servers that strip the bounces from these extra header fields, so having a VERP is no doubt better from a technical point of view.Moreover, with most of the mail servers accepting the name+whatever notation, that'd be easier to still have one mailbox eg bounced@domain, and use bounced+mailingID-userID@domain as the envelope.
So you parse the body of the reply and hope that the bouncer included the headers, right?