Delete / Löschen

dovecot Statistiken

"Helmut Schneider"
25.07.2007 - 13:15
Hi,

gibt es für dovecot etwas a la mailgraph/webalizer/...?

Danke und Gruß, Helmut

--
Please do not feed my mailbox, Swen still does his job well



Ralf Hildebrandt
25.07.2007 - 13:20
On 2007-07-25, Helmut Schneider <email@anonym; wrote:
Hi,

gibt es für dovecot etwas a la mailgraph/webalizer/...?

Ich habe meinen courierxgraph angepasst.

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hemail@anonym
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to email@anonym

"Helmut Schneider"
25.07.2007 - 14:19
Ralf Hildebrandt <email@anonym; wrote:
On 2007-07-25, Helmut Schneider <email@anonym; wrote:
Hi,
gibt es fr dovecot etwas a la mailgraph/webalizer/...?
Ich habe meinen courierxgraph angepasst.

Hm, braucht das rrdtool1.0? Ich hab nämlich nur rrdtool-1.2.23 und es werden
mir keine RRDs angelegt. Auch ins Logfile kommt nix rein. Mailgraph1.13 tut
mit identischem Setup einwandfrei.

[root@BSDHelmut ~]# ps auxww | grep courier
www 58514 0.0 0.5 5748 5020 ?? Ss 2:12PM 0:05.22
/usr/bin/perl -w /usr/local/sbin/couriergraph.pl --logfile
/var/log/maillog --daemon-rrd=/var/db/couriergraph --daemon --daemon-pid=/var/db/couriergraph/couriergraph.pid
-v (perl5.8.8)
[root@teg ~]# ls -la /var/log/*graph.log
-rw-r--r-- 1 www wheel 0 Jul 25 14:03 /var/log/couriergraph.log
-rw-r--r-- 1 www wheel 73910 Jul 25 14:09 /var/log/mailgraph.log
[root@teg ~]#

Allerdings mosert couriergraph.cgi:
Name "main::rrdtool_1_0" used only once: possible typo at
/var/www/couriergraph/couriergraph.cgi line 38.

--
Please do not feed my mailbox, Swen still does his job well



"Helmut Schneider"
25.07.2007 - 17:17
Helmut Schneider <email@anonym; wrote:
Ralf Hildebrandt <email@anonym; wrote:
On 2007-07-25, Helmut Schneider <email@anonym; wrote:
Hi,
gibt es fr dovecot etwas a la mailgraph/webalizer/...?
Ich habe meinen courierxgraph angepasst.
Hm, braucht das rrdtool1.0? Ich hab nämlich nur rrdtool-1.2.23 und es
werden mir keine RRDs angelegt. Auch ins Logfile kommt nix rein.
Mailgraph1.13 tut mit identischem Setup einwandfrei.
[root@BSDHelmut ~]# ps auxww | grep courier
www 58514 0.0 0.5 5748 5020 ?? Ss 2:12PM 0:05.22
/usr/bin/perl -w /usr/local/sbin/couriergraph.pl --logfile
/var/log/maillog --daemon-rrd=/var/db/couriergraph --daemon
--daemon-pid=/var/db/couriergraph/couriergraph.pid -v (perl5.8.8)
[root@teg ~]# ls -la /var/log/*graph.log
-rw-r--r-- 1 www wheel 0 Jul 25 14:03 /var/log/couriergraph.log
-rw-r--r-- 1 www wheel 73910 Jul 25 14:09 /var/log/mailgraph.log
[root@teg ~]#
Allerdings mosert couriergraph.cgi:
Name "main::rrdtool_1_0" used only once: possible typo at
/var/www/couriergraph/couriergraph.cgi line 38.

<SIC> musse *denke* bevor handle...
Aber sag mit bitte noch, wie Du imaps bzw. pop3s regexp'st, soweit ich sehe,
steht dann am Ende der Zeile noch ein TLS.

Danke und Gruß, Helmut

--
Please do not feed my mailbox, Swen still does his job well



