I have an old log warning I want to clean up, and am assuming that the
aliases and aliases.db file would typically be in the same directory. When
the postfix service starts at boot;
postfix/postalias[607]: fatal: open /etc/postfix/aliases.db: Read-only file
system

The location is currently configured in main.cf;
# postconf alias_maps
alias_maps = hash:/etc/postfix/aliases

And looks like the installer puts the original alias file there too, so I
assume my config is per the default config;
# qlist postfix | grep aliases
/etc/postfix/aliases

But this;
# grep aliases /lib/systemd/system/postfix.service
ExecStartPre=-/usr/bin/newaliases
ReadWritePaths=-/etc/mail/aliases.db

Suggests that /etc/mail is the correct location, so i'm wondering if i
missed an update to postfix.service. Can a postfix user please check their
ReadWritePaths to see if it's /etc/mail/aliases.db or
/etc/postfix/aliases.db ? Cheers.

Reply via email to