OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: smtpd_proxy_filter by size

From: Terry Carmen (terrycnysupport.com)
Date: Sun Dec 02 2007 - 11:40:17 CST


C. Vorwerk wrote:
>
> Before writing my own pipe filters, checking the size (and i don't
> know how to do this for the proxy filter), i would like to know
> whether there is an option i might use or someone who already set
> something like this up.
>
>
http://cnysupport.com/download/pfshu/

This should help. It tags the message with a SpamAssassin-style
X-ActualMessageSize=****** string, with each * indicating 1MB.

You could easily change the scaling factor (MB_PER_ASTERISK) if you need
something different.

Terry