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

Góra strony
Delete this message
Reply to this message
Autor: Jens Strohschnitter
Data:  
Dla: exim-users
Temat: Re: [exim] Configure Syslog-NG with no pop3logging to messages
> > 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);
>       ...
> };

>


Hi

sorry - it's true - popper has nothing to do with exim. But your
solution works. Thanx!

--
Regards,

     Jens Strohschnitter


-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*

* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
         the heart of the sun
-------------------------------------


__________________________________________________________

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Geschaeftsfuehrender Vorstand:
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann

Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates:
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011