Ahh - ok - I was pondering ways of tracking the process - distinguishing pending from confirmed from actual delivery... think I've ot it worked out...
I understand what the codes mean to courier normally - I have special handling I want to implement - I can distinguish the two 99's (original message to pending, and confirmation message processed) by detecting the "confirm-" extension. The other case I need to recognize is the 0 - delivered case.... so I think I've got it. I'll add that case for failure - Thanks! m/ > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Tim Legant > Sent: Saturday, January 17, 2004 9:07 PM > To: [EMAIL PROTECTED] > Subject: Re: tmda exit code? > > > "Mitch (WebCob)" <[EMAIL PROTECTED]> writes: > > > Is there a list of exit codes for tmda-filter so I can take different > > actions? > > > > 0 = clear for delivery > > 99 = pending? > > 99 Doesn't necessarily mean pending. It means tmda-filter has > finished processing it successfully and that no further commands in > the dot-courier file should be executed. If dot-courier(5) doesn't > explain the meaning, then it should direct you to another man page > that does. 0 will also be documented there; it means success, but > *do* continue processing subsequent lines in the dot-courier file. > > > any others? > > tmda-filter can also return 75 (EX_TEMPFAIL). This means it has > encountered an error and can't continue, so it defers the message > (tells the MTA the message wasn't delivered so leave it in the queue > and to try again later). > > > Tim > > _____________________________________________ > tmda-users mailing list ([EMAIL PROTECTED]) > http://tmda.net/lists/listinfo/tmda-users > _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
