RE: [vchkpw] Deny relaying

2003-02-04 Thread Clayton Weise
To deny relay to a particular IP address just do:

1.2.3.4:deny

-Original Message-
From: Winanjaya [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 03, 2003 7:46 PM
To: Vpopmail (E-mail)
Subject: [vchkpw] Deny relaying


I need to deny relay for my qmail server, I have already run the following
commands (please correct me if I'm wrong or something missing) this is only
a part of IP addresses vi /home/vpopmail/etc/tcp.smtp 172.16.1.86:allow,
RELAYCLIENT= 172.16.1.87:allow, RELAYCLIENT= 172.16.1.88:allow,
RELAYCLIENT=
: allow
then I run
tcprules /home/vpopmail/tcp.smtp.cdb tcp.smtp.tmp  tcp.smtp then
tcp.smtp.cdb created .. I configured vpopmail with --enable-roaming-users=n
then I run make and then make install-strip am I correct? or am I missing
something? TIA Winan










Re: [vchkpw] Deny relaying

2003-02-04 Thread Peter Palmreuther
Hi Clayton,

On Tue, 4 Feb 2003 07:40:38 -0800 Clayton Weise [EMAIL PROTECTED]
wrote:

 To deny relay to a particular IP address just do:

 1.2.3.4:deny

That's the line to enter if you want to deny _access completely_, not to
deny relaying.

To deny realying for a particular address the line has to be

1.2.3.4:allow

As no 'RELAYCLIENT=' is given the appropriate environment variable
ain't set and therefore relaying is denied (of course unless any other
instance set the variable, as e.g. a patched qmail-smtpd that
authenticates using vchkpw; vchkpw will set the variable in this case).
-- 
Peter