Lindsay Haisley writes:

On Tue, 2007-09-11 at 20:09 -0400, Sam Varshavchik wrote:
What the exit codes of maildrop in delivery mode do depends entirely on what whoever invokes maildrop does. What Courier does, in response to various exit codes returned by a mail delivery agent, is summarized in dot-courier(5), as you've noted.

Maildrop is just an external program invoked from a .courier file, and is no different than any other external program invoked from a .courier file.

If maildrop is is used as the delivery agent is the situation any
dfferent?  In this case, it's specified as the DEFAULTDELIVERY program
in courierd, rather than being invoked in a .courier file.  What error
codes are recognized by Courier in this context?

Exactly same as if it was invoked from a .courier file.

Just pretend that the contents of DEFAULTDELIVERY are the contents of a .courier file for accounts that do not have a real one.

You can put anything in DEFAULTDELIVERY that you can put in a .courier file, and it gets processed in exactly the same manner. If you actually use the shell script syntax to set DEFAULTDELIVERY to some string that contains newlines, that would get processed exactly as a .courier file with multiple lines in it:

DEFAULTDELIVERY="| /usr/bin/maildrop
./Maildir"

that gets processed identically to a .courier file that contains:

| /usr/bin/maildrop
./Maildir


Attachment: pgp7lQW9QwjOr.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to