-   Linux - Software (
-   -   How to forward email when marked as SPAM (

matt1982 09-11-2006 09:24 AM

How to forward email when marked as SPAM
hey guys,

i'm using exim as my mail server and spamassasin as the spam filter.

Currently my spamassasin is setup to mark the "junk" mail with **** SPAM **** in the subject.

What I want to do is have spamassasin forward the spam emails to a different email so the user doesn't see the actual spam mail.

how do I go abouts this...?

thanks ahead guys.

ramram29 09-11-2006 03:58 PM

You need to use a mail filtering program such as procmail or sieve. I prefer sieve because it is faster and simpler but in only works using cyrus-imap server as far as I know. procmail is more popular and runs on any imap/pop server; you do loose speed with procmail, especially when you have a very busy server, but then you can always scale by using multiple servers.

All times are GMT -5. The time now is 11:54 PM.