I’m running CentOS 6.2. Try as I might I simply cannot get incoming mail to work on a virtual server. Here’s the myriad of problems I’m unable to solve.
*Internal mail sends to others on the same server. Shows up ONLY in Postfix Mail Server section of Webmin when looking at User Mailboxes. Does not show up in Roundcube
No mail seems to make it to the server, I thought the problem was in the main.cf file at the line
inet_interfaces = localhost
which I changed to include the server IP address, but that just results in mail being bounced back by gmail or outlook live.
[code]Delivered-To: @gmail.com
Received: by 10.202.184.11 with SMTP id i11csp1375181oif;
Tue, 16 Sep 2014 16:38:20 -0700 (PDT)
X-Received: by 10.70.94.201 with SMTP id de9mr34625241pdb.103.1410910699795;
Tue, 16 Sep 2014 16:38:19 -0700 (PDT)
Return-Path: <>
Received: from li251-129.localdomain ([2600:3c01::f03c:91ff:feae:4415])
by mx.google.com with ESMTP id so6si32049546pac.164.2014.09.16.16.38.19
for <@gmail.com>;
Tue, 16 Sep 2014 16:38:19 -0700 (PDT)
Received-SPF: none (google.com: li251-129.localdomain does not designate permitted sender hosts) client-ip=2600:3c01::f03c:91ff:feae:4415;
Authentication-Results: mx.google.com;
spf=neutral (google.com: li251-129.localdomain does not designate permitted sender hosts) smtp.mail=
Received: by li251-129.localdomain (Postfix)
id 6EBBE21517D; Tue, 16 Sep 2014 16:38:19 -0700 (PDT)
Date: Tue, 16 Sep 2014 16:38:19 -0700 (PDT)
From: MAILER-DAEMON@localdomain.localdomain (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: @gmail.com
Auto-Submitted: auto-replied
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary=“4DCD3215172.1410910699/li251-129.localdomain”
Message-Id: 20140916233819.6EBBE21517D@li251-129.localdomain
This is a MIME-encapsulated message.
–4DCD3215172.1410910699/li251-129.localdomain
Content-Description: Notification
Content-Type: text/plain; charset=us-ascii
This is the mail system at host li251-129.localdomain.
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 mail system
<test-.com@localdomain.localdomain> (expanded from
<test@.com>): Host or domain name not found. Name service
error for name=localdomain.localdomain type=AAAA: Host not found
–4DCD3215172.1410910699/li251-129.localdomain
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; li251-129.localdomain
X-Postfix-Queue-ID: 4DCD3215172
X-Postfix-Sender: rfc822; @gmail.com
Arrival-Date: Tue, 16 Sep 2014 16:38:19 -0700 (PDT)
Final-Recipient: rfc822; test-.com@localdomain.localdomain
Original-Recipient: rfc822;test@.com
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=localdomain.localdomain type=AAAA: Host not found
–4DCD3215172.1410910699/li251-129.localdomain
Content-Description: Undelivered Message
Content-Type: message/rfc822
Return-Path: <@gmail.com>
Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54])
by li251-129.localdomain (Postfix) with ESMTP id 4DCD3215172
for <test@.com>; Tue, 16 Sep 2014 16:38:19 -0700 (PDT)
Received: by mail-oa0-f54.google.com with SMTP id m19so504614oag.27
for <test@.com>; Tue, 16 Sep 2014 16:38:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:reply-to:date:message-id:subject:from:to:content-type;
bh=wAGrXgvUlLqChAjlWWPTYp9iLw6VuU5NXx2HI9BipN8=;
b=qb7MqrDgYBHNCrJF8YeQ/6e9SUPq401UpQL4cwOnOtJzs4C4gyInjeD5UtWsKv3g/W
pr1JaeM3D8bfp+k9mrS4joMldyC/vPK60vpZM3TfNNydQ+DOpzqJIinHuKEx3FOy/SAH
gFB834RuZEXjGpwQ497hiZrO5w9Df/SQGH3wqIxDWkzjdphyf3eQxcw9stVNRZn7JxNi
oWWttzS7fBzul/fROiwzDNPitxW1qAHwAJjEy7y/94FN/GVf5UsuFIk1JGGiYighZUx4
AYk6v7Zbd2mftjSvWxpzLfb1kzc/Pi0WaksrzjsugPHbeFx3vAXdVgIO7B53NxHaDr/u
xi7A==
MIME-Version: 1.0
X-Received: by 10.182.236.162 with SMTP id uv2mr39007039obc.12.1410910698910;
Tue, 16 Sep 2014 16:38:18 -0700 (PDT)
Received: by 10.202.184.11 with HTTP; Tue, 16 Sep 2014 16:38:18 -0700 (PDT)
Reply-To: @gmail.com
Date: Tue, 16 Sep 2014 16:38:18 -0700
Message-ID: CADZm3zo=RUpPCCgPMo3jpuX1Y6f1aaTKj_k1ATESDnGtRKw2Rw@mail.gmail.com
Subject: ugh
From: Jason <@gmail.com>
To: test@.com
Content-Type: multipart/alternative; boundary=001a11c2eb5204ba310503373f14
–001a11c2eb5204ba310503373f14
Content-Type: text/plain; charset=UTF-8
I really hate you postfix.
–001a11c2eb5204ba310503373f14
Content-Type: text/html; charset=UTF-8
–001a11c2eb5204ba310503373f14–
–4DCD3215172.1410910699/li251-129.localdomain–[/code]
Note, changing the line back to localhost without the IP, emails no longer bounce back but they aren’t delivered either.