On Thu, Aug 21, 2003 at 01:30:00PM +0300, Céline REDON wrote:

> *In Postfix , in /etc/postfix/master.cf
> the last line calls the filter spamc.sh 
> filter    unix  -      n        n      -        -       pipe
>     flags=Rq user=filter   argv=/var/spool/filter/spamc.sh -f ${sender}  --
> ${recipient}

You also need to have the -o content_filter=filter: in your master.cf file's
smtp line:

smtp      inet  n       -       n       -       -       smtpd -o 
content_filter=filter:dummy

The dummy isn't important... you can call it anything you want.

With that line the smtp portion of postfix actually passes the mail
to the filter.


-- 
(Mr.) Hannu Liljemark  |  Appelsiini Finland Oy  |  http://appelsiini.com


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to