Linode Forum
https://forum.linode.com/

Only accept mail for host.domain.com and not domain.com
https://forum.linode.com/viewtopic.php?f=11&t=1324
Page 1 of 1

Author:  infinet [ Thu Dec 02, 2004 8: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

Author:  pclissold [ Fri Dec 03, 2004 6: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.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/