Results 1 to 2 of 2
Thread: Problems with Exim/relay_hosts
-
09-20-2005, 04:01 PM #1Newbie
- Join Date
- Aug 2003
- Location
- CA
- Posts
- 19
Problems with Exim/relay_hosts
The exim.conf line in question is simply:
hosts = +relay_hosts
We'll test a host that we know is already in relayhosts:
# cat /etc/relayhosts
69.181.43.251
70.5.115.105
# exim -bh 69.181.43.251
<snip>
>>> sender host name required, to match against lsearch;/etc/relayhosts
>>> looking up host name for 69.181.43.251
>>> IP address lookup yielded c-69-181-43-251.hsd1.ca.comcast.net
<snip>
>>> host in "lsearch;/etc/relayhosts : localhost : 216.22.10.35"? no (end of list)
GRRR! "no"??? What, is it trying to match "c-69-181-43-251.hsd1.ca.comcast.net" rather than the IP address?
-
09-21-2005, 03:42 PM #2Web Hosting Guru
- Join Date
- Jul 2005
- Posts
- 256
Add c-69-181-43-251.hsd1.ca.comcast.net to /etc/relayhosts and see.
I never used this way of listing allowed hosts myself... maybe you need to separate addresses with a colon rather than a newline?