randee

Member
Dec 16, 2003
22
0
151
Black Hills
/etc/relayhosts
What should be in this file?
I see Ip's in there that are not part of my network, or part of my co-lo's network...
I don't see many of the IP's that I use on my servers either.

thanks for any help...
 

jackie46

BANNED
Jul 25, 2005
537
0
166
Sometimes in my exim/mainlog is see.

Cant open /etc/relayhosts then the error goes away. /etc/relayhosts is chmod 644 so im not sure why we see this error at times. Maybe you should look to see if this is happening in your exim_mainlog as well.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
randee said:
/etc/relayhosts
What should be in this file?
I see Ip's in there that are not part of my network, or part of my co-lo's network...
I don't see many of the IP's that I use on my servers either.

thanks for any help...
That file holds the IP addresses found by the antirelayd daemon which collects them from /var/log/maillog and puts them into that file to allow relaying from those IP addresses through the server - i.e. POP before SMTP.