"Procmail  should be invoked automatically over the .forward file mecha-
       nism as soon as mail arrives."

from man procmail.

I'm set-up, so fetchmail grabs my email from the POP, passes it to
postfix, which handles local deliveries, which sends it to procmail,
which processes the mail.  

I don't use Spam Assassin, procmail works fine by itself so far, but
I'd guess you're downloading your mail through Kmail, so it never gets
sent to postfix, which would pipe it to procmail.

If you want to keep using your set-up, maybe kmail has a couple
of options somewhere where you can a execute a command when mail
arrives, or add procmail to your send command?

More reading on procmail: http://www.ii.com/internet/robots/procmail/qs/



On Sat, Apr 03, 2004, Chris wrote:
> 
> Yes, I'm a procmail newbie trying to setup procmail to forward my spam to
> Earthlinks junkmail address.  I've setup a $HOME .procmailrc file (below)
> 
> SHELL=/bin/sh
> 
> PATH=$HOME/bin:/usr/bin:/usr/ucb:/bin:/usr/local/bin:.
> MAILDIR=$HOME/Mail    # You'd better make sure it exists
> # DEFAULT=$MAILDIR/mbox
> LOGFILE=$MAILDIR/from
> # LOCKFILE=$HOME/.lockmail
> 
> :0c
> *^X-Spam-Status: Yes
> |/usr/bin/reporter.pl
> 
> :0a
> Spam/
> 
> The "Spam" folder is in maildir format in $HOME/Mail/Spam.  I've setup a
> $HOME .forward file
> 
> "|IFS=' ' && p=/usr/bin/procmail && test -f $p && exec $p -Yf- || exit 75 
> #chris"
> 
> I've read the FAQ, printed and gone through the man pages, my question is
> how is procmail started.  I'm running Kmail as my mailer with all mail
> filtered through SA.  If procmail is started from the CLI, the process is
> shown as running, but I'm sure that this isn't the correct way to start it.
> Any assistance would be greatly appreciated.  My spam folder is in maildir 
> format, do I need to tell the procmailrc file that my mail dir is 
> $HOME/Mail/Spam/cur before it will forward?
> 
> Appreciate any help.
> 
> Thanks
> Chris
> 
> -- 
>   Regards
>   Chris
>   A 100% Microsoft free computer
>   Registered Linux User 283774 http://counter.li.org
>   3:41pm  up 4 days, 21:52,  5 users,  load average: 0.98, 1.68, 1.99
> 
> 

> ____________________________________________________
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
> Join the Club : http://www.mandrakeclub.com
> ____________________________________________________


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to