Current time: 11-23-2024, 12:12 PM Hello There, Guest! (LoginRegister)


Post Reply 
POP3/IMAP Traffic Statics wrong ?
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: POP3/IMAP Traffic Statics wrong ?
Anyone improved the MailTraffic for Dovecot ?
There was a Patch applied in the ispcp-vrl-traff but ONLY for POP3
--> http://www.isp-control.net/ispcp/changes...-vrl-traff

So IMAP, POP3-SSL and IMAP-SSL needs also a patch for Dovecot.
I checked my logfiles and found
Code:
Mar 24 06:32:55 matrix dovecot: imap-login: Login: user=<my@adress.com>, method=PLAIN, rip=88.79.19.XX, lip=66.76.253.XX, TLS

I changed the IMAP Part:
Code:
$rs = sys_command("$cat $rlog|$grep 'imapd'|$grep 'user='|$grep 'body='|$grep -v 'ip=\\[::ffff:127.0.0.1\\]'|$awk '{print \$7,\$9,substr(\$10,1,length(\$10)-1);}' 1>$imap_log");
--> http://www.isp-control.net/ispcp/browser...traff#L698
to
Code:
$rs = sys_command("$cat $rlog|$grep 'imap-login'|$grep 'user='|$grep 'body='|$grep -v 'ip=\\[::ffff:127.0.0.1\\]'|$awk '{print \$7,\$9,substr(\$10,1,length(\$10)-1);}' 1>$imap_log");
The difference is only the imap-login instead of imapd.
I wait now for some Traffic on the IMAP Service and hope that i get some more data.

Can somebody spend more or better improvments ?

Greez BeNe
03-25-2009 07:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
POP3/IMAP Traffic Statics wrong ? - BeNe - 03-06-2009, 02:59 AM
RE: POP3/IMAP Traffic Statics wrong ? - BeNe - 03-25-2009 07:45 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)