I accidentally managed to “chown virtualservername /etc -R” and then used “for p in $(rpm -qa); do rpm --setugids $p; done” which seemed to restore ownership to just about everything. However now no mail is delivered to any mailbox on the server. /var/log/procmail.log is always empty.
After sending a test piece of mail to a mailbox, maillog shows:
Jul 24 07:56:10 f postfix/pickup: 2DABBC007CE: uid=0 from=
Jul 24 07:56:10 f postfix/cleanup: 2DABBC007CE: message-id=20190724115610.2DABBC007CE@f.myserver.com
Jul 24 07:56:10 f postfix/qmgr: 2DABBC007CE: firstname.lastname@example.org, size=334, nrcpt=1 (queue active)
Jul 24 07:56:10 f postfix/local: 2DABBC007CE: email@example.com, firstname.lastname@example.org, relay=local, delay=0.16, delays=0.1/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Jul 24 07:56:10 f postfix/qmgr: 2DABBC007CE: removed
After this, the email is never seen again. Does anyone have any suggestions? Thanks.