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

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

QUESTION: Is badmailfrom the right way ?

2001-07-26 Thread Philipp Lopaur
in internet (external interface), with envelope MAIL FROM: [EMAIL PROTECTED] RCPT TO: [EMAIL PROTECTED] headers should also be checked against this QUESTION: is badmailfrom the right way to do this ? is there a way to deny the message after the MAIL FROM: ? currently it is denied after RCPT