| Linode Forum https://forum.linode.com/ |
|
| Postfix not sending to the right domain https://forum.linode.com/viewtopic.php?f=11&t=3008 |
Page 1 of 1 |
| Author: | vaxen [ Sun Dec 30, 2007 5:54 pm ] |
| Post subject: | Postfix not sending to the right domain |
Hi, I've setup postfix using the guide in the wiki. My mails are going to the wrong place. Instead of going to user@domain.com, its going to user@hostname.domain.com. Here is my main.cf Code: # See /usr/share/postfix/main.cf.dist for a commented, more complete version and here is my /etc/host Code: 127.0.0.1 localhost.localdomain localhost and /etc/hostname Code: mugen.ext9.org How do I fix this? Thanks[/code] |
|
| Author: | SteveG [ Sun Dec 30, 2007 6:16 pm ] |
| Post subject: | |
What do mean "mails are going to the wrong place"? Mails you send from an external host? Mails sent from the same host? Your postfix setup says it should accept mails addressed to either @hostname.domain.com or @domain.com equally well. (that's what the mydestinations parameter does) What's in /etc/mailname? Oh, and your DNS setup is broken -- your MX record for ext9.org points to mail.ext9.org, but there's not A record for that. Is that what you were saying, that you could send mail to hostname.domain.com, but not domain.com? The DNS problem would explain that. |
|
| Author: | vaxen [ Mon Dec 31, 2007 9:17 am ] |
| Post subject: | |
/etc/mailname == ext9.org Quote: that you
could send mail to hostname.domain.com, but not domain.com? The DNS problem would explain that. Exactly what I mean. I've changed my MX record to mugen.ext9.org. Hope this works. |
|
| Author: | SteveG [ Mon Dec 31, 2007 6:27 pm ] |
| Post subject: | |
Your DNS looks good now. BTW, what I did was: Code: $ dig -t MX ext9.org |
|
| Author: | vaxen [ Mon Jan 07, 2008 9:07 am ] |
| Post subject: | |
Thanks so much SteveG |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|