Am 19.07.2012 10:23, schrieb Nalinda Herath:
> 
> In my current setup, server will not discard any mail even though they
> are tagged as SPAM. all the spam mails are routed to the junk folder's
> of each user. According to our policy, we cannot discard any mail, and
> users are allowed to check whether any mail has been accidentally tagged
> as SPAM.
> 
> We simply BCC the emails which are received to the server by setting
> always_bcc = <email address>
> 
> I need some workaround to prevent archiving mails tagged as spam by
> Spamassassin.
> 
> Regards,
> Nalinda


as an option, archive spam tagged mail as usual
filter tagged spam mails in archive mailbox in junk folder with i.e
sieve as usual

delete per cron tagged spam mail in the archive mailbox junk folder
after X days

i with dovecot

http://wiki2.dovecot.org/Plugins/Expire

> 
> 
> 
> On Wed, Jul 18, 2012 at 10:22 PM, Noel Jones <njo...@megan.vbhcs.org
> <mailto:njo...@megan.vbhcs.org>> wrote:
> 
>     On 7/18/2012 11:22 AM, Nalinda Herath wrote:
>     > Hi all,
>     >
>     > Recently I have integrated spmassassin to my existing postfix
>     > system. But now I need to tune  my archiving settings in postfix to
>     > prevent from archiving mails tagged as spam.
>     >
>     > It will be really helpful If someone can help me on this. Thanks.
>     >
>     > Regards,
>     > Nalinda
>     >
>     > --
>     > Regards,
>     > Nalinda
>     >
>     >
> 
> 
>     General procedure -- apply anti-spam and anti-virus before the
>     archiving procedure.
> 
>     One way to do this is to run spamassassin in a pre-queue
>     smtpd_proxy_filter or milter so only clean mail enters postfix.  Or
>     with a traditional postfix after queue content_filter, do your
>     archiving in the after-filter postfix instance.
> 
>     If you need a more specific answer, you'll need to share full
>     details of your postfix setup, your archiving procedure, and how
>     you've integrated spamassassin.
>     http://www.postfix.org/DEBUG_README.html#mail
> 
> 
>       -- Noel Jones
> 
> 
> 
> 
> -- 
> Regards,
> Nalinda
> 
> 


-- 
Best Regards
MfG Robert Schetterer


Reply via email to