The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem receiving cpanel notifications

Discussion in 'General Discussion' started by 8p-design, Jul 24, 2009.

  1. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Hi,

    I am not receiving cPanel notifications.

    1-myemail@mydomain.tld is set as the main contact for ALL domains on our server
    2-myemail@mydomain.tld is set in Basic setup
    3-in Tweak Settings, we have checked "Notify the admin, (or the reseller), when an account has reached the "critical" Disk Usage state."

    I think we covered all bases, so, we would expect myemail@mydomain.tld to receive an email when an account reaches the disk quota thresholds set in "Notifications" section of tweak settings.

    But we do not receive those notifications.
    any clue?

    thanks!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend checking /var/log/exim/mainlog to see if the email is being sent by the server or if it is encountering issues sending the message.
     
  3. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi,

    I guess as a starting point, you could check if the mail is actually being sent and just not being delivered. Simply log in to your server over SSH and issue the following command:

    Code:
    root@host [~]# exigrep "myemail@mydomain.tld" /var/log/exim_mainlog
    This will give you a good idea of if mail even tried to go out. It may be a routing issue.

    Let me know if you have follow-up questions. I'd love to lend a hand.

    Thanks,
     
  4. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    thanks for your replies,

    myemail@mydomain.tld is an mail that is receiving a lot of emails, so even grep returns TONS of entries... searching this without a clear point in time is a cumbersome job.

    how can I force cpanel to send the notifications it should send?
    I will then be able to check this with trace & grep.

    thanks again!!
     
  5. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hi,

    Try using a different email than myemail@mydomain.tld then. And see if the end result is the same. If it is, at least debugging will be easier. :) Give it a try with a different address and if it works, then you'll have to sift through logs to figure out why myemail@mydomain.tld doesn't.

    Thanks,
     
  6. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    ok, I'll do this.
    but then how can I force the notification from cpanel to occur so I can test?
    thanks!
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    The message indicates notifications are disabled in Tweak Settings. I recommend going to Tweak Settings (WHM -> Server Configuration -> Tweak Settings) to enable these settings.
     
  8. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I just discovered this:

    root@server [~]# /scripts/quotacheck
    info [quotacheck] Quota checks and notifications disabled for mail accounts and disk usage per Tweak Settings

    1-Is this why I am not receiving those quota notifications?
    2-How do I enable it?!

    please note quotas ARE calculated as some accounts are red in "Show Accounts over Quota"

    thanks again!
     
  9. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    But they are all enabled:

    checked: Notify the admin, (or the reseller), when an account has reached the "critical" Disk Usage state.
    related value is set to: 90

    checked: Notify the admin, (or the reseller), when an account has reached the "full" Disk Usage state.
    related value is set to: 97

    checked: Notify the admin, (or the reseller), when an account has reached the "warn" Disk Usage state.
    related value is set to: 80

    thanks again!
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    What about the setting simply labeled "Disk Space Usage Warnings?"
     
  11. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Yaiiks!!! :eek:
    I am writing from under my desk... shy and hidden for a couple of minutes

    I am REALLY sorry for all this noise. :eek:
    thanks for the heads up.
     
Loading...

Share This Page