Email Logs in /var/log/sys #263

Open
PhilipMcGaw opened this Issue Jun 30, 2016 · 4 comments

Projects

None yet

3 participants

@PhilipMcGaw

Can we stop email logs ending up in the syslog, they are duplicated in the mail log which is a much better place for them (Ubuntu and Sentora)

@MBlagui
Contributor
MBlagui commented Jul 3, 2016

This is default system behaviour. Could explain more? kind of messages?

@CasteyDaSilva

In /etc/rsyslog.d/50-default.conf change line:
*.*;auth,authpriv.none -/var/log/syslog
to
*.*;auth,authpriv.none,mail.!=info -/var/log/syslog
and restart rsyslog.

@PhilipMcGaw

Will do that :D if it works as it looks like it should it will make sys log more pleasant to read.

Sent from my iPhone

On 22 Jul 2016, at 18:32, Łukasz Szczepański notifications@github.com wrote:

In /etc/rsyslog.d/50-default.conf change line:
.;auth,authpriv.none -/var/log/syslog
to
.;auth,authpriv.none,mail.!=info -/var/log/syslog
and restart rsyslog.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@CasteyDaSilva

It works, I've done it on my server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment