12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How to send message t...
FromSent OnAttachments
Vladimir DvorakMar 4, 2007 1:40 pm 
Tony EarnshawMar 4, 2007 2:07 pm 
Sam VarshavchikMar 4, 2007 2:39 pm 
moussMar 4, 2007 3:39 pm 
Vladimir DvorakMar 5, 2007 5:35 am 
J.Mar 5, 2007 8:23 am 
J.Mar 5, 2007 10:14 am 
moussMar 5, 2007 2:56 pm 
moussMar 5, 2007 3:04 pm 
Vladimir DvorakMar 7, 2007 3:05 pm 
moussMar 7, 2007 3:20 pm 
Vladimir DvorakMar 7, 2007 3:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] How to send message to another accountActions...
From:Tony Earnshaw (ton@hetnet.nl)
Date:Mar 4, 2007 2:07:40 pm
List:net.sourceforge.lists.courier-maildrop

Vladimir Dvorak wrote, on 04. mar 2007 22:40:

i got following request: The mailserver checks all incoming messages against viruses (Clamav) and against spam (SpamAssassin). If one of the content filtering mechanisms (Clamav, SpamAssassin) detect malicious code in message, resend such message to special mailbox ju@domain.com.

My requisities are: Postfix + Courier-Imap + SpamAssassin + Clamav + Maildrop + MySQL.

I have following perplexity: I based on SpamAssassin results (X-Spam-Flag: Yes) I need to inject emails to special maildir (/data/mail/ju@domain.com).

I found this very difficult. I am able to put message into some folder in scope of recipient's maildir (maildrop -u ${recipient} ), but cannot inject such message (with X-Spam-Flag: Yes) into another user's account.

You could, if you were using a global user (a single UID:GID for all mail directories) and a virtual mailbox setup, but then you might run into other problems - I don't know.

By far the best solution in your case, using Postfix, is to use amavisd-new as proxy/content filter and have that quarantine both spam and virus; that's what it's designed for.

--Tonni