Topic: Received: from localhost (localhost.localdomain [127.0.0.1])
======== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue:
====
Looking at the sent email headers, the above line seems to exist. Also, iredadmin dashboard lists the same.
iRedAdmin v0.4 (MySQL)
Hostname localhost.localdomain
$hostname -f gives mail.mydomain.com
I've also added the same to my /etc/hosts file.
I've checked the postfix main.cf file for myorigin & hostname and it exists
//main.cf --postfix
inet_protocols = all
virtual_alias_domains =
myhostname = mail.mydomain.com
myorigin = mail.mydomain.com
allow_percent_hack = no
swap_bangpath = no
mydomain = mydomain.com
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
Also, the received email headers
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of user@mydomain.com designates xx.xx.xx.xx as permitted sender) smtp.mail=user@mydomain.com;
dkim=pass header.i=@mydomain.com
Received: from localhost (localhost.localdomain [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTP id EF9E474B43
for <mygmailinbox@gmail.com>; Mon, 9 Mar 2015 10:27:03 +0000 (UTC)
Authentication-Results: mail.mydomain.com (amavisd-new);
dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
header.d=mydomain.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mydomain.com; h=
user-agent:message-id:references:in-reply-to:subject:subject:to
:from:from:date:date:content-transfer-encoding:content-type
:content-type:mime-version; s=dkim....
X-Virus-Scanned: amavisd-new at mail.mydomain.com
Received: from mail.mydomain.com ([127.0.0.1])
by localhost (mail.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id XVLOsmsMgrJ7 for <mygmailinbox@gmail.com>;
Mon, 9 Mar 2015 10:27:02 +0000 (UTC)
Received: from mail.mydomain.com (localhost.localdomain [127.0.0.1])
by mail.mydomain.com (Postfix) with ESMTPSA id D9B31204AC
for <mygmailinbox@gmail.com>; Mon, 9 Mar 2015 10:27:01 +0000 (UTC)
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.