5 messages in net.sourceforge.lists.courier-users[courier-users] Re: multiline responses?
FromSent OnAttachments
rica...@americasnet.comFeb 20, 2003 8:34 pm 
Brian CandlerFeb 21, 2003 6:02 am 
rica...@americasnet.comFeb 21, 2003 6:44 am 
rica...@americasnet.comFeb 21, 2003 7:12 am 
Sam VarshavchikFeb 21, 2003 2:53 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:[courier-users] Re: multiline responses?Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Feb 21, 2003 2:53:40 pm
List:net.sourceforge.lists.courier-users

rica@americasnet.com writes:

Thank you folks that kindly responded to my question.

I had an additional question... The control file may have multiple 'r' lines, meaning multiple local recipients. If I'm looping through the list of recipients and delivery is ok for some but not for others, how can that be done?

I mean, if I spit out a 500 error, won't that disallow delivery for ALL recipients? Is it possible to selectively allow some recipients and disallow others?

If you spit out a 500 error the sender will assume that all addresses got rejected, no matter what you end up doing with the message itself. That's how SMTP works.

There is a way to do this with local accounts, using the localmailfilter API (which is a bit difficult to get right, and uses a completely different filtering interface). But this uses a slightly modified SMTP result format that only Courier properly understands, and reports on.

See http://www.courier-mta.org/draft-varshavchik-exdata-smtpext.txt for a brief writeup. I identified this design flaw with SMTP over three years ago. I wrote it up and floated this idea, but my impression was that nobody else really cared about it, and the effort to push this through would simply be not worth the agita.