• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

SMTP traffic miscalculation?

akox

New Pleskian
Hello there,

I'm experiencing a very strange issue on plesk 8.6.0.4. I think that the smtp in/out bytes are calculated incorrectly on some clients.
I'm comparing the contents of the domains_traffic table of the "psa" database ,where we can find the traffic per protocol/per customer/per day and the SMTP logfiles of mail enable.
I'm spotted differences on bandwidth calculations even on domains with very little traffic (ex 1 mail per day).

Anyone have experienced the same issue, or complaints by customers for miscalculation in smtp traffic?

take a look at the following example.

In plesk's database, the smtp_in bandwidth for mydomain1.gr for 9/3/2009 is 127 bytes.
mydomain1.gr gets only one email that day, by IP address CLIENT.IP
Below is the content of the SMTP logfile of mail enable that refers to CLIENT.IP or mydomain1.gr

If we add the last number on the first 3 lines (smtp_in = cs-bytes) we get 27+48+38 = 113 bytes

we have a difference of 127-113 = 14 bytes.

I've done this calculation (by using a perl script) for many domains by using this method. I can match exactly the bandwidth that plesk reports on a small number of domains! The other domains have smaller or higher traffic than the one plesk reports.

Can anyone help me with this?



#Fields: date time c-ip agent account s-ip s-port cs-method cs-uristem cs-uriquery s-computername sc-bytes cs-bytes cs-username

2009-03-09 23:04:34 CLIENT.IP SMTP-IN SERVER.IP 452 EHLO EHLO+geo-1aec8e5c93e.host 250-serverdomain+[CLIENT.IP],+this+server+offers+4+extensions PLESK4 128 27

2009-03-09 23:04:34 CLIENT.IP SMTP-IN SERVER.IP 452 MAIL MAIL+FROM:<info@friendsfood.com.ar>+SIZE=48330250+Requested+mail+action+okay,+completed PLESK4 43 48

2009-03-09 23:04:34 CLIENT.IP SMTP-IN mydomain1.gr SERVER.IP 452 RCPT RCPT+TO:<info@mydomain1.gr> 554+The+IP+Address+of+the+sender+(CLIENT.IP)+was+found+in+a+DNS+blacklist+database+and+was+therefore+refused. PLESK4 114 38

2009-03-09 23:05:26 CLIENT.IP SMTP-IN SERVER.IP 1268 EHLO EHLO+geo-1aec8e5c93e.host 250-serverdomain+[CLIENT.IP],+this+server+offers+4+extensions PLESK4 128 27

2009-03-09 23:05:26 CLIENT.IP SMTP-IN SERVER.IP 1268 MAIL MAIL+FROM:<info@friendsfood.com.ar>+SIZE=48330 250+Requested+mail+action+okay,+completed PLESK4 43 48

2009-03-09 23:05:26 CLIENT.IP SMTP-IN mydomain2 SERVER.IP 1268 RCPT RCPT+TO:<info@mydomain2> 554+The+IP+Address+of+the+sender+(CLIENT.IP)+was+found+in+a+DNS+blacklist+database+and+was+therefore+refused. PLESK4 114 38
 
Back
Top