Hello, I have difficulties configuring the mail reception the way I want it to be (Suse 10.1 and ISPconfig 2.2.14). I'd like the mail to be virus/spamchecked when recieved (that does already work) and then sorted into a 'junk' mail folder in the recipients' mail account. As far as I have read from other posts and howtos, one could alter the spamassassin.rc in the /root/ispconfig/isp/conf/customized_templates folder. I have seen that the lines # All mail tagged as spam (eg. with a score higher than the set threshold) # is moved to "/dev/null". #:0: #* ^X-Spam-Status: Yes #/dev/null are responsible for deleting mails marked as spam (or in this case: to accept it, for the lines are commented out) I assume it would be possible to replace the /dev/null line by something else; but what would this be? For it's a general rule, there needs to be a variable that puts in the correct mail account name. How can I achieve that? And would it be an appropriate solution of my problem to solve it that way? Thank you, regards, Tom
Please try this: # All mail tagged as spam (eg. with a score higher than the set threshold) # is moved to "/dev/null". :0: * ^X-Spam-Status: Yes junk Here are some procmail recipes: http://userpages.umbc.edu/~ian/procmail.html#recipes
Hello Till, thank you for your reply! I had expected it to be more... complex... ;-) I have not tried it though, but I will do so today. Yet I have another small question about it: if it works the way you describe it, will the junk folder be created automatically if it does not exist? Thank you, regards, Tom