Using Exim and Google Apps email as smarthost

Posted by pferrel on Server Fault See other posts from Server Fault or by pferrel
Published on 2011-01-07T22:08:35Z Indexed on 2011/01/07 22:55 UTC
Read the original article Hit count: 370

Filed under:
|
|
|
|

I have a server setup to use exim4 and google apps as my smarthost. But I get errors when the to address is not the one I use to authenticate to google and it seems to drop all return addresses that are not the one it uses to authenitcate.

Example: On the contact form of my server a user sets [email protected] as their return address and uses the form to send a message.

I get an email sent to the admin's address [email protected] but the return address is also now [email protected] I have no idea of the return address the user set on the form.

I get around this by putting a bad email address in the form's default so Exim4 sends an error message to [email protected] with the user's email in the debug info.

Clearly I either have it set up wrong or do not understand how smarthosts work (probably both).

© Server Fault or respective owner

Related posts about ubuntu

Related posts about email