> -----Original Message----- > [mailto:[EMAIL PROTECTED] Behalf Of Jon > On Wed, 14 Jan 2004, Mitch \(WebCob\) wrote: > > > Makes sense to me... thanks for NOT staying out. > > > > I don't like special case code any more than the next guy, but > when I think > > the only alternative is running everything through cat!?!? > > I guess I don't understand. What problem are you trying to solve? > Why do you think you need to run everything through cat?
No - it's ok - you solved that problem - I was thinking special case code was better than a cat - you identified the real solution. > > Well that's annoying - and not that it would really be that special case > > nessecarily - just generally speaking if you are writing to a > socket stream > > or character device don't lock cause you can't. > > > > that is pretty general, and allows delivery to daemons (like > spamd) without > > having to call spamc first. > > > > I think that would be "a good thing". > > > > But not a special hack for "/dev/null" - you are right there. > > > > Thoughts on this other idea? > > What other idea? I'm lost. I was only saying that the ONE* TRUE PROPER > way to say "I do not want this message delivered." is to set EXITCODE to > 0 and then issue 'exit' (assuming the environment you are running in is > maildrop). You were against a "special case" patch for dev-null - which I agree is not needed now that I know the "one true way"(tm) What I was pondering was a general patch which would make communicating with filter daemons (listening on file sockets or char devices) possible - and that would be to skip the locking in these cases where it has no point - it would have the side effect of allowing /dev/null to work, but that's not my point here... It would allow direct delivery to things like spamd without a stub spamc program to manage the socket. That's the idea I was pondering. m/ ------------------------------------------------------- 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
