[nylug-talk] Is there anyone proficient with Postfix that can talk to me today or tomorrow.
Brandorr
brandorr at opensolaris.org
Sat Sep 1 14:24:59 EDT 2007
Syslog is logging correctly... as far as I know mail.err and
mail.debug are the facilities that postfix uses, correct?
On 9/1/07, Ajai Khattri <ajai at bitblit.net> wrote:
> On Fri, 31 Aug 2007, Brandorr wrote:
>
> > I'm trying to figure out why it isn't logging even though I enabled -v
> > and set the debug_peer_list domains.
>
> Is postfix using syslog? If so, you may need to check your syslog config -
> it might be lumping mail log messages with the rest of the system
> messages.
>
> IMHO, building postfix *usually* means its using syslog but syslog may
> need that extra bit of config. Here's some sample config for syslog-ng
> (which is what I use on my servers).
>
> # tell syslog-ng to ignore mail messages
> filter notmail { not facility(mail); };
>
> # notmail go to the console and the usual logs
> log { source(src); filter(notmail); destination(messages); };
> log { source(src); filter(notmail); destination(console_all); };
>
> # tell syslog to put postfix's messages into /var/log/maillog
> filter mail { facility (mail); };
> destination maillog { file("/var/log/maillog"); };
> log { source(src); filter(mail); destination(maillog); };
>
>
>
> --
> Aj.
>
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>
--
- Brian Gupta
http://opensolaris.org/os/project/nycosug/
More information about the nylug-talk
mailing list