Hi,
I am using Spamassassin with Sendmail and procmail;
The /etc/procmailrc is:
--------------------------------------------
DROPPRIVS=yes
:0fw
* < 256000 | /usr/bin/spamc -f :0
* ^X-Spam-Status: Yes $HOME/spam -------------------------------------------- Mail delivery to system local mailboxes is placed
in $HOME/spam if marked with '[SPAM]' in the header, which
is fine.
The problem!:- I have a number of external accounts
in /etc/aliases and all spam mail is forwarded to them without the [SPAM] in the
header.
I believe this is because sendmail relays to
external accounts without actually passing mail through procmail and
spamassassin...
What I am trying to achieve is that all [SPAM] mail
is delivered locally to $HOME/spam and not forwarded to any external accounts
(from /etc/aliases).
...and only non-spam mail is delivered to internal
and external accounts.
Your help is muchly appreciated.
Cheers,
Evgeni Vachkov
|
- Spamassassin and external forwarding from /etc/aliases Evgeni Vachkov