Re: [vchkpw] Selective relaying with tcpserver and qmail-smtpd

2003-01-28 Thread Claudio Nieder
Hi,

> 192.168.1.10:allow
>  ^^^
> Try setting the IPs you want to deny like this:
> 192.168.1.10:deny
> 
> Or am I way off here?

Yes, because saying "deny" makes tcpserver to not accept the connection
right away, thus from that host one would not even allowed to send mail
to a local recipient.

The right way is indeed to allow tcp connection, but not supply the
RELAYCLIENT environment variable, so that qmail-smtpd will only accept
mail which are detined to local users.

claudio
-- 
Claudio Nieder, Kanalweg 1, CH-8610 Uster, Tel +41 79 357 6743
yahoo messenger: claudionieder aim: claudionieder icq:42315212
mailto:[EMAIL PROTECTED]http://www.claudio.ch





RE: [vchkpw] Selective relaying with tcpserver and qmail-smtpd

2003-01-28 Thread Stig Martin Fiskå
> From: Winanjaya [mailto:[EMAIL PROTECTED]]
>
> I already configured deny relaying for some IP's but it's still relay
> allowed .. below is my /home/vpopmail/etc/tcp.smtp configuration:
> 
> 127.0.0.1:allow,RELAYCLIENT=""
> 192.168.1.:allow,RELAYCLIENT=""
> 172.16.1.:allow,RELAYCLIENT=""
> 
> 192.168.1.10:allow
> 172.16.1.88:allow
> 172.16.1.77:allow
> 
> then I run
> 
> tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
> 
> 192.168.1.10, 172.16.1.88, and 172.16.1.77 must be deny relaying ..
but in
> fact .. it's not denied .. any suggestion? what should I check? or am
I
> missing something?

192.168.1.10:allow
 ^^^
Try setting the IPs you want to deny like this:
192.168.1.10:deny

Or am I way off here?

---
Regards,

Stig Martin