ispCP - Board - Support
IMAP Traffic not counted ?! - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: IMAP Traffic not counted ?! (/thread-1630.html)

Pages: 1 2


RE: IMAP Traffic not counted ?! - bodysplit - 11-07-2007 06:48 PM

iptables will only be useful for server-wide statistics. Like awstats for www, one would need a loganalysis tool like isoqlog to analyse per-domain or per-user stats.

I have never tried using awstats for maillog analysis, although the awstats-team claims it works. Perhaps one can check that out. After all many will already have awstats installed for HTTP analysis.


RE: IMAP Traffic not counted ?! - rbtux - 11-07-2007 07:03 PM

for smtp (maillog) awstat is working... I don't know about imap...


RE: IMAP Traffic not counted ?! - bodysplit - 11-07-2007 07:36 PM

then it's like isoqlog. It's reading from postfix deliver, how much traffic is being transfered to/from the users mailbox.

I don't see to heavy IMAP usage with my users, so I don't know if I need to take the traffic too serious. For now, I guess counting this only in serveradmin should be enough. I cannot see much sense in shuffling mails around by IMAP only.

I think for traffic needs, HTTP is the most important. Next might be FTP. Then is SMTP for in/out email statistics (I don't want to host a spammer). POP/IMAP need to be calculated transparently for the customer.

perhaps one is willing to add this to the future feature list???


RE: IMAP Traffic not counted ?! - raphael - 11-10-2007 10:04 AM

Quote:I have never tried using awstats for maillog analysis, although the awstats-team claims it works.
actually, awstats' mail log parser is used for counting the mail traffic Wink


RE: IMAP Traffic not counted ?! - BeNe - 11-20-2007 06:53 AM

@raphael:
I´ve tested the change in r912 as you said - but there is no change in the customers Stats about IMAP/POP3. Every day "0"

Greez BeNe


RE: IMAP Traffic not counted ?! - raphael - 11-20-2007 10:46 AM

can you post some lines from your mail.log which involve the -ssl stuff?
seems like the regexes need to be tweaked


RE: IMAP Traffic not counted ?! - BeNe - 11-21-2007 02:13 AM

Yeah, of course:

Code:
Nov 20 06:27:41 vs24XXX dovecot: imap-login: Login: user=<bene@mydomain.de>, method=plain, rip=217.243.170.XXX, lip=62.75.XXX.XX, TLS
Nov 20 06:28:39 vs248XXX postfix/smtpd[32435]: initializing the server-side TLS engine

Quote:Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: setting up TLS connection from ns2.g-housing.de[81.169.133.75]
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:before/accept initialization
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:error in SSLv2/v3 read client hello A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:error in SSLv3 read client hello B
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:error in SSLv3 read client hello B
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 read client hello B
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 write server hello A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 write certificate A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 write server done A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 flush data
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:error in SSLv3 read client certificate A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:error in SSLv3 read client certificate A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 read client key exchange A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:error in SSLv3 read certificate verify A
Nov 20 10:02:26 vs248XXX last message repeated 3 times
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 read finished A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 write change cipher spec A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 write finished A
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: SSL_accept:SSLv3 flush data
Nov 20 10:02:26 vs248XXX postfix/smtpd[16005]: TLS connection established from ns2.g-housing.de[81.169.133.75]: TLSv1 with cipher AES256-SHA (256/256 bits)

Hope this helps!

Greez BeNe