You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Len Conrad <LC...@Go2France.com> on 2007/02/25 20:43:56 UTC

SA as postfix policy service?

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


Re: SA as postfix policy service?

Posted by Benny Pedersen <me...@junc.org>.
On Sun, February 25, 2007 20:43, Len Conrad wrote:
>
> Anybody got any links / how-to for setting up SA as postfix policy service?

nope properly not

> I want SA policy service to perform only envelope checks, not content scans.

why ?

postfix policy have nothing to do with spamassassin

-- 
This message was sent using 100% recycled spam mails.


Re: SA as postfix policy service?

Posted by Noel Jones <no...@gmail.com>.
On 2/25/07, Len Conrad <LC...@go2france.com> 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

Re: SA as postfix policy service?

Posted by Len Conrad <LC...@Go2France.com>.
>>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.

>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.

Len


Re: SA as postfix policy service?

Posted by Noel Jones <no...@gmail.com>.
On 2/25/07, Len Conrad <LC...@go2france.com> 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, you would need to fake
that information so SA could check it.
Seems like a lot of trouble.  Have you looked at http://www.policyd-weight.org/

-- 
Noel Jones