Install.sh - ubuntu16 - missing procmail-postfix settings

1 post / 0 new
#1 Thu, 03/29/2018 - 16:05
scotwnw

Install.sh - ubuntu16 - missing procmail-postfix settings

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.

  1. postfix - I had to add "virtual_alias_maps = hash:/etc/postfix/virtual" the postfix main.cf file.

  2. 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?