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.

Where is my Dovecot mail log?

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

  1. akust0m

    akust0m Well-Known Member

    Joined:
    Feb 19, 2016
    Messages:
    45
    Likes Received:
    2
    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:
    62
    Likes Received:
    2
    Trophy Points:
    8
    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
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,833
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page