Re: Printing by default

"Kirk Bauer" <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Definitely makes sense to me!

On 5/6/07, Bjorn L. <[email protected]> wrote:
>
> A bug was filed on Fedora because of the default
> behavior of Logwatch: the "mailto" configuration
> variable determines who receives the logwatch output.
>
> The default behavior for cron (or anacron) is for the
> user executing the program to receive the mail.  If a
> program outputs to standard output, cron compiles it
> into a file and then mails the file.  The Fedora
> version of cron also has a variable called MAILTO,
> which allows overrides.
>
> So I'd like to propose that we make the default to
> print to standard output, not email.  We let cron
> deal with creating the email.
>
> So for a default distribution, you still get an
> email.  When you execute it from a command line,
> you don't need to use "--print" to output to the
> terminal.  The only difference would be that by
> default, the sender and subject of the email is
> not set by the user in logwatch.conf.  Instead of
> 'Logwatch', the mail will appear to be sent
> by 'Cron Daemon', for example, with a cron-
> related subject.
>
> To revert to the old behavior, you can set
> Print = No
> in your /etc/logwatch/conf/logwatch.conf file.
>


-- 
Kirk Bauer <[email protected]>
http://linux.kaybee.org | www.autorpm.org | www.logwatch.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.