[Postfixbuch-users] Syslog und sonstige Informationen

Michael Baecker michael at baecker.com
Di Mai 15 12:30:45 CEST 2007


> Hallo Liste,
> wie ist es mir "Anfänger" möglich, Statusberichte von SuSE 10.1
> automatisch per mail gesendet zu bekommen?
> Gibt es dafür einen Cronjob oder ähnliches?
> MfG
> Postfixteser Steffen

Logwatch ist die beste Wahl.

Ist zwar leider bei SuSE nicht mit dabei, aber es läßt sich leicht von der
Homepage laden und installieren. Es überwacht dann nicht nur Postfix,
sondern auch Amavis usw.

Have fun

Michael


Beispielausgabe:
--------------------------------------------------------------------------

################### Logwatch 7.3.2 (12/20/06) ####################
        Processing Initiated: Tue May 15 03:10:08 2007
        Date Range Processed: yesterday
                              ( 2007-May-14 )
                              Period is day.
      Detail Level of Output: 0
              Type of Output: unformatted
           Logfiles for Host: xxx.xxx.xxx.xxx
  ##################################################################

--------------------- amavis Begin ------------------------

     1262            Scanned
     1234 (97.78%)   Clean passed
        2 ( 0.16%)   Spam passed
       24 ( 1.90%)   Spam blocked
        2 ( 0.16%)   Bad headers passed

 ---------------------- amavis End -------------------------

--------------------- POP-3 Begin ------------------------


 [POP3] Logout stats (in MB):
 ============================
                                    User | Logouts | Downloaded |  Mbox Size
 --------------------------------------- | ------- | ---------- | ----------
                     xxxxx at yyyyyyy.zzzzzz|    2770 |          0 |          0
                     xxxxx at yyyyyyy.zzzzz |    2770 |       0.08 |          0
                     xxxxx at yyyyyyy.zzzzz |       4 |       2.34 |          0
                     xxxxx at yyyyyyy.zzzzz |      38 |          0 |          0
                     xxxxx at yyyyyyy.zzzzz |    2770 |          0 |          0
                     xxxxx at yyyyyyy.zzzzz |     576 |          0 |          0
                     xxxxx at yyyyyyy.zzzzz |    2770 |      12.20 |          0
                     xxxxx at yyyyyyy.zzzzz |    2770 |      14.63 |          0
                     xxxxx at yyyyyyy.zzzzz |     576 |          0 |          0
                     xxxxx at yyyyyyy.zzzzz |    2770 |          0 |          0
 ---------------------------------------------------------------------------
                                             17814 |      29.26 |       0.00



 **Unmatched Entries**
    Disconnected, ip=[::ffff:139.18.20.75]: 4 Time(s)
    Disconnected, ip=[::ffff:209.169.47.225]: 2 Time(s)

 ---------------------- POP-3 End -------------------------

--------------------- postfix Begin ------------------------



 72843178 bytes transferred
 1256 messages sent
 4 resent messages
 1256 messages removed from queue

 Unknown users: 3, 20 Time(s)

 SASL Authenticated messages from: 2 Host(s), 14 Time(s)

 Relaying denied: 26 Time(s)

 Client hosts rejected:
     Improper use of SMTP command pipelining: 4 Host(s), 8 Time(s)


 Messages rejected from sender:
     Domain not found: 15 Host(s), 86 Time(s)
     need fully-qualified address: 1 Host(s), 2 Time(s)


 Connections lost:
    Connection lost while CONNECT : 84 Time(s)
    Connection lost while DATA : 22 Time(s)
    Connection lost while END-OF-MESSAGE : 2 Time(s)
    Connection lost while HELO : 6 Time(s)
    Connection lost while MAIL : 10 Time(s)
    Connection lost while RCPT : 562 Time(s)
    Connection lost while RSET : 2 Time(s)


 Illegal address syntax:
    In command MAIL from: 6 Host(s), 12 Time(s)


 Errors in HELO/EHLO conversation:
    Helo command rejected: Invalid name: from 32 Host(s), 64 Time(s)

 ---------------------- postfix End -------------------------
...







Mehr Informationen über die Mailingliste Postfixbuch-users