Monday, August 3, 2015

Exim mail relay from an IP without authentication

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

For example:

                  vi  /etc/alwaysrelay  
Add the IPs in the file

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



No comments:

Post a Comment