On Wed, Jan 14, 2004 at 07:38:08AM -0600, Jon Nelson wrote:
> On Wed, 14 Jan 2004, Mitch \(WebCob\) wrote:
> 
> > Right - I think I remember you mentioning that before... question for Sam I
> > guess is which way is the most efficient?
> >
> > Or is there another way we haven't thought of...
> >
> > I wonder if the flock can't be skipped in the case of a /dev/null delivery -
> > that would make this simple and "to /dev/null" would work...
> 
> OK, I've been staying out of this discussion, but adding MORE
> special-case code to ANY program for something like this is just plain
> stupid in my opinion.  It *needlessly* complicates the code, and
> "special cases" are just that -- cases that differ from the norm.
> 
> Please, if you want to throw away messages (and you are using maildrop),
> simply set EXITCODE to 0 and exit.  Done.  *No* more programs are
> invoked, *no* more I/O need occur, *no* more system resources consumed,
> *no* more stupid special-case in the code.
> 
> Note: (exit)codes other than 0 may also be appropriate here.
> 0 works, I use it.

This should probably be documented explicitly in the courier and
maildrop man pages (and maildropex). I've had several users ask how to
send mail to the bit-bucket, and an example might help resolve
confusion.


-- 
--------------------------------------------------------------------------
Troy Benjegerdes                'da hozer'                [EMAIL PROTECTED]   

Somone asked my why I work on this free (http://www.fsf.org/philosophy/)
software stuff and not get a real job. Charles Shultz had the best answer:

"Why do musicians compose symphonies and poets write poems? They do it
because life wouldn't have any meaning for them if they didn't. That's why
I draw cartoons. It's my life." -- Charles Shultz


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to