Hi All, I have a task to configure bounce handling (parse the bounce and add to the database data whom do not deliver)
I've done this with VERP technique http://www.postfix.org/VERP_README.html >Without VERP, the mailing list manager might send a message with the following >characteristics: >envelope sender: wikipedians-ow...@example.net >recipient: b...@example.org >With VERP, the original message would be different: >envelope sender: wikipedians-owner+bob=example....@example.net >recipient: b...@example.org Unfortunately, not all servers accept sender's(envelope-from) format VERP (though gmail.com works fine) When I post, then see the following in the log: # echo "test" | sendmail -XV -fser...@myserver.com k...@recipient.com >Jun 10 12:45:36 hostname postfix/pickup1229: A7E8F7068C7: uid=33 >from=<ser...@myserver.com> >Jun 10 12:45:37 hostname postfix/cleanup1761: A7E8F7068C7: >message-id=<20110610174536.a7e8f706...@b1.myserver.com> >Jun 10 12:45:37 hostname postfix/qmgr1230: A7E8F7068C7: >from=<ser...@myserver.com>, size=166555, nrcpt=1 (queue active) >Jun 10 12:45:40 hostname postfix/smtp1763: A7E8F7068C7: >to=<k...@recipient.com>, relay=mail.recipient.com[220.220.220.220]:25, >delay=5.3, delays=2.4/0.47/0.6/1.8, dsn=5.0.0, status=bounced (host >mail.recipient.com[220.220.220.220] said: 550-Verification failed for ><server+kent=recipient....@myserver.com> 550-No Such User Here" 550 >Sender verify failed (in reply to RCPT TO command)) Apparently recipient's SMTP does not understand that my envelope-from (server+kent=recipient....@myserver.com) is an email in a verp format and rejecting it with 5xx. How do I make it so that I can send to all in the format VERP, but those who are not supported - resend typically without VERP? Regards, Ilya Pichugin