Hi Dan,

On Wed, Aug 30, 2000 at 03:16:39PM -0700, net admin wrote:
> I allowed his office IP block in my /etc/tcp.smtp file as follows
> xxx.yyy.zzz.:allow,RELAYCLIENT=""
> This I assume this will let him relay as long as he comes from the IP address
> pool above regardles of what his email address is.

Yes, provided three things are true:
 - the source IP must be in the xxx.yyy.zzz network
 - you have used tcprules to make the rules into the cdb that tcpserver
   uses
 - your tcpserver process was started with the -x option which specifies
   the cdb file you made in the previous step

> But relay fails until I also put his domain in the /control/rcpthosts
> file! I don't want everybody in his domain to relay just him.

rcpthosts lists *destinations* you will accept mail for. Setting
RELAYCLIENT in the environment tells qmail-smtpd to accept mail for any
destination, in that session.


Regards,

james
-- 
James Raftery (JBR54)  -  Programmer Hostmaster  -  IE TLD Hostmaster
   IE Domain Registry  -  www.domainregistry.ie  -  (+353 1) 706 2375
  "Managing 4000 customer domains with BIND has been a lot like
   herding cats." - Mike Batchelor, on [EMAIL PROTECTED]

Reply via email to