URL: https://linuxfr.org/forums/linux-debutant/posts/separation-contenu-var-log-maillog Title: Séparation contenu /var/log/maillog Authors: Martin Date: 2015年07月10日T17:24:38+02:00 License: CC By-SA Tags: Score: 0 Bonjour à tous, Je viens d'installer sur une vm CentOs 7 le Groupware Kolab. Je voudrais savoir s'il est possible de séparer (de manière automatique) le contenu du fichier journal /var/log/maillog en plusieurs fichiers de log pour : - l'imap - SMTP entrant - SMTP sortant - amavis - etc.. ?? Merci d'avance pour votre aide ! :-) Cordialement, Martin Voici un extrait du fichier de log : Jul 9 05:56:17 kolab amavis[1005]: (01005-03) exiting process_request Jul 9 05:56:17 kolab postfix/smtpd[5613]: connect from localhost.localdomain[127.0.0.1] Jul 9 05:56:17 kolab amavis[1005]: (01005-03) idle_proc, bye: was busy, 48.4 ms, total idle 3542.063 s, busy 13.343 s Jul 9 05:56:17 kolab amavis[1005]: (01005-03) load: 0 %, total idle 3542.063 s, busy 13.343 s Jul 9 05:56:17 kolab postfix/smtpd[5613]: 2293919148B5: client=localhost.localdomain[127.0.0.1] Jul 9 05:56:17 kolab postfix/cleanup[5611]: 2293919148B5: message-id=<2450828f184d7f75402e8fc1fa67ed54@qi.fr> Jul 9 05:56:17 kolab postfix/qmgr[911]: 2293919148B5: from=, size=620, nrcpt=1 (queue active) Jul 9 05:56:17 kolab postfix/smtpd[5613]: disconnect from localhost.localdomain[127.0.0.1] Jul 9 05:56:17 kolab lmtpunix[3515]: Delivered: <2450828f184d7f75402e8fc1fa67ed54@qi.fr> to mailbox: qi.fr!user.pierre^martin Jul 9 05:56:17 kolab lmtpunix[3515]: USAGE pierre.martin@qi.fr user: 0.005999 sys: 0.001999 Jul 9 05:56:17 kolab postfix/lmtp[5614]: 2293919148B5: to=, relay=kolab.qi.fr[/var/lib/imap/socket/lmtp], delay=0.05, delays=0.01/0.03/0/0.01, dsn=2.1.5, status=sent (250 2.1.5 Ok SESSIONID=) Jul 9 05:56:17 kolab postfix/qmgr[911]: 2293919148B5: removed Jul 9 05:56:18 kolab imap[5220]: starttls: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits new) no authentication

AltStyle によって変換されたページ (->オリジナル) /