From owner-freebsd-questions Mon Oct 29 5:11:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta04ps.bigpond.com (mta04ps.bigpond.com [144.135.25.136]) by hub.freebsd.org (Postfix) with ESMTP id C185937B408 for ; Mon, 29 Oct 2001 05:11:53 -0800 (PST) Received: from merry ([144.135.25.75]) by mta04ps.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GLYYAM00.7O2 for ; Mon, 29 Oct 2001 23:18:22 +1000 Received: from CPE-61-9-166-190.vic.bigpond.net.au ([61.9.166.190]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V2.9k 8392/11818508); 29 Oct 2001 23:11:50 From: "Scott Aitken" To: Subject: emailing with syslogd Date: Tue, 30 Oct 2001 00:11:49 +1100 Message-ID: <000401c1607b$45529b10$8e19fea9@merry> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm trying to have syslogd send an email upon reception of any relevant messages by piping the messages to |exec sendmail email@host.com This works sporadically - I assume syslogd keeps the pipe open so sendmail never knows when to begin sending. The box I'm doing this on receives few messages, so the occasional mail shouldn't bother it. I'm very new to BSD, so although I've read that writing a script wrapper may help, I wouldn't know where to start. Thanks in advance Scott Aitken Senior Network Engineer AAPT Limited 180-188 Burnley Street, Richmond, VIC 3121 W: +61 (3) 8414 3437 M: +61 414 855 641 __________ CCIE #6278 CCNP ATM/SECURITY/VOICE CCDP CNE 5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message