handling spam

Discussion in 'Installation/Configuration' started by teves, Aug 13, 2007.

  1. teves

    teves Member


    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".
    #* ^X-Spam-Status: Yes

    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,
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. teves

    teves Member

    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
  4. falko

    falko Super Moderator ISPConfig Developer

    I'm not sure right now. I think the best is to try it. ;)

Share This Page