I can recieve mail from gmail.com and hotmail.com but can't send mail back to them. I can send mail locally. I got this error. Code: This is a MIME-encapsulated message. --5D72216EC058.1133892735/server1.example.com Content-Description: Notification Content-Type: text/plain This is the Postfix program at host server1.example.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to <postmaster> If you do so, please include this problem report. You can delete your own text from the attached returned message. The Postfix program <[email protected]>: Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again --5D72216EC058.1133892735/server1.example.com Content-Description: Delivery report Content-Type: message/delivery-status Reporting-MTA: dns; server1.example.com X-Postfix-Queue-ID: 5D72216EC058 X-Postfix-Sender: rfc822; [email protected] Arrival-Date: Thu, 1 Dec 2005 12:26:02 -0500 (EST) Final-Recipient: rfc822; [email protected] Action: failed Status: 4.0.0 Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error for name=gmail.com type=MX: Host not found, try again --5D72216EC058.1133892735/server1.example.com Content-Description: Undelivered Message Content-Type: message/rfc822 Content-Transfer-Encoding: 8bit Received: from UebiMiau (localhost.localdomain [127.0.0.1]) by server1.example.com (Postfix) with SMTP id 5D72216EC058 for <[email protected]>; Thu, 1 Dec 2005 12:26:02 -0500 (EST) Received: from client 71.244.96.15 for UebiMiau2.7 (webmail client); Thu, 1 Dec 2005 12:26:02 +0100 Date: Thu, 1 Dec 2005 12:26:02 +0100 From: "Web2_admin" <[email protected]> To: [email protected] Reply-to: "Web2_admin" <[email protected]> Subject: teste X-Priority: 3 X-Mailer: UebiMiau 2.7.2 X-Original-IP: 71.244.96.15 Content-Transfer-Encoding: 8bit X-MSMail-Priority: Medium Importance: Medium Content-Type: text/html; charset="iso-8859-1"; MIME-Version: 1.0 Message-Id: <[email protected]> test --5D72216EC058.1133892735/server1.example.com-- I says it can't find the MX record for gmail.com. Any suggestions would be appreciated.
Please check the file /etc/resolv.conf There must be at least one nameserver inside. Please have a look at this post too: http://www.howtoforge.com/forums/showthread.php?t=1441