Re: [exim] Configure Syslog-NG with no pop3logging to messag…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jethro R Binks
Ημερομηνία:  
Προς: EXIM Official Maillist
Αντικείμενο: Re: [exim] Configure Syslog-NG with no pop3logging to messages
On Tue, 19 Feb 2008, Jens Strohschnitter wrote:

> does anyone know how I have to configure the syslog-ng that no
> pop3-access is logged to messages ? I'm running ubuntu-server with round
> about 200 users, using exim 4.66 and popper but any pop3-access is
> logged to the messages!


This is not an Exim issue, neither is it even a pop3 issue (which has
nothing to do with Exim either).

However, here's one way you might do it, with a recent enough syslog-ng:

filter f_pop3_line { match("pop3-access string"); };

log {
        ...
        filter(f_pop3_line);
        destination(discard);
        flags(final);
        ...
};


Alternatively, something along the lines of:

filter f_pop3_line { not match("pop3-access string"); };

log {
      ...
      filter(f_pop3_line);
      filter(other_filters_to_select_pop3_log_lines_you_want);
      destination(pop3_logfile);
      ...
};


All untested.

Jethro.


. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Jethro R Binks
Computing Officer, IT Services
University Of Strathclyde, Glasgow, UK