How to log supervised tcpserver?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am currently running my listener like supervise dir tcpserver ... 25 rblsmtpd qmail-smtpd & I would like to log failed RBL tests; I though I would just add 2&>1 | accustamp | setuser qmaill cyclog ... before the final '&' but it seemed to log nothing. What is the right way to achieve that? (I would rather stay away from syslog, and supervise is too good to be abandoned.) Thanks -BEGIN PGP SIGNATURE- Version: PGP 6.0.2 -- QDPGP 2.60 Comment: http://community.wow.net/grt/qdpgp.html iQA/AwUBN0w/aFMwP8g7qbw/EQIWZACgx6LfUZjCmHzrCHMJaTo5QNwfV8cAoPKQ kHE9RPkuK65vFSst791XSIL+ =l16k -END PGP SIGNATURE- -- Petr Novotny, ANTEK CS [EMAIL PROTECTED] http://www.antek.cz PGP key ID: 0x3BA9BC3F -- Don't you know there ain't no devil there's just God when he's drunk. [Tom Waits]
Re: How to log supervised tcpserver?
On Wed, May 26, 1999 at 07:37:29PM +0100, Petr Novotny wrote: > Hi, > > I am currently running my listener like > supervise dir tcpserver ... 25 rblsmtpd qmail-smtpd & > > I would like to log failed RBL tests; I though I would just add > 2&>1 | accustamp | setuser qmaill cyclog ... > before the final '&' but it seemed to log nothing. If it's not a typo, the above has a mistake. The shell redirection for stderr should be tcpserver qmail-smtpd 2>&1 | accustamp | setuser qmaill cyclog . You have instead 2&>1, which is wrong. -- System Administrator See complete headers for address, homepage and phone numbers