Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Only accept mail for host.domain.com and not domain.com

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
infinet



Joined: 21 Nov 2004
Posts: 5

Posted: Thu Dec 02, 2004 7:30 pm    Post subject: Only accept mail for host.domain.com and not domain.com  

Before I begin I am running postfix/pop3. I have a domain registered and have setup an mx handler for the domain. My question is email gets through to user@host.domain.com but when mail is sent to user@domain.com it wont get through. Is there something special I need to do to be able to have user@domain.com work?


Thanks


Jamie
Back to top  
pclissold



Joined: 24 Oct 2003
Posts: 481
Location: Netherlands

Posted: Fri Dec 03, 2004 5:06 am    Post subject:  

Check the setting of postfix's mydestination parameter:
Code: fremont postfix # postconf | grep ^mydestination
mydestination = $mydomain $myhostname localhost.$mydomain localhost
My guess is that your mydestination parameter is still set to the install default: /etc/postfix/main.cf wrote: # The default is $myhostname + localhost.$mydomain. On a mail domain
# gateway, you should also include $mydomain.
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1