Mail -> Accounts -> Name Uniqueness Required
In toying around with Mail Accounts for Bounce Processing and Email-to-Activity, I've discovered an odd "feature" that has seemingly unintended consequences. If the Name field is not unique, the Process Inbound E-mails utilizes the setting from the first matching Name setup. An example will hopefully make this clearer. In Mail Accounts:
- Name: Civi, Address: email@example.com, Used For: Bounce Processing
- Name: Civi, Address: firstname.lastname@example.org, Used For: Email-to-Activity
When I run the Cron job for Process Inbound E-mails, it seems to successfully connect to the line 1 setup and run the Email-to-Activity off of that box.
If I simply rename the Name field, then I get the intended results.
- Name: Civi Bounce, Address: email@example.com, Used For: Bounce Processing
- Name: Civi Activity, Address: firstname.lastname@example.org, Used For: Email-to-Activity
Running Process Inbound E-mails then grabs the e-mails from the Civi Activity account as expected.
As a side note, and perhaps a feature enhancement, the Cron logs don't show what folder or e-mail account is being looked at. This was more of a trial and error deduction. If I mess up the login, then the Cron log does show the account details.
P.S. Perhaps this should be in Mailing instead?