>> Since I started this thread I can tell you without question what it's about
>> and [EMAIL PROTECTED] isn't any part of it.  I want to reject mail being 
>> sent to certain valid usernames, such as my database. I'd also like to bounce
>> some mail to nonvalid usernames without accepting and bouncing afterward since
>> they only double bounce anyway.   

Me too.  As people pointed out, I meant RCPT TO not MAIL TO.

>To do this, then it requires qmail-smtpd to know everything that qmail-send
>does.  It requires a major rethink and rewriting of the qmail system.

Interesting theory, but hard to believe.  All I want is a place to put
a list of addresses that won't be accepted as RCPT TO arguments even
if the domain is otherwise acceptable.  Note that there's no new
linkage here to anything other than perhaps a file in which the names
are listed.

>If you are in control of the local delivery then you already can control
>who sends mail to your database.  Why can't you use procmail?

As has been noted many times, rejecting mail at the SMTP level saves
processing and makes it more likely that the sender will notice that it
was rejected.

I'll dig up the patch that does this and try it out.  Given that the
badmailfrom code already exists, it shouldn't be very big.

-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail

Reply via email to