In the process of migrating my mail server to a new host. One of my struggles is OpenDKIM isn't signing outgoing mail (not internal). Currently my TrustedHosts
file is as follows:
127.0.0.1
::1
localhost
*.example.com
(Where example.com is my mail domain.)
I'm sending mail from my IMAP client from my phone. If I add my phone's IP, the message signs properly.
A number of tutorials I've seen run this layout, and is what I've had configure until the migration. Am I really to wildcard all hosts? What's the recommended configuration?