> Greg Hinton:
> > i would like to refuse accepting emails from i.e. baddomain.com
> > or [EMAIL PROTECTED] how could this be achieved ?
>
> Probably the easiest way is to use QMAIL-HOME/control/badmailfrom, see
> the qmail-smtpd(8) man page. You could also use tcpd(8), tcpserver(8),
> or rblsmtpd(8).
regarding control/badmailfrom, it depends. on the way one fetches mail.
if using fetchmail(1), the 553-rejection code has to come =before= the
recipients address, that is to say =after= the <mail from:> dialog. i have
a patch for this non-rfc-broken-fetchmail situation.
clemens