Current time: 09-28-2024, 05:34 AM Hello There, Guest! (LoginRegister)


Post Reply 
POP3/IMAP Traffic Statics wrong ?
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: POP3/IMAP Traffic Statics wrong ?
Quote:An in the OUT Part only the half of the Ports are logged ?
Code:
$smtp_out = $bytes if ($port == 25);
$pop3_out = $bytes if ($port == 110);
$imap_out = $bytes if ($port == 143);
$http_out = $bytes if ($port == 80);
It this really correct or are the Ports here missing ?

Yes, the secured outgoing ports are missing. This is probably because as ispcp doesn't support secured connections by default, the incoming secured ports counting was added by someone who hit the issue yet never thought about similar outgoing connections.

Quote:The difference is only the imap-login instead of imapd.
Then I would propose using this as a common script for both courier and dovecot imap then:
Code:
$rs = sys_command("$cat $rlog|$grep 'imap'|$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");

Greets!
03-25-2009 09:59 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 ? - kilburn - 03-25-2009 09:59 PM

Forum Jump:


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