Topic: MX records, SPF/DKIM and virtual domains...
I have some problem receiving mails... Before boring all of you with long lists of logfiles, I have some doubts...
What's the right configuration of MX records for virtual domains?
Is it better to point every MX record to the public IP address of the server or to the same hostname used for main domain's MX record (e.g. mail.maindomain.com)?
I'm using the first way at now, but I'm starting to feel that I missed something... for example, do I need to add the same SPF and DKIM entries in every domains' DNS zone? I added these entries only in the main domain DNS zone and all clients use imap.maindomain.com/smtp.maindomain.com even if they have a mailbox under firstvirtualdomain.com... But lots of mails do not arrive. And I have no entry into /var/log/maillog for the sender address...
Thank you again...
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.