At 03:00 AM 7/5/2005, Bart Verwilst wrote:
Hello,

I already have reject_non_fqdn_sender in my main.cf.. Problem is, it seems to happen with regular mail too... Sales dept. gets mail from @dell.com for example, and the "dell.com" is substituted by the domain name of the antispam server..

Postfix version 2.1 and earlier will append "@$myorigin" to an unqualified From: header. Carefully checking your logs and the mail in question will tell you if this is what is happening. The thing to look for is the envelope sender in your logs and the return-path: header use a valid domain other than your own, and the From: header contains your domain name.

While unqualified From: headers in internet mail are invalid and often seen in spam, frequently legit mail lists and notifications are sent with misconfigured software using an unqualified From: header, so you can't just reject these.

Postfix 2.2 and newer has features to either suppress rewriting of headers or to use "@domain.invalid" to keep other software from rewriting the header. If you have an earlier version of postfix and can't upgrade, there are some header_checks rules that will cause postfix to replace the From: header with the envelope sender address; not perfect, but causes less confusion.
http://www.postfix.org/ADDRESS_REWRITING_README.html#william

--
Noel Jones


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to