>There was two issues above. 1) reject mail being sent to valid usernames
>and 2) bounce mail sent to non-valid usernames without accepting the message.
>
>As you note, 1) Is "easy" to patch in. 2) Is non-trivial.
>
>>>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.
>
>True, but since when has processing be a major issue in a qmail box?
It can be when someone uses a forged address in your domain to spam, eg, AOL.
I've seen upwards of 30,000 bounces inbound as a result of this. Avoiding
30K queue submissions is a big issue. I suspect that DjB's answer to this
problem, is zeroseek queues.
2) is certainly non-trivial and I think this has been discussed many times
here. Though there are patches around that handle partial solutions.
Regards.