sentora / sentora-core

Sentora is a web hosting control panel written in PHP for *NIX
GNU General Public License v3.0
648 stars 446 forks source link

Email Logs in /var/log/sys #263

Closed PhilipMcGaw closed 1 year ago

PhilipMcGaw commented 8 years ago

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 commented 8 years ago

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

ghost commented 8 years ago

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 commented 8 years ago

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.

ghost commented 8 years ago

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

TGates71 commented 1 year ago

Bump for verification

TGates71 commented 1 year ago

Will review this in the future. Closing for now since it is server default.