Deliver SPAM too IMAP folder

Martin.Hepworth martinh at solidstatelogic.com
Mon Feb 5 16:01:57 CET 2007


This is down to the MDA and MTA......if you're using MS-Exch you should
be able to use that to redirect as required...

--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info [mailto:mailscanner-
> bounces at lists.mailscanner.info] On Behalf Of Alex Neuman van der Hans
> Sent: 05 February 2007 14:54
> To: MailScanner discussion
> Subject: Re: Deliver SPAM too IMAP folder
>
>
>
> uxbod wrote:
> Okay, the rationale behind this thought is that I have seen some
> commercial AV solutions that deliver SPAM too a specific Exchange
folder
> within a users account.  Therefore, would like to be able to do this
> using OSS and deliver to a IMAP folder.
>
>
> - Well, you can do that with procmail. Since MS will add a header that
> some clients (like Thunderbird) respect, you can filter on that and
move
> messages to a folder. My setup is:
>
> /home/alex/.procmailrc :
>
> :0:
> * ^X-Spam-Status: Yes
> mail/Junk
>
> That way all junk mail goes there. Substitute mail/Junk for something
> else (like a communal spam folder, for example).
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!




**********************************************************************
Confidentiality : This e-mail and any attachments are intended for the 
addressee only and may be confidential. If they come to you in error 
you must take no action based on them, nor must you copy or show them 
to anyone. Please advise the sender by replying to this e-mail 
immediately and then delete the original from your computer.

Opinion : Any opinions expressed in this e-mail are entirely those of 
the author and unless specifically stated to the contrary, are not 
necessarily those of the author's employer.

Security Warning : Internet e-mail is not necessarily a secure 
communications medium and can be subject to data corruption. We advise 
that you consider this fact when e-mailing us. 

Viruses : We have taken steps to ensure that this e-mail and any 
attachments are free from known viruses but in keeping with good 
computing practice, you should ensure that they are virus free.

Red Lion 49 Ltd T/A Solid State Logic
Registered as a limited company in England and Wales 
(Company No:5362730)
Registered Office: 25 Spring Hill Road, Begbroke, Oxford OX5 1RU, 
United Kingdom
**********************************************************************



More information about the MailScanner mailing list