• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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