This has been bothering me for days I just can't figure it out.
I have fetchmail which gets mail for all accounts and puts it in the right /home/[user] folder. It also goes through spamassassin to tag it for spam, emails that are spam are put [SPAM] in the title.
I also setted up squirrelmail on the server so I can use webmail and manage my mail that way on the local server, sort of like gmail, but even more control over mail, spamwise and what not.
My problem is, I want all the mail labeled as spam to go in the respectful user's folder.
So I tried using 100's of different procmail recepies (since everyone seems to give different ways of doing it) but none will work.
The problem is that once mail goes through spamassassin, the rest of the procmail filters are compleltly ingored.
See this for example:
Even this, won't work. This should send all mail to the spam folder of that account (obviously not what I want, but it's a simple test) and even this won't work. If I comment out the spamassassin lines, then it works.
What's up with this? Is there a way to fix this? Thanks. This has been making me go insane for days so I hope someone can help. No other forums I posted at so far can figure it out.
I have fetchmail which gets mail for all accounts and puts it in the right /home/[user] folder. It also goes through spamassassin to tag it for spam, emails that are spam are put [SPAM] in the title.
I also setted up squirrelmail on the server so I can use webmail and manage my mail that way on the local server, sort of like gmail, but even more control over mail, spamwise and what not.
My problem is, I want all the mail labeled as spam to go in the respectful user's folder.
So I tried using 100's of different procmail recepies (since everyone seems to give different ways of doing it) but none will work.
The problem is that once mail goes through spamassassin, the rest of the procmail filters are compleltly ingored.
See this for example:
Code:
:0 fw
| /usr/bin/spamassassin
:0:
/home/email_redsquirrel/spam
Even this, won't work. This should send all mail to the spam folder of that account (obviously not what I want, but it's a simple test) and even this won't work. If I comment out the spamassassin lines, then it works.
What's up with this? Is there a way to fix this? Thanks. This has been making me go insane for days so I hope someone can help. No other forums I posted at so far can figure it out.
