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


Post Reply 
IMAP Traffic not counted ?!
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #1
Question IMAP Traffic not counted ?!
Hello together,

i checked the Statics on my Server and saw that there is no IMAP Traffic under the Customers Stats Rolleyes
I use IMAP SSL on Port 993 and also SMTP SSL on Port 465.
And this Traffic is not counted. There is only a IMAP Traffic counted under the Complete Server Stats.
I check the Traffic script and the Ports are here defined:
Code:
if (defined($port) && $port > 0) {

            $smtp_in = $bytes if ($port == 25);

            $pop3_in = $bytes if ($port == 110);

            $imap_in = $bytes if ($port == 143);

            $http_in = $bytes if ($port == 80);

        } else {

Am i right ?

Greez BeNe
(This post was last modified: 10-28-2007 01:53 AM by BeNe.)
10-28-2007 01:44 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: #2
RE: IMAP Traffic not counted ?!
Please open a ticket and assign it to me; I'll try to take a look at it tomorrow morning
10-28-2007 09:53 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: #3
RE: IMAP Traffic not counted ?!
Ticktes is open for RC4 --> http://www.isp-control.net/ispcp/ticket/824
If this is not okay - move it to another Milestone.

Greez BeNe
10-28-2007 07:03 PM
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: #4
RE: IMAP Traffic not counted ?!
Fixed in http://www.isp-control.net/ispcp/changeset/890
Thanks @ raphael


Greez BeNe
(This post was last modified: 11-06-2007 05:30 PM by BeNe.)
10-29-2007 07:01 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: #5
RE: IMAP Traffic not counted ?!
I reopend this Thread.
Looks not really fixed with the POP3/IMAP Traffic.
I did all the changes with the Ports and they are also counted now via the IPTABLES:

ispcp-iptables-input.log
Code:
Chain ISPCP_INPUT (1 references)
pkts      bytes target     prot opt in     out     source               destination
     103     7360            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:993
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:995
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:587
     220    22014            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:25
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:143
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:110
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:443
    3123   433519            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80
    6163   785840 RETURN     0    --  *      *       0.0.0.0/0            0.0.0.0/0

ispcp-iptables-output.log
Code:
Chain ISPCP_OUTPUT (1 references)
pkts      bytes target     prot opt in     out     source               destination
      84     8676            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:993
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:995
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:587
     207    20858            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:25
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:143
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:110
       0        0            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:443
    4798  6390210            tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp spt:80
    7818  6713354 RETURN     0    --  *      *       0.0.0.0/0            0.0.0.0/0

I see a Traffic on the Adminstatics but not in the Customerstatics and the Resellerstatics. gOOver can confirm that Problem.I am not sure if it has something todo that i changed from Courer to dovecot Rolleyes But then there should be non Traffic at any Statictics or ?

Greez BeNe
(This post was last modified: 11-06-2007 05:54 PM by BeNe.)
11-06-2007 05:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: IMAP Traffic not counted ?!
yes, i can confirm that. At admin and reseller account, pop3/imap traffic will count. When you looks direct to the Domain statistic pop3/imap show's 0kb. I use a standart installation without any changes.
11-06-2007 06:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: IMAP Traffic not counted ?!
I think the traffic counted by iptables is for the whole system - it cannot be split up in reseller1, reseller2 etc - so it only shows up as a total on port xy -> admin

the web and ftp traffic is also counted in a per user basis (also mail??? I don't know).

/J
11-06-2007 06:29 PM
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: #8
RE: IMAP Traffic not counted ?!
I´m am also unsure about it!
But if so we do not need IMAP/POP3 in the Customers Statistic Rolleyes

Greez BeNe
11-06-2007 07:06 PM
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: #9
RE: IMAP Traffic not counted ?!
hmm, reopen the ticket then Smile
11-07-2007 10:27 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: #10
RE: IMAP Traffic not counted ?!
Done! Ticket is open again.

Greez BeNe
11-07-2007 04:49 PM
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: 1 Guest(s)