Current time: 11-16-2024, 11:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
IMAP Traffic not counted ?!
Author Message
bodysplit Offline
Junior Member
*

Posts: 45
Joined: Nov 2007
Reputation: 1
Post: #11
RE: IMAP Traffic not counted ?!
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.
11-07-2007 06:48 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #12
RE: IMAP Traffic not counted ?!
for smtp (maillog) awstat is working... I don't know about imap...
11-07-2007 07:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bodysplit Offline
Junior Member
*

Posts: 45
Joined: Nov 2007
Reputation: 1
Post: #13
RE: IMAP Traffic not counted ?!
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???
11-07-2007 07:36 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #14
RE: IMAP Traffic not counted ?!
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
11-10-2007 10:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #15
RE: IMAP Traffic not counted ?!
@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
11-20-2007 06:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #16
RE: IMAP Traffic not counted ?!
can you post some lines from your mail.log which involve the -ssl stuff?
seems like the regexes need to be tweaked
11-20-2007 10:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #17
RE: IMAP Traffic not counted ?!
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
(This post was last modified: 11-21-2007 02:15 AM by BeNe.)
11-21-2007 02:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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