Re: Fwd: Default to STDOUT: is it really a good thing?
Hugo van der Kooij <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 26 May 2007, Hugo van der Kooij wrote: > On Sat, 26 May 2007, Kirk Bauer wrote: > >> More dissenters... I am not sure I understand his problem... but I've never >> used the HTML format either. > > For starters. When log watch is sending it's own email the subjct is: > Subject: Logwatch for faramir.hugo.vanderkooij.org (Linux) > > But with the crontab output it reads: > Subject: Cron <root@faramir> /usr/sbin/logwatch > > Or something similar. The first one (old style) makes a lot more sense. The only drawback is that the PATH for sendmail as utility has not been defined: Can't exec "sendmail": No such file or directory at /usr/sbin/logwatch line 1025, <TESTFILE> line 2. Can't execute sendmail -t: No such file or directory Since the use and location of sendmail is defined by standards we may as well use the standard here: http://www.linux-foundation.org/spec/refspecs/LSB_2.1.0/LSB-generic/LSB-generic/baselib-sendmail-1.html And a bit funny is that the config file is not use a capitol on this line: mailer = "sendmail -t" So I think we should ship it with the default: Mailer = "/usr/sbin/sendmail -t" Hugo. -- [email protected] http://hugo.vanderkooij.org/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.)