🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #283183

Re: Cron Error with Mail.info

#283183
From: Anonymous
Date: Wed, 22 Jun 2016 14:07
22 lines
2183 bytes
On Wed, 22 Jun 2016 14:56:09 +0200 (CEST), "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> wrote:

>Therefore, removing the /var/log/mail.log line would prevent any mail.log creation.  However, rotate 0 is probably doing the same.

Removing the /var/log/mail.log line in the logrotate.conf file does not prevent mail.log creation.

What it will do is prevent mail.log rotation. The result will be an ever growing mail.log. For someone who is trying to minimize the
amount of logs that are kept, it provides exactly the opposite result.

rotate 0 prevents creation of rotated log archive files and nulls the mail.log file, at which point it begins growing again until the
next rotation.

If no mail logging at all is desired, one way to disable it is in the syslog or rsyslog configuration file. Just comment out the
appropriate lines like this:

#mail.*          -/var/log/mail.log
#mail.info      -/var/log/mail.info
#mail.warn    -/var/log/mail.warn
#mail.err       -/var/log/mail.err

However, if someone is attacking your mail server, or it begins having other problems, it can be difficult to diagnose until some
logging is enabled again.
Technical Details
Message-ID: <v45lmb93agks5ffhhkianqemroc9d7umrc@news.stray.cat.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <1l0kmbpn6fq1dr6v0jvuf8t513pgi4sn82@news.stray.cat.edu> <d5f8cba1086d3232326fd3a73c0d1288@remailer.privacy.at>

Show Full Headers
Complete Article Headers
Message-ID: <v45lmb93agks5ffhhkianqemroc9d7umrc@news.stray.cat.edu>
Subject: Re: Cron Error with Mail.info
Date: Wed, 22 Jun 2016 10:07:18 -0400
From: Anonymous
References: <1l0kmbpn6fq1dr6v0jvuf8t513pgi4sn82@news.stray.cat.edu> <d5f8cba1086d3232326fd3a73c0d1288@remailer.privacy.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Lines: 23
NNTP-Posting-Host: sly-ocelot.stray.cat.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Keywords: None
X-Face: ,l9N8F.A~!GX.Yz#yYAZtvpk7aF(an!BVo3%Xb,`Q]*$Oh'RtXB5n4iisiGw8
    l3nY)lnh(G]9[ud;QeX:W}'r)1F9gEQD4o::mBU9JZAXI\y_0t$P#*/o|!TSG9OtqY+`
    NX>cpjf?w~w1RY_}M5731El52pUnI}OaRi~PA+n[fiO>=TS|2h~f%c9zy]*i2LajTWLJ
    _X^1No"P#D_(t*t-5n]wW1
User-Agent: nn/6.7.3