Exim mail relay from an IP without authentication

Q : How to allow IP in exim cpanel to relay mail without authentication

Solution : create the file /etc/alwaysrelay and add the IP addresses .

For example:

vi  /etc/alwaysrelay

Add the IPs,

192.168.1.100
10.0.60.22

Then, restart exim (/etc/init.d/exim restart or ‘service exim restart’)

After this either restart antirelayd or wait for a little while and it will automatically include these IPs in /etc/relayhosts

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *