Nope - Chris - it doesn't work... at least for me... I'm running freebsd, which does not allow a process to place an flock on /dev/null (or at least a non root one...
so delivery results in this error: flock() failed. status deferred. so on FreeBSD, the cat seems to be required... Should this be fixed? Seems kinda messy. to "|cat >/dev/null" (because it's a pipe, there is no lock attempted - right?) vs: to /dev/null which attempts an flock (thinks it's working with an mbox style file - a lock is needed to prevent corruption) m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Petersen Sent: Tuesday, January 13, 2004 1:43 PM To: [EMAIL PROTECTED] Subject: Re: [courier-users] deleting messages reviewed... > I'm dumping message by piping to cat and dumping it's output to /dev/null - > we can't deliver directly to it due to ownership issues - right? wouldn't it > make sense to have an exception to the security rule for /dev/null to avoid > having to shell and cat just to dump a message? What ownership issues? /dev/null is world-writable. I use "to /dev/null" in my .mailfilter all the time. Or am I misunderstanding what you're trying to do? -- Chris Petersen Programmer / Web Designer Silicon Mechanics: http://www.siliconmechanics.com/ Blade Servers: http://www.siliconmechanics.com/c292/blade-server.php 1U Servers: http://www.siliconmechanics.com/c272/1u-server.php ------------------------------------------------------- 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 ------------------------------------------------------- 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
