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

[SOLVED]Postfix trying to send locally, not using MX records
https://forum.linode.com/viewtopic.php?f=11&t=8619
Page 1 of 1

Author:  ericholtman [ Mon Mar 26, 2012 9:38 am ]
Post subject:  [SOLVED]Postfix trying to send locally, not using MX records

I have a Ubuntu 10.04 LTS server that I've recently set up.

postfix seems to be running fine (I use it for outgoing only, I using Google Apps in the domain's incoming mail).

If I send mail from that server however (like just using 'mail xyzzy@foo.com' from the command line), it doesn't deliver the mail to google's servers.

I get a line in /var/log/mail.info: 'unknown user: xyzzy'.

How can I tell postifx that for foo.com (my domain), I don't want it to try and deliver locally, I want to use the standard MX records?

Author:  ericholtman [ Mon Mar 26, 2012 9:57 am ]
Post subject: 

(bangs head).

Did it to myself again: found the answer right after posting.

I removed foo.com from 'mydestinations' in /etc/postfix/main.cf.

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