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:Erik Bourget (er@midmaine.com)
Date:Oct 1, 2003 10:37:44 am
List:net.sourceforge.lists.courier-maildrop

Generic Player <gene@users.sourceforge.net> writes:

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.

Sure, have maildrop return with exit code 100. Your mail transport agent should bounce the message back to the sender.

Is there a way to generate a 550: this is spam or something from maildrop?

Nope, that's the SMTP server's job.

As an aside -

DON'T DO THIS. Returning bounces to a generated mail will likely make more messages arrive, which will in turn be bounced, etc. You'll get buried. It's far better to just drop the messages. Spamassassin can be told to drop them (or mark them for dropping) in its configuration files.

- Erik