Ubuntu16.04, installed on KVM vm. Used the default ubuntu16.04 image.
I normally create new VMs from an image with virtualmin already installed. Well today I tried clean Ubuntu16.04 install, ran apt update, apt upgrade, ran virtualmin install.sh. Went through the initial virtualmin setup questions. Config check fails on postfix, then procmail. had to make the following changes.
postfix - I had to add “virtual_alias_maps = hash:/etc/postfix/virtual” the postfix main.cf file.
to postfix main.cf file - add “mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME”
Then virtualmin check completed without errors. Happened on 3 new VM installs.
So missing lines in postfix main.cf are
virtual_alias_maps = hash:/etc/postfix/virtual
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
Or am I installing virtualmin wrong?