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.
------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
