[CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-28 Thread Arun Khan
CentOS 6 (amd64) up to date with latest security / bug fixes. The logwatch reports come in plain text even though the config states HTML. mailer = "/usr/sbin/sendmail -t" TmpDir = /tmp MailFrom = logwa...@example.com MailTo = admin1 admin2 admin3 Range = yesterday Detail = Medium HostName = www.

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-28 Thread Alexander Farber
Maybe the format is set in sudo crontab -l Am Montag, 29. August 2016 schrieb Arun Khan : > CentOS 6 (amd64) up to date with latest security / bug fixes. > > The logwatch reports come in plain text even though the config states HTML. > > > mailer = "/usr/sbin/sendmail -t" > TmpDir = /tmp > Mail

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-29 Thread Arun Khan
On Sun, Aug 28, 2016 at 10:56 PM, Alexander Farber wrote: > Maybe the format is set in > > sudo crontab -l You mean in the way it is invoked from the cron entry? -- Arun Khan ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/li

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-29 Thread Alexander Farber
No, I mean there is sometimes a variable for mail format too: # crontab -l CONTENT_TYPE="text/plain; charset=utf-8" MAILFROM=webmas...@xxx.de MAILTO=alexander.far...@xxx.com LANG=en_US.UTF-8 PGHOST=/tmp #minute hourmdaymonth wdaycommand On Tue, Aug 30, 2016 at 3:37 AM, Arun Khan w

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-31 Thread Arun Khan
On Mon, Aug 29, 2016 at 10:24 PM, Alexander Farber wrote: > No, I mean there is sometimes a variable for mail format too: The HTML formatting is a logwatch option, invoked through the logwatch.conf file. -- Arun Khan ___ CentOS mailing list CentOS@cent

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-31 Thread Alexander Farber
logwatch is run as cronjob. On Wed, Aug 31, 2016 at 4:11 PM, Arun Khan wrote: > On Mon, Aug 29, 2016 at 10:24 PM, Alexander Farber > wrote: > > No, I mean there is sometimes a variable for mail format too: > > The HTML formatting is a logwatch option, invoked through the > logwatch.conf file. >

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-31 Thread Arun Khan
On Wed, Aug 31, 2016 at 7:58 AM, Alexander Farber wrote: > logwatch is run as cronjob. Let's take cron out of the picture. Invoking logwatch from an interactive shell -- no joy. The report still goes out in text format. -- Arun Khan ___ CentOS mailin

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-31 Thread Alexander Farber
You should have provided more info initially. "goes out in text format" might mean several things. On Wed, Aug 31, 2016 at 5:31 PM, Arun Khan wrote: > On Wed, Aug 31, 2016 at 7:58 AM, Alexander Farber > wrote: > > logwatch is run as cronjob. > > Let's take cron out of the picture. Invoking lo

Re: [CentOS] CentOS 6 - logwatch report not in HTML format

2016-08-31 Thread Arun Khan
On Wed, Aug 31, 2016 at 8:59 AM, Alexander Farber wrote: > You should have provided more info initially. > > "goes out in text format" might mean several things. > I don't know what you mean by "several things" In the context of logwatch the only options are HTML or TEXT. Please see my OP. Tha