Stupid mailserver question
How come I get email addresses like user@mail.domain.com instead of user@domain.com? I'm using sendmail and dovecot. Surely, there's some setting I haven't gotten right, but I'm a bit lost. Still very new to all this...DNS is correct as far as I can tell:
domain.com. IN SOA ns1.domain.com. hostmaster.domain.com. (
XXXXXXXXX
10800
3600
604800
38400 )
domain.com. IN NS ns1.domain.com.
domain.com. IN A xx.xx.xx.xx6
domain.com. IN NS ns2.domain.com.
www.domain.com. IN CNAME domain.com.
ftp.domain.com. IN CNAME domain.com.
domain.com. IN MX 10 mail.domain.com.
mail.domain.com. IN A xx.xx.xx.xx3
ns1.domain.com. IN A xx.xx.xx.xx4
ns2.domain.com. IN A xx.xx.xx.xx5
I have also added domain.com to local domains. I'm only hosting this one domain though... so the cw file reads:
localhost
localhost.localdomain
domain.com
Don' t really know how to explain the issue better, but hopefully you understand what I'm talking about.