[SC.LUG] Postfix

Geoff geoff at osbaldestin.net
Wed Mar 24 19:14:59 GMT 2004


Thanks for the reply, I think I have managed to answer this myself.
The instructions I was attempting to follow said add the following line 
to the bottom of  master.cf.
After further reading, it appears that I needed to replace the smtp line 
with the following:
filter  unix    -       n       n       -       -       pipe flags=Rq 
user=filter argv=/usr/local/anomy/filter.sh -f ${sender} -- ${recipient}
smtp    inet    n       -       n       -       -       smtpd -o 
content_filter=filter:
smtp      unix  -       -       n       -       -       smtp -o 
content_filter=filter:

This seems to be working. Though I still need to get the removal of 
attachments to an ftp location working correctly.


Geoff
Andy Roffe wrote:

> Geoff,
>
> Have you added a user & group called filter ?
> If yes, is the filter user a member of the filter group ?
> Whate are the permissions of the filter dir ?
>
> regards
> Andy
>
>
>
> Geoff Osbaldestin wrote:
>
>> Not going to be able to meet you tonight :(
>> But quick (hopefully) question for you.
>>
>> I am attempting to implement SpamAssassin | Anomy Sanitizer within
>> postfix, following (roughly) the details here:
>> http://advosys.ca/papers/postfix-filtering.html
>> I can test the filter.sh script ok, but when I sned through postfix, it
>> does not run the filter script.
>> I have added the filter to the bottom of my master.cf, but I am not 
>> sure.
>>
>> Don't drink to much
>>
>>
>> Geoff
>>
>> _______________________________________________
>> SC mailing list
>> SC at mailman.lug.org.uk
>> http://mailman.lug.org.uk/mailman/listinfo/sc
>>
>>  
>>
>
>
> _______________________________________________
> SC mailing list
> SC at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/sc
>




More information about the SC mailing list