I have five virtual domains and growing but cannot get email working on any. I posted another issue here regarding that
I got one step closer however.
I installed certbot and setup a chrontab job for it as per instructions found here on this site. I had to add a -n switch in the command to run non interactively but then successfully got a cert and installed it to /home/domain/ssl_certificates in each domain.
I then went into apache server configuration and pointed to the new cert for each virtual server in webmin.
I tested email and could not connect.
I then went into the ssl configuration setting in virtualmin for the first domain to test and pointed the virtualdomain to the cert and key installed to it’s /home/domain/ssl_certificates directory.
I copied this cert and key configuration to webmin, dovecot, postfix and then retested email
This time for my test virtualdomain and test user I could connect after monkeying with server settings in thunderbird and set the user to user.domain for both servers.
Then thing is now I cannot send or recieve email out of the account. I get the same error in both directions:
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the server for the recipient domain linuxnutz.com by mail.linuxnutz.com. [2600:3c01::f03c:91ff:fea1:2613].
The error that the other server returned was:
554 5.7.1 user@domain: Recipient address rejected: Access denied
No that is not the user or domain I am using.
I reset the password for the account so that it is known to be good and went through all the simple stuff, it’s server related and it appears to be postfix (?)
I have set up dovecot and postfix manually for single domains in the past. I have never had to monkey around with it this much in virtualmin, it just worked.
I really need to get this worked out and I appreciate any help anyone can give me. Seems this should have worked out of the box with the snakeoil cert and key for each vdomain i set up but it is not.
BTW, this is debian 8 I used to use centOS with virtualmin.
This is the last step until I can just set it and forget it! Gotta make that money!