On Thu, Nov 21, 2002 at 12:30:44PM +0100, Denis Ducamp wrote:
> Another way is to ask fetchmail to use procmail directly (mda option).

For example:

  in $HOME/.fetchmailrc:

    set daemon      120

    poll pophost.my_domain.com protocol pop3
      username "my_account" password "my_password"
      mda "procmail -f %F /home/my_account/.procmailrc" fetchall no rewrite

  in $HOME/.procmailrc

    MAILDIR=$HOME/Mail
    DEFAULT=IN._mbox_

    :0fw
    | spamassassin

    :0:
    * ^X-Spam-Status: Yes
    IN.spam

This will deliver normail mail in $HOME/Mail/IN._mbox_ and spam in
$HOME/Mail/IN.spam.

Cheers,
-Ives
______________________________________________________________________
Ives Aerts                      Sony Visual Products Europe - Brussels
[EMAIL PROTECTED]                    http://www.vpe-b.sonycom.com
`Damien Hirst tends to use everyday objects such as a shark in
 formaldehyde.'                                (a radio 4 commentator)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to