On Tue, Feb 23, 1999 at 02:02:35PM -0500, Richard Shetron wrote:
> > On Wed, Feb 24, 1999 at 02:57:19AM +0800, [EMAIL PROTECTED] wrote:
> > > are the messages from the addresses in /var/qmail/control/badmailfrom
> > > automatically bounced or do they just go to /dev/null?
> >
> > The sender is rejected at the SMTP level. The sender says:
> >
> > MAIL FROM:<[EMAIL PROTECTED]>
> >
> > and qmail-smtpd responds:
> >
> > 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
> >
> > End of story.
>
> Is there anyway to have qmail use badmailfrom on the from line in the
> header? The spammers are forging the envelopes so the envelopes are
> pretty useless these days for filtering.
Nope. qmail-smtpd doesn't look at the address headers.
For this task you'll probably need a mail delivery agent with filtering like
maildrop or procmail.
Chris