Pawel Rutkowski wrote:
>>The envelope recipient address does not necessarily equal the address
>>given in the From header field. The Delivered-To header, in contrast,
>>documents the envelope recipient.
>>
>>You are free to filter out emails where these two headers do not
>>match properly. However, you have to take care then of mailing lists
>>where likewise the To-field doesn't include your address.
>
>
> Is there any patch which will check equal those two fileds in header ?
>
> Pawel Rutkowski
>
>
The processing needs to be done during the final delivery stage. Since
You are using spamassasin configure rules to determine whether a mailing
is spam or ham during the SMTP session based on the Return-path: From or
envelope recipient and To fields.
You could also use black lists
www.openrbl.org to prevent certain IPs
from connecting (rblsmtpd)
Report the offenders to their ISP.
AK