• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Empty Maillog Issue

skywalllker

New Pleskian
Hi, I can't figure out why my maillog is empty. I have checked both locations below but result remain the same:

/usr/local/psa/var/log/maillog
/var/log/maillog

I'm running this Plesk inside OpenVZ container (using centos-7-x86_64-minimal template)

Plesk Version: Web Admin Edition

Thank you!
 
Hi skywalllker,

depending on your "/etc/rsyslog.conf" ( or "/etc/syslog.conf" ) - configuration, there might be a different log - location defined, than the standard "/usr/local/psa/var/log/maillog", which should be a symlink to "/var/log/maillog".

Please make sure, that rsyslog is running as well and restart it, if you made some changes.:

service rsyslog restart
( or: service syslog restart )
There might be as well a problem with psa, so you could as well try to run the command:

/etc/init.d/psa stop && /etc/init.d/psa start
( or: service psa stop && service psa start )​
 
Thank you for your reply.

I tried to locate rsyslog.conf and syslog.conf in /etc directory, but unfortunately none of the specified files exist. However, there's a folder named rsyslog.d containing files named listen.conf with content below:

$SystemLogSocketName /run/systemd/journal/syslog (I have no clue if this relevant to my issue or not)

Also, after restarting psa, the command you suggested return error as below:

[root@plesk etc]# service rsyslog restart
Redirecting to /bin/systemctl restart rsyslog.service
Failed to issue method call: Unit rsyslog.service failed to load: No such file or directory.


[root@plesk etc]# service syslog restart
Redirecting to /bin/systemctl restart syslog.service
Failed to issue method call: Unit syslog.service failed to load: No such file or directory.

Thank you
 
Is this a fresh installation?

please use "find / -name 'rsyslog.conf' 2> /dev/null" ( or syslog.conf ), to locate your configuration file.

If you need to install rsyslog, for CentOS the command would be "yum -y install rsyslog"
 
Yes, this is a fresh installation. Following your advise, I have installed 'rsyslog' and now my maillog started to have content as it suppose to.

Thank you for your help :)
 
I also had this issue on a fresh install of Plesk 12 on CentOS7 OpenVZ Container. Shouldn't the Plesk installer automatically install rsyslogd on CentOS 7 as part of its standard RPMs?
 
Back
Top