Thus spake Jeff Potter on Fri, Dec 17, 2004 at 09:24:05AM CST > > Hi All, > > I'm wondering if there's any way that Courier can do this: > > 1. Receive a message on SMTP > 2. After getting ".<CR><LF>", but before responding "250 Ok"... > 3. Attempt to deliver the mail: if there are delivery instructions in a > .courier file, run them. > 4. If one of the delivery instructions generates a hard error, on the > SMPT layer respond with "5xx Unable to deliver message, local delivery > instructions failed." > > I know that Courier can check if dash-extension addresses are existent > if the homedir is o+rx, but what I'm hoping is that this can be > extended to actually *running* the users delivery instructions so that > any DSNs that do get generated, get generated out the SMTP layer so > that invalid from addresses don't cause double bounces to my local > postmaster account.
I may be wrong about this, but I imagine it wouldn't be at all easy to do. By the time instructions in a user-space .courier file are processed, I would assume the message has already been accepted for delivery, and the best that can be done is to issue a DSN and email it back to the originating system. -- Lindsay Haisley | "Fighting against human | PGP public key FMP Computer Services | creativity is like | available at 512-259-1190 | trying to eradicate | <http://pubkeys.fmp.com> http://www.fmp.com | dandelions" | | (Pamela Jones) | ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
