Jozsef Kadlecsik wrote:
Hi,

What would be the best way to identify email which is forwarded to
external addresses by .forward, procmail or sieve rules?

As you know the maildomains you are accepting from external, just tag any mail from internal to external originating from diffent Envelope-From/Header-From as "forwarded".

Add a specific header (e.g. X-Delivered-To) to the incoming email (it
could be deleted, but let's ignore the possibility) and check it in the
ougoing ones? What are the possibilities for false positives and
negatives? Checking the Received lines looks harder and not better
approach.

If you have users sending with diffenret domains than you actually use, they may also taggeg as forwarded.

Regards
Aban

--
 Aban Dokht                                   aban.do...@abando.de
------------------------------------------------------------------

Reply via email to