yes I have added it today , but it doesnot change anything
here is exactly what I have ....

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (50)
# ==========================================================================
#smtp     inet  n       -       y       -       -       smtpd
smtps     inet  n       -       y       -       -       smtpd -o
smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o co
ntent_filter=filter:dummy
submission inet n       -       y       -       -       smtpd -o
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
pickup    fifo  n       n       y       60      1       pickup
cleanup   unix  -       -       y       -       0       cleanup
qmgr      fifo  n       -       y       300     1       qmgr
#qmgr     fifo  n       -       y       300     1       nqmgr
tlsmgr    fifo  -       -       y       300     1       tlsmgr
rewrite   unix  -       -       y       -       -       trivial-rewrite
bounce    unix  -       -       y       -       0       bounce
defer     unix  -       -       y       -       0       bounce
flush     unix  -       -       y       1000?   0       flush
smtp      unix  -       -       y       -       -       smtp
showq     unix  n       -       y       -       -       showq
error     unix  -       -       y       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
cyrus     unix  -       n       n       -       -       pipe
    flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
    flags=F user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail
($recipient)
ifmail    unix  -       n       n       -       -       pipe
    flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
    flags=F. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
filter    unix  -      n        n      -        -       pipe
    flags=Rq user=filter   argv=/var/spool/filter/spamc.sh -f ${sender}  --
${recipient}



-----Original Message-----
From: Hannu Liljemark
To: [EMAIL PROTECTED]
Sent: 21/08/03 12:41
Subject: Re: [SAtalk] Newbie Spamd/Spamc

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


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