relay question (was: badmailfrom the right way)

2001-07-27 Thread Philipp Lopaur

i know i have asked this before, but got no responses yet,
so i simplify my question a little bit and hope for an answer.

how can i deny mail from outside with envelope
FROM: 123@mydomain
RCPT: 456@mydomain
(in the case 123 and 456 are valid mailboxes)

currently i have tcpserver with RELAYCLIENT and
an entry in badmailfrom: @mydomain

is this optimal?
can qmail end the session after MAIL FROM: ?
(now it does after RCPT TO)

my setup:

INTERNET
|
QMAIL SERVER (2 Interfaces, qmail-1.03 - qmailqueue and spamcontrol patch)
|
PRIVATE NETWORK

i am switching to qmail from sendmail because got sick of 
obscure .cf files. qmail is cleaner in design than sendmail and therefore
easier to understand. - security benefit. 

thanks

btw. topic of the mailinglist is QMAIL right ?

--
Philipp Lopaur





Re: relay question (was: badmailfrom the right way)

2001-07-27 Thread Charles Cazabon

Philipp Lopaur [EMAIL PROTECTED] wrote:
 
 how can i deny mail from outside with envelope
 FROM: 123@mydomain
 RCPT: 456@mydomain
 (in the case 123 and 456 are valid mailboxes)
 
 currently i have tcpserver with RELAYCLIENT and
 an entry in badmailfrom: @mydomain
 
 is this optimal?

No -- qmail will then refuse any envelope senders in your domain.

 can qmail end the session after MAIL FROM: ?

Only with patches you'll find at qmail.org or in the list archives.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---