[exim] Problem relaying from local subnet

Pàgina inicial
Delete this message
Reply to this message
Autor: Ben Carter
Data:  
A: exim-users
Assumpte: [exim] Problem relaying from local subnet
I have a Debian box kernel version 2.4 on which I have just installed
exim4 from apt-get stable. I have also installed sa-exim to filter spam.
Inbound email works fine, but users on the local subnet cannot send
mail. They get a 550 relay not permitted error. For the life of me
cannot figure out how to tell exim that it is ok to relay from the 10.x
subnet. I have read as much of TFM as I could find online (WIKI this
mailing list, numerous Google searches, etc.) and can't find an answer.
I tried using the directive relay_from_hosts in my exim.conf file. I am
running in monolithic file mode (or at least I told Debian to install
exim4 with the monolithic file. I tried renaming the /etc/exim4/conf.d
directory to verify that the conf.d was not in use and received errors
launching exim4 from the Debian start script. However, when I enabled
sa-exim, I did so with a command in the monolithic file. Confused? Me
too).



Here is the error:



2005-12-06 11:47:35 H=(principal) [10.1.1.56] F=<user@???>
rejected RCPT <user@???>: relay not permitted





I tried to edit the existing relay_from_hosts command but that didn't
work:



.ifndef MAIN_RELAY_NETS

MAIN_RELAY_NETS = DEBCONFrelay_netsDEBCONF

.endif

hostlist relay_from_hosts = 127.0.0.1 : 10.1.1.56 ::::1 :
MAIN_RELAY_NETS



Then I tried putting it in the config file "bare":



relay_from_hosts = localhost : 10.1.1.56 :





This is probably very easy, but I've been banging my head against it for
a day now, and am at my wits end. Any help is greatly appreciated.



Thanks









Ben Carter
DCCN Coordinator
Douglas County PUD
1151 Valley mall Parkway
East Wenatchee WA, 98802
Voice: (509) 884-7191
Fax:    (509) 884-0553