Post Reply  Post Thread 
Pages (2): < Previous 1 [2]
IMAP Traffic not counted ?!
Author Message
bodysplit Offline
Junior Member
*

bodysplit
Junior Member
*


Posts: 16
Group: Registered
Joined: Nov 2007
Status: Offline
Reputation: 0
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 Away
Member
***

rbtux
Member
***


Posts: 1,200
Group: Registered
Joined: Feb 2007
Status: Away
Reputation: 22
Post: #12
RE: IMAP Traffic not counted ?!
for smtp (maillog) awstat is working... I don't know about imap...

OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
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
*

bodysplit
Junior Member
*


Posts: 16
Group: Registered
Joined: Nov 2007
Status: Offline
Reputation: 0
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
****
Dev Team

raphael
Member
****
Dev Team


Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
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

YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more
Quote:This is Linux land. In silent nights you can hear the Windows machines rebooting.
If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price
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
*****

BeNe
Moderator
*****


Posts: 2,918
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 41
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

[Image: ispcpsw.png]
Ein Betriebssystem ist immer nur so gut und sicher wie der Administrator der es verwaltet.
Wie gut der Administrator jedoch seine Fähigkeiten ausspielen kann, legt das Betriebssystem fest.
-> Linux rulZ!
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
****
Dev Team

raphael
Member
****
Dev Team


Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
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

YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more
Quote:This is Linux land. In silent nights you can hear the Windows machines rebooting.
If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price
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
*****

BeNe
Moderator
*****


Posts: 2,918
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 41
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

[Image: ispcpsw.png]
Ein Betriebssystem ist immer nur so gut und sicher wie der Administrator der es verwaltet.
Wie gut der Administrator jedoch seine Fähigkeiten ausspielen kann, legt das Betriebssystem fest.
-> Linux rulZ!

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
Pages (2): < Previous 1 [2]
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this thread |

Forum Jump:

| All rights reserved : isp-control.net |