Matching on Subject: line

Ugo Bellavance ugob at CAMO-ROUTE.COM
Wed Sep 8 20:25:30 IST 2004


<x-flowed>
Jameel Akari wrote:

> I'm getting a request from my management to be able to reject outbound
> mail sent through MailScanner matching a certain string the in the
> Subject: field.  Ideally they'd like to bounce the message with a notice
> ( like "You aren't allowed to send that outside the company").
>
> I'm not sure exactly where to start - could add it as a SpamAssassin rule
> and have the message treated as _outbound_ spam (bad) or somehow get the
> Mailscanner AV/content scanner to do the work as though the message was
> infected with something.

You can use MCP to do that, or a special rule in spamassassin.

Mcp: http://www.sng.ecs.soton.ac.uk/mailscanner/install/mcp/

SA: http://wiki.apache.org/spamassassin/WritingRules

>
> Any hints?
>
>
> --
> #!/jameel/akari
> sleep 4800;
> make clean && make breakfast
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>



More information about the MailScanner mailing list