On Tue, 26 Mar 2002, Morrison, Trevor (Trevor) wrote:

> HI,
>
> I have successfully setup spamassassin to work on my PC running RH 7.1
> with a 2.4.17 modular kernel running Sendmail-8.11.  The program is run
> out of my home directory where I installed it.  My question is I have a
> .forward file to send my mail to work and I find that the mail is sent
> with out being run through the spamassassin assassin program. Procmail
> is my default delivery program. How can I modify spamassassin or another
> program to make sure all mail addressed to me is run through whether it
> is forwarded or not?  Thank you.
>
> Trevor Morrison

Any mail bound for an account with a .forward on it will never hit
Procmail, let alone SpamAssassin because no delivery will ever occur.

You will need to use a recipe similar to the following:

:0fw
| /usr/local/bin/spamc -d (hostname here)

This is what I use for my account at work. (Removed hostname for obvious
reasons.)

Then you follow it with any forwarding recipes or whatever.  Imagination's
the limit.

In short, you cannot use .forward and expect things to work with Procmail.
It's an all-or-nothing thing.

--Ian.


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to