I am migrating a set of domains from a host where every setting was custom hacked to a new more managed host using virtualmin. There are a couple of hard requirements for the move and two of them seem in conflict when receiving email.
Requirement 1: Usernames must be in user@domain.tld format
Requirement 2: The postfix recipient_delimiter must be . (a period)
I realize that the first requirement is a problem with postfix, but since virtualmin has the “extra user” workaround in place, that shouldn’t be an issue.
Virtualmin creates the extra user using this format: user@domain.tld => user-domain.tld. The postfix virtual tables then convert an email for user@domain.tld to user-domain.tld@hostdomain.tld
Oops. Since the host domain has a period as the recipient delimiter, postfix will look for a user called ‘user-domain@hostdomain.tld’ That user does not exist.
It looks like I can setup virtualmin to honor the first requirement OR the second requirement, but not both. Or am I missing something?
Is there some way to control the format of the extra user? This would work perfectly if the extra user was in the ‘user-domain-tld’ format.