Quoting Greg Ward <gward@???>:
> OK, that was easy to add to the check_recipient ACL:
>
> deny hosts = !127.0.0.1
> senders = postmaster@???:\
> webmaster@???
> message = forged sender address
This comes after the "accept hosts = :" line so that command line
messages from postmaster are still accepted, right?
> Two questions for the crowd:
>
> * can anyone think of any reason why this might be a bad idea?
Do you have any secondary MX servers who could produce a message
coming from such an address?
> * short of local_scan(), is it possible to extend this to the
> message headers? Ie. never mind the envelope sender, if the message
> contains "From: postmaster@???" I'd like to bounce it as
> well.
acl_smtp_data
--
Patrice Fournier
pfournier@???