Posts: 10

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...

Ok, I think I missed this one. Has this to be set even if users are using the same host of main server?I mean that both user@domain1.com and user@domain2.com are using smtp.domain1.com to send mail... is this wrong?