postfix check does not catch a possible startup error regarding wrong queue_directory permissions: /data/mail/conf essentially is a copy of /etc/postfix using different directories for spool, etc. (postconf output is attached.) i check the config via the postfix binary: everything looks fine. now i start postfix: postfix tells me that it is starting. rc=0 suggest success. but postfix is not running: /var/log/mail.err shows: imho, this should either be caught be "postfix check" with a proper return code. thanks, raoul
Control: tag -1 + confirmed upstream Control: found -1 3.9.1-6 Control: postfix startup does not catch $data_directory lock issue So this is $data_directory lock, not $queue_directory - ie, secondary lock. And this is indeed the case now in 2024 and postfix 3.9.1 /mjt
>> postfix tells me that it is starting. rc=0 suggest success. Nope, my analysis was wrong. The current situation: # postfix start postfix/postfix-script: warning: not owned by postfix: /var/lib/postfix/. postfix/postfix-script: starting the Postfix mail system postfix/postfix-script: fatal: mail system startup failed gandalf:/tmp/glibc# echo $? 1 so it' fixed now. I dunno when, but it works correctly in bookworm. Fixing this bug now. Thanks, /mjt