what do you mean spam/junk folder? in the mail client? that would be a configuration of your server that handles the mailboxes (or the mail client itself), not pmg.
if you mean the spam quarantine, just create a rule with a what object that has the desired spamscore and a 'quarantine' action
Find the header your destination mailserver/client uses to identify spam prior to moving it to a junk mail folder.
In PMG create/modify existing rule to add that header at the desired spam level.
I changed the existing quarantine rule to trigger at spam level 5 and used another rule to add the necessary header at spam level 3.
In my case, the downstream mail server looks for 'X-Spam-Status: Yes'. So that's the header my rule inserts:
Thank you very much keeka and dcsapak. The issue has been fixed. I have created the rules and mails with spam score 3 are landing into junk
@dcsapak I have few questions, can you please answer those ?
How to create a custom rules using GUI ?
I have created a custom rule for testing if "subject: test" then increase the spam score to 2 and land emails in junk mail. But i have created this rule in /etc/mail/spamassian/custom.cf then it has worked fine
How to create a custom rules using GUI ?
I have created a custom rule for testing if "subject: test" then increase the spam score to 2 and land emails in junk mail. But i have created this rule in /etc/mail/spamassian/custom.cf then it has worked fine
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.