[Postfixbuch-users] mail log in messeage
Andreas Winkelmann
ml at awinkelmann.de
Fr Mai 26 21:00:00 CEST 2006
Am Friday 26 May 2006 20:29 schrieb Matthias Köstler:
> ich besitze einen SuSE 9.3 Postfix Server. Mein Problem ist, das die ganzen
> logs der Mailing sich in die messages datei eintragen. Ich habe gesehen,
> dass es dort andere Dateien gibt, wo die einträge normalerweise gelogt
> werden.
>
> Hier mal ein beispiel meiner message
>
> May 26 19:16:28 hermes lmtpunix[7668]: duplicate_mark:
> <21838382.1148663770555.JavaMail.infoservice at forum-verlag.com>
> user.rabergmann 1148663788 330
> May 26 19:17:28 hermes master[5455]: process 7668 exited, status 0
> May 26 19:17:59 hermes master[7669]: about to exec
> /usr/lib/cyrus/bin/ctl_cyrusdb
> May 26 19:17:59 hermes ctl_cyrusdb[7669]: checkpointing cyrus databases
> May 26 19:17:59 hermes ctl_cyrusdb[7669]: archiving database file:
> /var/lib/imap/annotations.db
> May 26 19:17:59 hermes ctl_cyrusdb[7669]: archiving log file:
> /var/lib/imap/db/log.0000000001
> May 26 19:17:59 hermes ctl_cyrusdb[7669]: archiving database file:
> /var/lib/imap/mailboxes.db
> May 26 19:17:59 hermes ctl_cyrusdb[7669]: archiving log file:
> /var/lib/imap/db/log.0000000001
> May 26 19:17:59 hermes ctl_cyrusdb[7669]: done checkpointing cyrus
> databases May 26 19:17:59 hermes master[5455]: process 7669 exited, status
> 0 May 26 19:19:27 hermes master[7675]: about to exec
> /usr/lib/cyrus/bin/lmtpd May 26 19:19:27 hermes lmtpunix[7675]: executed
> May 26 19:19:27 hermes lmtpunix[7675]: accepted connection
> May 26 19:19:27 hermes lmtpunix[7675]: lmtp connection preauth'd as postman
> May 26 19:19:28 hermes lmtpunix[7675]: IOERROR: fstating sieve script
> /var/lib/sieve/t/tazilligen/defaultbc: No such file or directory
> May 26 19:19:28 hermes lmtpunix[7675]: duplicate_check:
> <3614911.1148663855645.JavaMail.infoservice at forum-verlag.com>
> user.tazilligen 0
> May 26 19:19:28 hermes lmtpunix[7675]: mystore: starting txn 2147483677
> May 26 19:19:28 hermes lmtpunix[7675]: mystore: committing txn 2147483677
> May 26 19:19:28 hermes lmtpunix[7675]: duplicate_mark:
> <3614911.1148663855645.JavaMail.infoservice at forum-verlag.com>
> user.tazilligen 1148663968 87
> May 26 19:20:28 hermes master[5455]: process 7675 exited, status 0
> May 26 19:47:46 hermes syslog-ng[5377]: STATS: dropped 0
> May 26 19:47:59 hermes master[7714]: about to exec
> /usr/lib/cyrus/bin/ctl_cyrusdb
> May 26 19:47:59 hermes ctl_cyrusdb[7714]: checkpointing cyrus databases
> May 26 19:47:59 hermes ctl_cyrusdb[7714]: archiving database file:
> /var/lib/imap/annotations.db
> May 26 19:47:59 hermes ctl_cyrusdb[7714]: archiving log file:
> /var/lib/imap/db/log.0000000001
> May 26 19:48:00 hermes ctl_cyrusdb[7714]: archiving database file:
> /var/lib/imap/mailboxes.db
> May 26 19:48:00 hermes ctl_cyrusdb[7714]: archiving log file:
> /var/lib/imap/db/log.0000000001
> May 26 19:48:00 hermes ctl_cyrusdb[7714]: done checkpointing cyrus
> databases May 26 19:48:00 hermes master[5455]: process 7714 exited, status
> 0 May 26 19:53:27 hermes master[7724]: about to exec
> /usr/lib/cyrus/bin/lmtpd May 26 19:53:27 hermes lmtpunix[7724]: executed
> May 26 19:53:27 hermes lmtpunix[7724]: accepted connection
> May 26 19:53:27 hermes lmtpunix[7724]: lmtp connection preauth'd as postman
> May 26 19:53:27 hermes lmtpunix[7724]: IOERROR: fstating sieve script
> /var/lib/sieve/s/sonickel/defaultbc: No such file or directory
> May 26 19:53:27 hermes lmtpunix[7724]: duplicate_check:
> <VMucGQ.squirrel at 80.127.220.22> user.sonickel 0
> May 26 19:53:27 hermes lmtpunix[7724]: mystore: starting txn 2147483679
> May 26 19:53:27 hermes lmtpunix[7724]: mystore: committing txn 2147483679
> May 26 19:53:27 hermes lmtpunix[7724]: duplicate_mark:
> <VMucGQ.squirrel at 80.127.220.22> user.sonickel 1148666007
> 192 May 26 19:54:27 hermes master[5455]: process 7724 exited, status 0 May
> 26 20:04:42 hermes master[7751]: about to exec /usr/lib/cyrus/bin/lmtpd May
> 26 20:04:42 hermes lmtpunix[7751]: executed
> May 26 20:04:42 hermes lmtpunix[7751]: accepted connection
> May 26 20:04:42 hermes lmtpunix[7751]: lmtp connection preauth'd as postman
> May 26 20:04:42 hermes lmtpunix[7751]: IOERROR: fstating sieve script
> /var/lib/sieve/r/rabergmann/defaultbc: No such file or directory
> May 26 20:04:42 hermes lmtpunix[7751]: duplicate_check:
> <70e8d2ec53fcb31a1c4f501503bcd1b4 at nbsout2.twt.de> user.rabergmann 0
> May 26 20:04:42 hermes lmtpunix[7751]: mystore: starting txn 2147483681
> May 26 20:04:42 hermes lmtpunix[7751]: mystore: committing txn 2147483681
> May 26 20:04:42 hermes lmtpunix[7751]: duplicate_mark:
> <70e8d2ec53fcb31a1c4f501503bcd1b4 at nbsout2.twt.de> user.rabergmann
> 1148666682 331
> May 26 20:05:42 hermes master[5455]: process 7751 exited, status 0
> May 26 20:17:59 hermes master[7772]: about to exec
> /usr/lib/cyrus/bin/ctl_cyrusdb
> May 26 20:17:59 hermes ctl_cyrusdb[7772]: checkpointing cyrus databases
> May 26 20:17:59 hermes ctl_cyrusdb[7772]: archiving database file:
> /var/lib/imap/annotations.db
> May 26 20:17:59 hermes ctl_cyrusdb[7772]: archiving log file:
> /var/lib/imap/db/log.0000000001
> May 26 20:18:00 hermes ctl_cyrusdb[7772]: archiving database file:
> /var/lib/imap/mailboxes.db
> May 26 20:18:00 hermes ctl_cyrusdb[7772]: archiving log file:
> /var/lib/imap/db/log.0000000001
> May 26 20:18:00 hermes ctl_cyrusdb[7772]: done checkpointing cyrus
> databases May 26 20:18:00 hermes master[5455]: process 7772 exited, status
> 0 May 26 20:18:09 hermes sshd[7773]: Accepted keyboard-interactive/pam
>
> Wie kann ich die logs von Postfix und Cyrus-IMAP und auch evtl. die von
> fetchmail in eine andere datei bzw andere dateien umlenken, damit die
> messages nicht zu voll wird??
Bei Suse loggt Cyrus-Imapd (von Postfix sehe ich da nix) mit der facility
"daemon". Also musst Du daemon in eine Datei deiner Wahl umleiten und
natürlich dafür sorgen, dass unter daemon nix mehr in /var/log/messages
reingeht.
$ man syslog.conf
--
Andreas
Mehr Informationen über die Mailingliste Postfixbuch-users