12 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] bouncing spam with ma...
FromSent OnAttachments
Generic PlayerOct 1, 2003 10:14 am 
Michael T. BabcockOct 1, 2003 10:30 am 
Erik BourgetOct 1, 2003 10:37 am 
Petri RiihikallioOct 1, 2003 10:46 am 
Rolan YangOct 1, 2003 11:18 am 
Júlio Espada OlivaresOct 1, 2003 11:46 am 
Generic PlayerOct 1, 2003 2:55 pm 
Eric SOct 1, 2003 4:16 pm 
Alain NAKACHEOct 2, 2003 1:14 am 
Chris BreuOct 2, 2003 6:46 am 
Eric SOct 2, 2003 9:31 am 
Michael T. BabcockOct 6, 2003 5:44 am 
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] bouncing spam with maildropActions...
From:Generic Player (su@my-balls.com)
Date:Oct 1, 2003 2:55:45 pm
List:net.sourceforge.lists.courier-maildrop

On Wed, Oct 01, 2003 at 08:46:52PM +0300, Petri Riihikallio wrote:

I have maildrop setup with a simple config to check mail using spamassassin. What I haven't been able to figure out is how I can send back an error to the sender if spamassassin's says the mail is spam, instead of delivering the mail. Is there a way to generate a 550: this is spam or something from maildrop?

Don't do this.

At the time maildrop is handling the mail it has already been received by your mail system (MTA). There is no connection to the original sender. Maildrop could only use the From: Sender: and Received headers as bounce addresses and they are usually forged. In the worst case you would be harassing somebody as innocent as you yourself!

You have two choices: 1) Integrate the spamcheck to your MTA. Then the MTA could refuse the mail at the time of reception. I know Postfix can do this, probably most others as well. 2) Let maildrop tag, archive or delete the mail. Do not try to send it back.

Mail that is falsely reported as spam needs to be bounced back to the sender so they know to resend. Just accepting it and deleting it isn't acceptable. I wanted to use spamassassin-milter, but its not very stable, so I am stuck calling spamassassin through maildrop. I don't know what other options I really have to avoid sending bounces to forged from: addresses.

Adam