OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: HOLD messages CC/BCCd to more than 10 recipients?

From: Jan P. Kessler (postfixjpkessler.info)
Date: Tue Sep 04 2007 - 06:00:20 CDT


Wietse Venema schrieb:
> micah milano:
>
>> I'm looking for a way to have postfix place messages on HOLD if they
>> are CC'd or BCC'd to more than 10 people. Some spammers have infected
>> a system I am working with and using it to send out messages to large
>> CC lists with spam contained therein. If I can HOLD these messages I
>> can weed out the spammers quickly. There are some legitimate uses for
>> this type of CC list, so I dont want to block it entirely.
>>
>
> Look for servers that implement the policy protocol as described in
> http://www.postfix.org/SMTPD_POLICY_README.html.
>
> Wietse
>

You could try postfwd http://www.postfwd.org/ and place a rule like:

    recipient_count=10 ; action=HOLD

Regards, Jan