On 2/25/07, Len Conrad <[EMAIL PROTECTED]> wrote:

>>Anybody got any links / how-to for setting up SA as postfix policy service?
>>
>>I want SA policy service to perform only envelope checks, not content scans.
>>
>>thanks
>>Len
>
>Since the actual headers are not available

headers are DATA/contetn, aren't in the envelope data passed to
policy service, so I'm not looking to play with them at that point.

>you would need to fake
>that information so SA could check it.

I will turn off ALL DATA/content checking in SA.


What I was trying to imply is that SA is designed to check an email
message.  If you want SA to check only envelope info, you will need to
use the envelope info to simulate headers and an empty body, then have
SA process that simulated message.  Modifying SA to check envelope
info as provided to a postfix policy server is likely not a viable
option, so a shim program is needed.  This might not be terribly
complicated, but you'll have to write your own shim.

Available alternatives include using one of the SA-aware milters with
postfix 2.4 or using amavisd-new+SA as a postfix smtpd_proxy_filter
(not officially supported as a proxy, but widely reported to work).
You could set unwanted/unneeded SA rules to score 0 to disable them.

>Seems like a lot of trouble.  Have you looked at
>http://www.policyd-weight.org/

I run it, is obviously a better starting point, but I can't get
anybody to modify it to my specs.

So what exactly are you trying to do?

--
Noel Jones

Reply via email to