Kris Deugau wrote:
Stephane Parenton wrote:
A mail server, serving several domains : domain_a.com, domain_b.com,
domain_c.com etc...
for the moment, domain_a and domain_b are filtered, but if everything
runs ok, all the domains should be filtered....
When a mail arrives, it's controled, scored, and if it's spam, it
appears as an attachement.
What I want is when a mail arrives, it's scored, and if it's spam,
it's not put in the user's mailbox but on a single box that will
receive only spam, whatever domain it's adressed to.
Since you're using procmail, you may be able to create a global procmailrc file (/etc/procmailrc) something like this:
# File spam in the global spambox: :0: * ^X-Spam-Flag: YES /var/spool/mail/spambox
Hi Kris,
your mail made me read more carefully the man procmail file, and discovered that /etc/procmailrc was quite important ;-)... it also made me realize that procmail was not completely used in my config.... My postfix setup is quite ok, and i decided to setup SA and procmail... so spamassassin works ok since it tags the headers, but i guess that procmail doesn't do the whole job i'm asking, for the mails are still in my own mailbox, and not in a separate one.... I'll go back to my manual readings.... ;-)
thanks a lot for your answer
Regards Stephane