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!

Where is my Dovecot mail log?

Discussion in 'E-mail Discussion' started by akust0m, Apr 3, 2016.

  1. akust0m

    akust0m Well-Known Member

    Joined:
    Feb 19, 2016
    Messages:
    63
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    Melbourne
    cPanel Access Level:
    Root Administrator
    Hello,

    I am quite new to cPanel but there doesn't appear to be a log file at /var/log/maillog?

    Do I have to enable something within cPanel to generate this log file?

    Edit: Actually I've noticed that syslog is not installed in CentOS minimal version, I assume it needs the syslog daemon running?
     
    #1 akust0m, Apr 3, 2016
    Last edited: Apr 3, 2016
  2. ssfred

    ssfred Well-Known Member

    Joined:
    Jan 6, 2012
    Messages:
    64
    Likes Received:
    4
    Trophy Points:
    58
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello
    syslogd is replaced with Rsyslogd in newer installations. You can check the availability of the service using the command

    # ps aux | grep syslog
    root 689 0.0 0.0 39428 3152 ? Sl 2015 27:55 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5

    Once the service availability is confirmed, check whether the service is properly configured for mail server logs. You can confirm it by checking the following entry in /etc/rsyslog.conf

    # Log all the mail messages in one place.
    mail.* -/var/log/maillog
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,427
    Likes Received:
    1,960
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    Yes, as mentioned, you should see rsyslogd installed by default. Has any new data populated to /var/log/maillog since your original post? Is Dovecot running on this system? EX:

    Code:
    /scripts/restartsrv_dovecot --status
    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