Gentoo Archives: gentoo-user

From: Nick Smith <nick.smith79@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tracking the life of an email.
Date: Fri, 24 Feb 2006 22:09:13
Message-Id: bba6100b0602241403g10c9a719mbd6ef47dd4086730@mail.gmail.com
In Reply to: Re: [gentoo-user] tracking the life of an email. by Dave Nebinger
1 >
2 > Most of these components will issue messages to syslog using the 'mail'
3 > facility. If you configure your syslog daemon to route messages from
4 > this facility to, say, /var/log/mail.log, you'll have all of the info
5 > you need.
6 >
7 > If you're using syslog-ng, the following addition will do this for you:
8 >
9 > destination mail { file("/var/log/mail.log" perm(0644) ); };
10 > filter f_mail { facility(mail); };
11 > log { source(src); filter(f_mail); destination(mail); };
12 >
13 > --
14 > gentoo-user@g.o mailing list
15 >
16 >
17
18 for some reason qmail spreads things out into 3 or 4 or 5 different
19 log files, one for sent, smtp, pop, imap etc, its a real pain to go
20 through those files, i dont know if its qmail or syslog-ng thats doing
21 it, but ive been wanting to find a way to combine all those logs into
22 one mail.log file for easy grepping.....
23 thanks for the input.
24
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] tracking the life of an email. kashani <kashani-list@××××××××.net>
Re: [gentoo-user] tracking the life of an email. "Mariusz Pękala" <skoot@××.pl>