can we block and unblock using subject

Questions and answers about how to do stuff
Post Reply
suresh
Posts: 15
Joined: 02 Oct 2013 17:01

can we block and unblock using subject

Post by suresh »

are we able to block and unblock using subject?

are we able to release multiple email at the same time?
buzzzo
Posts: 94
Joined: 03 Feb 2014 09:09

Re: can we block and unblock using subject

Post by buzzzo »

1) block subject: yes, using mcp
2) yes, see messages operations on webgui
suresh
Posts: 15
Joined: 02 Oct 2013 17:01

Re: can we block and unblock using subject

Post by suresh »

how do i use MCP?


thank you for helping me out.
suresh
Posts: 15
Joined: 02 Oct 2013 17:01

Re: can we block and unblock using subject

Post by suresh »

is MCP more for blocking emails?

if i want to unblock based on subject, what do you recommand?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: can we block and unblock using subject

Post by shawniverson »

You could use spamassassin and create a custom rule to assign a strong negative value to an email.

https://wiki.apache.org/spamassassin/WritingRules
suresh
Posts: 15
Joined: 02 Oct 2013 17:01

Re: can we block and unblock using subject

Post by suresh »

Thank you that worked.

file i worked on is /etc/mail/spamassassin/local.cf

and typed

header ALLOWED_RULE_SUBJECT Subject =~ /\btest\b/i
score ALLOWED_RULE__SUBJECT -10

then restarted the MailScanner service.

it seems to be working for me.
Post Reply