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


IMAP Traffic not counted ?! - BeNe - 10-28-2007 01:44 AM

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


RE: IMAP Traffic not counted ?! - raphael - 10-28-2007 09:53 AM

Please open a ticket and assign it to me; I'll try to take a look at it tomorrow morning


RE: IMAP Traffic not counted ?! - BeNe - 10-28-2007 07:03 PM

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


RE: IMAP Traffic not counted ?! - BeNe - 10-29-2007 07:01 AM

Fixed in http://www.isp-control.net/ispcp/changeset/890
Thanks @ raphael


Greez BeNe


RE: IMAP Traffic not counted ?! - BeNe - 11-06-2007 05:52 PM

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


RE: IMAP Traffic not counted ?! - gOOvER - 11-06-2007 06:26 PM

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.


RE: IMAP Traffic not counted ?! - joximu - 11-06-2007 06:29 PM

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


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

I´m am also unsure about it!
But if so we do not need IMAP/POP3 in the Customers Statistic Rolleyes

Greez BeNe


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

hmm, reopen the ticket then Smile


RE: IMAP Traffic not counted ?! - BeNe - 11-07-2007 04:49 PM

Done! Ticket is open again.

Greez BeNe