> It was an ambiguity in Qmail's documentation.  This is what I looked at:
    >      ...      Currently 64, 65, 70, 76, 77, 78, and 112 are  con-
    >      sidered hard errors, and all other codes are considered soft
    >      errors, but command should avoid relying on this.
    > The exit code 100 is mentioned earlier, but not here.

Uggh. Yup, That's Dan's style: mention everything exactly once, and only
once. (I'm including the relevant snippet from qmail's man pages below for
others to see.)

Granted that courier isn't qmail, one of its big attractions is it's
compatability. Would it make sense to match the 100 exit code as hard in
future releases of courier? (add case 100 at line 513 of localmail.c?)


-jeff




% man qmail-command
     ...
     command's exit codes are interpreted as  follows:   0  means
     that the delivery was successful; 99 means that the delivery
     was successful,  but  that  qmail-local  should  ignore  all
     further  delivery  instructions; 100 means that the delivery
     failed permanently (hard error); 111 means that the delivery
     failed  but  should  be  tried again in a little while (soft
     error).  Currently 64, 65, 70, 76, 77, 78, and 112 are  con-
     sidered hard errors, and all other codes are considered soft
     errors, but command should avoid relying on this.






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to