Whether I test mail from the GUI, or directly from the command line, postfix dies with a segmentation fault. For instance:
aliasesdb: /usr/libexec/postfix/aliasesdb: line 5: 22179 Segmentation fault /usr/bin/newaliases
[root@vitalpbx ~]# sendmail -bv root
Which lead me to investigate and find that Postfix 2.10.1 is installed. Why? When the last 2.10 release was in 2016 (2.10.10) and 2.10.1 is from 2013.
Still, 2.10.1 shouldn't die, should it? I have tried a different main.cf which implements a null client, as should be sufficient for a system that is not receiving any mail. But to no avail.
I had tried that before I posted. It updated a lot of packages, but none involving postfix. Did not help 🙁
_ _ _ _ ______ ______ _ _
| | | (_)_ | (_____ (____ \ \ / /
| | | |_| |_ ____| |_____) )___) ) \/ /
\ \/ /| | _)/ _ | | ____/ __ ( ) (
\ / | | |_( ( | | | | | |__) ) /\ \
\/ |_|\___)_||_|_|_| |______/_/ \_
Version : 2.3.8-3
Asterisk : Asterisk 16.6.0
Linux Version : CentOS Linux release 7.7.1908 (Core)
Welcome to : vitalpbx.local
Uptime : 9 min
Load : Last Minute: 0,11, Last 5 Minutes: 0,14, Last 15 Minutes: 0,13
Users : 1 user,
IP Address : 10.0.12.31
Clock : di 2019-11-26 10:35:20 CET
NTP Sync. : yes
Since I wasn't getting any metoo's and Google didn't provide any clues either, which it would if this was not a freak accident, I decided to be bold an yum reinstall postfix.
That fixed it.
Does make me wonder how this could have happened and worse, what else it may have affected.