IMHO, preventing emails with differing from and sender values is contradictory to valid usage of email. You are better off rate-limiting, as was already suggested, and employing better mail content analysis through policy servers.
Ron Scott-Adams r...@tohuw.net "We are stuck with technology when what we really want is just stuff that works." (Douglas Adams) On Jun 6, 2013, at 10:37 , wie...@porcupine.org (Wietse Venema) wrote: > jayesh shinde: >> Hi , >> >> Is there any alternative , how to stop if spammer / virus infected >> machine start sending such emails. >> Due to this outlook's "On Behalf of" option , one of our end user >> created the noise. This option makes confusion , when the end >> recipient receive the emails and reply it. >> >> I came to know in exchange this can be control from server side. >> >> How the other experts are handling this kind of issue from server side. >> I am searching the option by which postfix will allow SMTP relay only >> if auth id + From: + Sender: are same. > > Rate limit your mail clients, so that they cannot send large amounts > of email when they become infected. Then, you have less cleaning > up to do. > > http://www.postfwd.org/ > http://www.policyd.org/ > > Wietse