My current postfix configuration fails the configuration check within Virtualmin however it work perfectly. When I try to comply with the postfix check it breaks postfix.
I don’t want to disable the module because I actually use Virtualmin to manage the virtual user aliases within postfix which is currently working.
Is there a way I can disable the configuration check for the postfix module? Or at least get it to ignore the mydestination line?
It’s not actually possible to make Virtualmin ignore the warnings there, but we can try to tweak the config so that the warning goes away.
You may want to verify that if you run the command “hostname”, that the output you receive there is included in the “mydestination” line of your main.cf file.
If that doesn’t help, what you may want to do is comment out myorigin, mydomain, myhostname, which should all be set to reasonable defaults on their own. Setting those can in some cases confuse Virtualmin.
Make sure you restart Postfix after making any changes to it.