[syslog-ng] [PATCH]: Experimental SMTP destination

Gergely Nagy algernon at balabit.hu
Sun Feb 13 12:14:47 CET 2011


On Sun, 2011-02-13 at 09:34 +0000, Alexander Clouter wrote: 
> Gergely Nagy <algernon at balabit.hu> wrote:
> >> >
> >> > [snipped sendmail approach]
> >> > 
> >> > Yes, that's a possibility, indeed, but that assumes one has a sendmail
> >> > command installed.
> >> > 
> >> For those crazy enough to run syslog-ng on a non-sendmail environment, 
> >> there are alternatives:
> >> 
> >> http://glob.com.au/sendmail/
> > 
> > Sadly, that does not run on my router.
> >
> My 4MB NAND router has a sendmail binary and nullmailer is also readily 
> available.  I am refering to the wrapper that does mail submission into 
> the local queue.
> 
> http://www.busybox.net/downloads/BusyBox.html#sendmail

Yep, I know about that, but if I want mail delivered, I wouldn't rely on
it. If there's a network outage, or the destination server is not
accessible for whatever reason, busybox's sendmail will not attempt to
re-deliver the message.

My driver will notice such outages, and keep the message in its queue,
thus, preventing message loss. This also guards
against /usr/bin/sendmail failing for whatever reasons
(misconfiguration, upgrade in progress, break-in, and so on).

Nullmailer or similar small solutions can help with that, of course, but
why would I want to install nullmailer, when syslog-ng can do the
mailing without external help?

-- 
|8]





More information about the syslog-ng mailing list