"Helmut Schneider"
25.07.2007 - 17:27
Helmut Schneider <email@anonym; wrote:
Helmut Schneider <email@anonym; wrote:
Ralf Hildebrandt <email@anonym; wrote:
On 2007-07-25, Helmut Schneider <email@anonym; wrote:
Hi,
gibt es fr dovecot etwas a la mailgraph/webalizer/...?
Ich habe meinen courierxgraph angepasst.
Hm, braucht das rrdtool1.0? Ich hab nämlich nur rrdtool-1.2.23 und es
werden mir keine RRDs angelegt. Auch ins Logfile kommt nix rein.
Mailgraph1.13 tut mit identischem Setup einwandfrei.
[root@BSDHelmut ~]# ps auxww | grep courier
www 58514 0.0 0.5 5748 5020 ?? Ss 2:12PM 0:05.22
/usr/bin/perl -w /usr/local/sbin/couriergraph.pl --logfile
/var/log/maillog --daemon-rrd=/var/db/couriergraph --daemon
--daemon-pid=/var/db/couriergraph/couriergraph.pid -v (perl5.8.8)
[root@teg ~]# ls -la /var/log/*graph.log
-rw-r--r-- 1 www wheel 0 Jul 25 14:03 /var/log/couriergraph.log
-rw-r--r-- 1 www wheel 73910 Jul 25 14:09 /var/log/mailgraph.log
[root@teg ~]#
Allerdings mosert couriergraph.cgi:
Name "main::rrdtool_1_0" used only once: possible typo at
/var/www/couriergraph/couriergraph.cgi line 38.
<SIC> musse *denke* bevor handle...
Aber sag mit bitte noch, wie Du imaps bzw. pop3s regexp'st, soweit ich
sehe, steht dann am Ende der Zeile noch ein TLS.

Entweder liegst Du schon am See, oder Du denkst Dir: "Bub, finde das mal
selber raus". Mit beidem hast Du wohl recht...

if ($prog eq 'dovecot') {
if($text =~ /pop3-login:.*TLS$/) {
event($time, 'pop3d_ssl_login');
}
elsif($text =~ /pop3-login:/) {
event($time, 'pop3d_login');
}
elsif($text =~ /imap-login:.*TLS$/) {
event($time, 'imapd_ssl_login');
}
elsif($text =~ /imap-login:/) {
event($time, 'imapd_login');
}
}

Danke und Gruß, Helmut

--
Please do not feed my mailbox, Swen still does his job well



Ralf Hildebrandt
25.07.2007 - 19:17
On 2007-07-25, Helmut Schneider <email@anonym; wrote:

Hm, braucht das rrdtool1.0?

Nö.

--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hemail@anonym
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to email@anonym

christian.keil
07.08.2007 - 01:32

Ist das tool evtl demnächst auch kompatibel zu Gentoo Logs ?

Mein Logfile sieht so aus :
dovecot: Aug 07 01:29:55 Info: pop3-login: Login:
userD<email@anonym;, methodDPLAIN, ripDx.x.x.x, lipDx.x.x.x
dovecot: Aug 07 01:29:55 Info: POP3(email@anonym): Effective
uidD207, gidD207
dovecot: Aug 07 01:29:55 Info: POP3(email@anonym): maildir: dataD/
var/spool/postfix/virtual/domain/user
dovecot: Aug 07 01:29:55 Info: POP3(email@anonym): maildir: rootD/
var/spool/postfix/virtual/domain/user, indexD/var/spool/postfix/
virtual/domain/user, controlD, inboxD
dovecot: Aug 07 01:29:56 Info: POP3(email@anonym): Disconnected:
Logged out topD0/0, retrD0/0, delD0/0, sizeD0

jedoch faucht mich das script direkt danach mit folgendem Fehler an :

WARNING: line not in syslog format: dovecot:

Bin für jeden Tip dankbar :)

Grüsse

Christian


Thomas Grieder
13.08.2007 - 17:08
Damit nicht alle das Rad neu erfinden müssen:
Gibt es das Script irgendwo zum Herunterladen?

Gruss
Thomas

"Helmut Schneider"
13.08.2007 - 17:59
Thomas Grieder <email@anonym; wrote:

Damit nicht alle das Rad neu erfinden müssen:
Gibt es das Script irgendwo zum Herunterladen?

Ich weiss nicht, wie es mit dem copyright aussieht, sonst würde ich es schon
anbieten...

--
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn






Share/Bookmark