I would like Exim to use multiple IP addresses to send email from my discussion lists. I would like to use different IP addresses for each discussion list to isolate these lists.
I looked at the instructions for doing this and modified the cnf of Exim in WHM
I set OFF to send email from dedicated IP address
I set ON to reference /etc/mailhelo
I set ON to reference /etc/mailips
I wrote 3 files
mailhelo--
domain1.com: mx.domain1.com
domain2.com: mx.domain2.com
domain3.com: mx.domain3.com
domain4.com: mx.domain4.com
mailips
domain1.com: 192.1.2.1
domain2.com: 192.1.2.2
domain3.com: 192.1.2.3
domain4.com: 192.1.2.4
mail_reverse_dns
192.1.2.1: mx.domain1.com
192.1.2.2: mx.domain2.com
192.1.2.3: mx.domain3.com
192.1.2.4: mx.domain4.com
I can send mail to each of these IP addresses using the correct domain but all email sent by Exim comes from the dedicated IP address instead of the other three. I had assumed that if the mail came [email protected] and the email was sent to smtp IP mx.domain3.com, the email is sent out from 192.1.2.1 (mx.domain1.com)
I do not know what else to do to get this to work. I wanted this email to be sent out from 192.1.2.3 mx.domain3.com
I looked at the instructions for doing this and modified the cnf of Exim in WHM
I set OFF to send email from dedicated IP address
I set ON to reference /etc/mailhelo
I set ON to reference /etc/mailips
I wrote 3 files
mailhelo--
domain1.com: mx.domain1.com
domain2.com: mx.domain2.com
domain3.com: mx.domain3.com
domain4.com: mx.domain4.com
mailips
domain1.com: 192.1.2.1
domain2.com: 192.1.2.2
domain3.com: 192.1.2.3
domain4.com: 192.1.2.4
mail_reverse_dns
192.1.2.1: mx.domain1.com
192.1.2.2: mx.domain2.com
192.1.2.3: mx.domain3.com
192.1.2.4: mx.domain4.com
I can send mail to each of these IP addresses using the correct domain but all email sent by Exim comes from the dedicated IP address instead of the other three. I had assumed that if the mail came [email protected] and the email was sent to smtp IP mx.domain3.com, the email is sent out from 192.1.2.1 (mx.domain1.com)
I do not know what else to do to get this to work. I wanted this email to be sent out from 192.1.2.3 mx.domain3.com