Plesk 12, Amavisd, Postfix, Spamassassin, Clamd, OS: Centos 6.x
I have tested many options in amavis and postfix but i can't get to change [127.0.0.1] in mail header. This header look's like this when i send from [email protected] account on my server to [email protected] server. Is there a chance i could change that 127.0.0.1 to server ip?. I am struggling with this for year now !
At this moment file hosts in etc/hosts has
Headers in email looks like this
Amavis config has 127.0.0.1 only on mynetworks and inet_acl directive
Postfix has it on, smtpd_milters...., content_filter=amavisfeed.....
Postfix smtp_bind_address, smtpd_banner and smtp_helo_name does not change anything if set.
Either can get to work smtp_header_checks in postfix
Does anyone have any advice or what i should change ?
Hosts file would be my guess but i have tryed and still no go.
Thanks in advance.
I have tested many options in amavis and postfix but i can't get to change [127.0.0.1] in mail header. This header look's like this when i send from [email protected] account on my server to [email protected] server. Is there a chance i could change that 127.0.0.1 to server ip?. I am struggling with this for year now !
At this moment file hosts in etc/hosts has
Code:
127.0.0.1 server.my.com server localhost localhost.localdomain
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
127.0.0.1 localhost.localdomain localhost
xx.xx.xxx.xxx server.my.com server isp.name.com
Headers in email looks like this
Code:
Return-Path: <[email protected]>
Received: by remote.com (remote.com mailsystem) with LMTP;
Tue, 04 Aug 2015 03:15:54 +0200
Received: from server.mail.com [xx.xx.xxx.xxx]
by mx8.remote.com with ESMTP id nvMXjI;
Tue, 04 Aug 2015 03:15:49 +0200
Received-SPF: pass (mx8.remote.com: domain of [email protected]
designates xx.xx.xxx.xxx as permitted sender)
Received: from server.mail.com (server.mail.com [127.0.0.1])
by server.mail.com (Postfix) with ESMTP id D99E06C402AE
or <[email protected]>; Tue, 4 Aug 2015 03:15:46 +0200 (CEST)
X-Virus-Scanned: amavisd-new at server.mail.com
X-Spam-Flag: NO
X-Spam-Score: 0.224
X-Spam-Level:
X-Spam-Status: No, score=0.224 tagged_above=-9999 required=6.2
tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_16=1.048, HTML_MESSAGE=0.001,
HTML_SHORT_LINK_IMG_3=0.328, RP_MATCHES_RCVD=-0.064,
T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=ham
Authentication-Results: server.mail.com (amavisd-new);
domainkeys=pass (1024-bit key) [email protected]
header.d=server.mail.com; dkim=pass (1024-bit key) header.d=server.mail.com
Received: from server.mail.com ([127.0.0.1]) by server.mail.com (server.mail.com [127.0.0.1]) (amavisd-new, port 10024)
with LMTP id x3228ksghOgo for <[email protected]>;
Tue, 4 Aug 2015 03:15:46 +0200 (CEST)
Received: from www.mail.mail.com (server.mail.com [127.0.0.1])
Amavis config has 127.0.0.1 only on mynetworks and inet_acl directive
Postfix has it on, smtpd_milters...., content_filter=amavisfeed.....
Postfix smtp_bind_address, smtpd_banner and smtp_helo_name does not change anything if set.
Either can get to work smtp_header_checks in postfix
Does anyone have any advice or what i should change ?
Hosts file would be my guess but i have tryed and still no go.
Thanks in advance.