Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

$domain-smtpbytes_log not found

Discussion in 'E-mail Discussion' started by Jorge Moreno, Feb 27, 2019.

  1. Jorge Moreno

    Jorge Moreno Registered

    Joined:
    Feb 27, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    panama
    cPanel Access Level:
    DataCenter Provider
    Hello,

    exim.pl consider file /usr/local/apache/domlogs/$domain-smtpbytes_log for limiting per domain outgoing emails.

    In several WHM installation I was not able to find the file /usr/local/apache/domlogs/$domain-smtpbytes_log for any of the hosted domains.

    Current version checked
    v78.0.12
    How can I enable WHM or Exim to create this file?
    If the file is not there it means that exim.pl is not able to limit the domain outgoing emails?
     
    #1 Jorge Moreno, Feb 27, 2019
    Last edited by a moderator: Feb 27, 2019
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Jorge Moreno,

    The /etc/exim.pl.local file takes precedence when it comes to determining the number of emails sent per hour compared to the maximum value. You can review the section starting with "sub getmaxemailsperhour {" to see how the number is obtained (it doesn't use the smtpbytes_log file).

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jorge Moreno

    Jorge Moreno Registered

    Joined:
    Feb 27, 2019
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    panama
    cPanel Access Level:
    DataCenter Provider
    Thank you Michael, and what is the reason why the smtpbytes_log file is not getting generated?
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Jorge Moreno,

    Apache is configured to use a single target for all virtual host access and bandwidth logs by default:

    Are you missing specific statistics related to SMTP or is something not working as expected?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice