20 messages in net.sourceforge.lists.courier-usersRE: [courier-users] deleting messages...
FromSent OnAttachments
Mitch (WebCob)Jan 13, 2004 11:47 am 
Chris PetersenJan 13, 2004 1:43 pm 
Mitch (WebCob)Jan 13, 2004 2:09 pm 
Mitch (WebCob)Jan 13, 2004 11:38 pm 
Jeff JansenJan 14, 2004 1:24 am 
Mitch (WebCob)Jan 14, 2004 1:51 am 
Jon NelsonJan 14, 2004 5:38 am 
Troy BenjegerdesJan 14, 2004 8:24 am 
Jon NelsonJan 14, 2004 8:32 am 
Mitch (WebCob)Jan 14, 2004 11:29 am 
Jon NelsonJan 14, 2004 12:19 pm 
Mitch (WebCob)Jan 14, 2004 1:11 pm 
Jon NelsonJan 14, 2004 1:18 pm 
Mitch (WebCob)Jan 14, 2004 1:43 pm 
Jon NelsonJan 14, 2004 2:05 pm 
Mitch (WebCob)Jan 14, 2004 2:42 pm 
Sam VarshavchikJan 14, 2004 3:23 pm 
Mitch (WebCob)Jan 14, 2004 3:53 pm 
Jon NelsonJan 14, 2004 4:13 pm 
Jon NelsonJan 14, 2004 4:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] deleting messages reviewed...Actions...
From:Jon Nelson (jnel@jamponi.net)
Date:Jan 14, 2004 5:38:38 am
List:net.sourceforge.lists.courier-users

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.