• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Maillog is empty

vussoltsev

Plesk Certified Professional
Plesk Certified Professional
Hello!
Sorry for my English.
I need help with Postfix maillog.
I have VPS
CentOS Linux 7.1.1503 (Core)‬
Plesk: 12.5.30 , #11 ,
last update: 17/11/2015 20:58
So,
/usr/local/psa/var/log/maillog
is empty.

In Panel Postfix is installed as MTA.

How can i bring this to work?
 
Hi vussoltsev,

please be aware that the file "/usr/local/psa/var/log/maillog" is a SYMLINK to for example: "/var/log/maillog" ( depending to your operating system and it's configuration ).


Consider as well to use a command like:

locate FILE_NAME_OR_AND_DIRECTORY

i.e.: locate maillog

to find files on your server
 
yes, you have right! This is a SYMLINK
maillog -> /var/log/maillog
but original /var/log/maillog is empty too!
What do i wrong?

I found this:
postfix start
postfix/postfix-script: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop
postfix/postfix-script: warning: /usr/lib/sendmail and /usr/sbin/sendmail differ
postfix/postfix-script: warning: Replace one by a symbolic link to the other
postfix/postfix-script: starting the Postfix mail system
 
systemctl restart syslog.service
Failed to issue method call: Unit syslog.service failed to load: No such file or directory.

i have no: grep ^mail /etc/rsyslog.conf

i have
whereis rsyslog
rsyslog: /etc/rsyslog.d
[root@xxxxx ~]# cat /etc/rsyslog.d/listen.conf
$SystemLogSocketName /run/systemd/journal/syslog


but
grep ^mail /etc/sysctl.conf
grep ^mail /etc/sysctl.d/99-sysctl.conf

thereis nothing.

Plesk repair i have started once, there is:

There are files or directories with suspicious permissions in the
root directory of the domain 'XXXXXXXXXXX' ......................... [WARNING]
- /var/www/vhosts/XXXXXXXXXXXX/httpdocs/configuration.php

Error messages: 0; Warnings: 1; Errors resolved: 0

but i think this is not the problem.



postfix/postfix-script: warning: not set-gid or not owner+group+world executable: /usr/sbin/postdrop
postfix/postfix-script: starting the Postfix mail system
postfix/postfix-script: fatal: mail system startup failed
 
Last edited:
i've made server restart. it's ok with postfix now. but log is still empty.
 
rsyslog is not installed... will it work, if i install rsyslog? do i need than to configure logrotate by myself?
 
Back
Top