Skip to main content

Email limits counter

Comments

3 comments

  • 24x7server
    Hi, You can use the below command to check the count. stat -c %s /var/cpanel/email_send_limits/track/domain.com/$( perl -e 'print join( ".", ( gmtime(time()) )[ 2, 3, 4, 5 ] ) ' )
    0
  • cPanelLauren
    Hello, I believe the answer to the second question:
    . Is there any way to check when this counter will be reseted for a specific domain?

    Is in the format of the file: The format of Email Send Limits Files Sent emails are tracked in files in the /var/cpanel/email_send_limits/track/ directory. Each file is given a name based on a timestamp of 4 numbers that correspond to items 2, 3, 4, and 5 of the array returned by the Perl gmtime function, i.e., the hour, day of the month, month (starting from 0), and year minus 1900, all in GMT. For example: # ls -l /var/cpanel/email_send_limits/track/domain.com/* -rw-rw-rw-. 1 root mail 4 Sep 28 21:45 /var/cpanel/email_send_limits/track/domain.com/0.29.8.117 -rw-rw-rw-. 1 root mail 107 Sep 28 22:57 /var/cpanel/email_send_limits/track/domain.com/1.29.8.117
    A single byte containing a "1" is added to the file each time during the hour a message is sent. The size of the file thus corresponds with the number of messages that have been sent during that hour. In the case of the files above, 4 messages were sent during the 21st hour, and 107 during the 22nd hour. Thank you,
    0
  • vikelidiskostas
    I know that its a little bit late to say thank you but better later than never. Your answers really helped my to track email usage on my server.
    0

Please sign in to leave a comment.