XF 2.2 Trouble with bounce handler

Tom McIntyre

Active member
We are set up to use AWS SES for out outbound mail and are using a MS Exchange server to handle the bounce messages.
The problem is that we get the error
Laminas\Mail\Exception\RuntimeException: Bounce connection error: cannot login, user or password wrong
src/XF/Mail/Storage/Imap.php:34
We believe we have the correct bounce@mydomain.org email address for bounce but we do not know much about Exchange.
Is it necessary to have the bounce handler on the same domain as the site? Our site is running on KnownHost and our MS Exchange is an inhouse system.
The Exchange server is the mail service for our inhouse staff and is used for outbound mail from our iMIS membership system as well. That inhouse system uses mimecast for security.

Any help or pointer to where to find it would be appreciated.
 
Can you access the bounce inbox from a regular email client using the same credentials? XF is just using POP3/IMAP to check for incoming bounce emails. There is no requirement that it's on the same domain (or email server, or anything other than a valid return-path which can be accessed over POP3/IMAP).
 
I think we are about to get this sorted out. Since bounce can be anywhere we created a bounce account on our KH server that is hosting the Forum.
Now I am trying to figure out how to test this setup.
I thought that sending a password request to one of my test accounts after changing its email to a spurious address would work, but I am having a hard time figuring what email domain to use.
 
Top Bottom