Topic: hostname vs first virtual domain
==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7
- Related log if you're reporting an issue:
Hey, I'm confused about hostname vs first virtual domain, I realise you're busy, if you can point me to a reference I'm happy to read up on it.
I have a bunch of identities / aliases email@example.com, firstname.lastname@example.org, email@example.com, I configured the machine I want to run iredmail on to have the hostname machine.a.com. This is returned by hostname -f. During setup, when asked for the first virtual domain, I put a.com.
Now that things are set up, I thought I'd be able to point mailbox aliases / redirections from the mail servers at a.com, b.com, and c.com to firstname.lastname@example.org. But That's not working, I assume because iredmain only has a mail box for email@example.com, so will reject mail sent to the hostname.
Is the only / best method to forward everything to the address for the first virtual domain ?
In truth, I'm a little confused by the compulsory virstual host name. Can I not create virtual accounts on the actual host name?
Where does reverse DNS fit in here? I thought that good email servers sent mail from ip addresses that provided the same reverse DNS as the host name in the email headers? the reverse dns on this machine is set up to be machine.a.com should it be something else?