exim4: multiple domains/IPs

Posted by ButterdBread on Server Fault See other posts from Server Fault or by ButterdBread
Published on 2012-09-01T21:16:08Z Indexed on 2012/09/01 21:39 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

On my VPS I have 3 IPs which all have their own domain and their own reverse-DNS records. I have a website on each domain, sending emails.

The problem is: the emails are rejected by many hosts because the reverse dns doesn't fit the host in the helo. All the emails are sent from the primary IP and therefore only one of the three domains work.

I am looking for a way for exim to check which email adress i'm using to send the email and adapt the domain/IP transmitted in the helo.

I have already tried many configurations but nothing has worked up to now. Simply changing MX-Records is impossible too, as I recieve (and also send) email via gmail and I don't want to set up my own webmail.

Does anyone know a solution?

© Server Fault or respective owner

Related posts about dns

Related posts about email