Exim mail relay from an IP without authentication

If you have IP addresses which should always be able to relay mail without having to authenticate first ,all you have to do is:

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

For example:

vi  /etc/alwaysrelay

Add the IPs,

192.168.0.1
10.10.10.98

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

Filed Under: Quick fixesTechnical

Tags:

About the Author: InstaCarma is a provider of Enterprise Class Solutions for the Hosting Industry

RSSComments (0)

Trackback URL

Leave a Reply

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
InstaCarma provides outsourced web hosting technical support, helpdesk management, datacenter automation, cloud service management. Sales - 1800 810 6547 - visit www.instacarma.com