I use CiviMail in conjunction with a catch-all mailbox. The bounce processing updates the database when there’s bad email addresses and reports bounces on the mail report. It also handles user opt-outs. We use DreamHost, and they’re dropping support for catch-all mailboxes as of 10/1/18. Ugh. DreamHost doesn’t support VERP either. I found this documentation: https://docs.civicrm.org/sysadmin/en/latest/setup/civimail/inbound/ which has this section:
Variable Envelope Return Path (VERP) CiviCRM Bounce handling depends on using Variable Envelope Return Path (VERP). If your email server doesn't support VERP you will only be able to properly support bounce requests if you can set up a catch all email. If you cannot setup a catch all email and your server does not support VERP you will need to edit packages/Mail/smtp.php as follows near line 275: //if (!empty($headers['Return-Path'])) { // $from = $headers['Return-Path']; //}
So, I set up a new mailbox bounce@domain.org and marked it in Administer | CiviMail | Mail Accounts as the account for bounce processing. I commented out the three lines of code shown above. I did a test mailing with a bad email address, but the delivery failure went back to the sending email address (wisconsin@domain.org) instead of bounce@domain.org. What am I doing wrong??? Thanks for your help!
UPDATE: I don't want my email blasts to come from bounce@domain.org. CiviMail lets you specify the bounce email address in Administer | CiviMail | Mail Accounts. It just doesn't work! One clue I found was in my own question posted in 2015 (Problem using CiviMail with Bluehost), where Xavier points out that the lines of code I commented out are the one's needed to be able to identify who was the recipient, so if it bounces, Civi can identify it properly. So, I reinstated those lines of code. But the bounce went to the old Catch-All account, instead of the new bounce account. Then I disabled the Catch-All account. Now I can't find the delivery failure email anywhere?!? Please help!!! I'm using CiviCRM 4.7.20 and the current version of WordPress.