Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] syslog mail facility not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 465
Location: Oslo, Norway

PostPosted: Sat Feb 15, 2014 6:15 pm    Post subject: [Solved] syslog mail facility not working Reply with quote

I've installed syslog-ng, postfix, dovecot and dspam. For some reason nothing show up in /var/log/mail.
Some entries show up in /var/log/messages, so I guess the services communicate with syslog. Where do I start to debug the mail facility?


Last edited by petterg on Sat Feb 15, 2014 11:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
hdcg
n00b
n00b


Joined: 07 Apr 2013
Posts: 40

PostPosted: Sat Feb 15, 2014 8:29 pm    Post subject: Reply with quote

Hi,

check your syslog-ng.conf file.

To support /var/log/mail there should be
a destination statement pointing to /var/log/mail
a filter statement to select all mail facility messages
a log statement utilizing both.

See the /var/log/warnings definitions for an example.

See man master and master.cf for how to set the facility for postfix.

Best Regards,
Holger
Back to top
View user's profile Send private message
petterg
Guru
Guru


Joined: 25 Mar 2004
Posts: 465
Location: Oslo, Norway

PostPosted: Sat Feb 15, 2014 11:34 pm    Post subject: Reply with quote

Thanks. You were spot on - a typo in syslog-ng.conf
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum