The Network People Support Forums

Mail::Toaster => Configuration Issues => Topic started by: Pi_Verdri on September 25, 2005, 05:00:48 PM

Title: relay from LAN
Post by: Pi_Verdri on September 25, 2005, 05:00:48 PM
Hi all,

I was hoping you could help me with the folloing :

I want to allow local systems to use my toaster as a relay.

unfortunately when sending to a system not in rcpthosts I still get:

CHKUSER rejected relaying: from <ruben@NmsHost.1site1.nl::> remote <NmsHost.1site1.nl:unknown:my.wan.ip.xxx> rcpt <ruben@someserver.nl> : client not allowed to relay
@4000000043372a72177df82c CHKUSER accepted rcpt: from <::> remote <NmsHost.1site1.nl:unknown:my.wan.ip.xxx> rcpt <ruben@NmsHost.1site1.nl> : found existing recipient
@4000000043372a81251df9dc CHKUSER accepted rcpt: from <::> remote <MailHost.1site1.nl:unknown:my.wan.ip.xxx

after having added 192.168.1.:allow,RELAYCLIENT="",RBLSMTPD=""
to tcp.smtp and reloaded the tcp.smtp.cdb

I'm using Mail::Toaster 4.08 on FBSD 5.4

thanks,

Ruben
Title: Re: relay from LAN
Post by: Pi_Verdri on October 01, 2005, 06:30:50 AM
The problem was due to dns. I assumed the host file would be read and the lan address would be reported. But as I was using fully qualified host names this was not the case and a dns lookup was performed instead of a hosts file lookup. As the WAN ip was not in the tcpserver database as allowed to relay it worked correctly and rejected the relay attempt.