1

Topic: is it possible to include my current ip ?

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
hello

i was wondering if it is possible to include my current pc ip in the sending header i don't know how to explain it but if you look at this header you can see that the first ip is my local (current pc) ip... i don't know if the smtp tells the isp that this is the sending ip or what... i would like to know if it is possible to add it to iredmail

thanks

Received: from mx96.smtp-pulse.com ([78.41.200.158])
    by resimta-ch2-05v.sys.comcast.net with SMTP
    id lhy1cpaD3KkUIlhy4cV5Bc; Wed, 08 Mar 2017 20:13:53 +0000
X-CAA-SPAM: F00000
X-Authority-Analysis: v=2.2 cv=FZNH/N26 c=1 sm=1 tr=0 b=1
 a=zIwex2FK6PEaGuihyp3yDg==:117 a=zIwex2FK6PEaGuihyp3yDg==:17
 a=laYOLQwoPZsA:10 a=khwyK8DuSVkA:10 a=6Iz7jQTuP9IA:10 a=IfkSaTGZLvMA:10
 a=9DvhAHx2yrWFMPxQWpQA:9 a=cOyJOELkKlshfLwIkv0A:9 a=QEXdDO2ut3YA:10
 a=oIgaEyfDAAAA:8 a=uW_Qeklv9BTNNsRD0F4A:9 a=_W_S_7VecoQA:10 a=G0eu9AnEUbcA:10
 a=7-MYyaFW4_doMO4dsJaf:22
X-Xfinity-Message-Heuristics: IPv6:N;TLS=1;SPF=3;DMARC=F
Authentication-Results: resimta-ch2-05v.sys.comcast.net;
    dkim=pass header.d=smtp-pulse.com header.i=@smtp-pulse.com header.b=I2YBBYN+
Received: from [127.0.0.1] (helo=smtp-pulse.com)
    by smtp-pulse.com with esmtp (Exim 4.88_29-9c63814-XX)
    (envelope-from <******@*****.com>)
    id 1clhxz-0002OB-HI
    for cherrysixteen@comcast.net; Wed, 08 Mar 2017 20:13:47 +0000
From: "Jack" <******@*******.com>
Subject: good evening
To: "cherry" <*******@*********.net>
Content-Type: multipart/alternative;
 boundary="2Mx=_3LyMXSZoB6Y1bwCBMoAh0OiBULxig"
MIME-Version: 1.0
Organization: Jack
Date: Wed, 8 Mar 2017 20:13:48 +0000
Errors-To: postmaster@smtp-pulse.com
X-Complaints-To: abuse@smtp-pulse.com
Precedence: bulk
Received: from username [31.6.30.195] (Authenticated sender:
 GraceKerns@z.com) by smtp-pulse.com (Exim); Wed,08 Mar 2017 20:03:47
List-Unsubscribe: <mailto:unsubscribe_190ddeb192362cd37c51ffaa65080576@smtp-pulse.com>,
 <http://unsubscribe.smtp-pulse.com/190ddeb192362cd37c51ffaa65080576>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=smtp-pulse.com; 
 i=@smtp-pulse.com; q=dns/txt; s=smtpsign; t=1489004027; h=Subject : 
 From : To; bh=B6D0U2UhAvN4v5wFM3fznhadQAJmtM8mibnG8UqsZyo=; 
 b=I2YBBYN+658J/TuGbpAqYc2jdj7APy4sSXv7m05aPbIdy46J4oa033hi4K01p9s7X+an0M
 fBaq0gLy7VcEusRSKnlZ/kFSOqqfzGCfsYCvas30FZ88cflwL8jPFzArESsxjWkuA2RKWM9R
 ED8E//IfF2Dfraj/69r8dwX+Jtku4=
Message-Id: <1clhxz-0002OB-HI@mx96.smtp-pulse.com>
X-CMAE-Envelope: MS4wfFojkStTq8Sb0fipHwg7hGdtrkKo6Ld6Cg6xkCDVnKt8+iNjrZsxbGbiibJ2XLUW4FCDEqdW+d1KWWOpuY0xboz9u75HMPk+LmUAb2Xaf9GiLp3L/rll
 pWEjeud/GT2XFXfqH14Mu8rELEeAVrDtiw11EGXnP+UI+wtGm2IMQuzcMrXSW87qC/OjBcnMFv3bZQ==

this is the line i'm intrested in

Received: from username [31.6.30.195]

the 31.6.30.195 is my current pc ip

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: is it possible to include my current ip ?

Sounds like Postfix parameter "smtpd_sasl_authenticated_header":
http://www.postfix.org/postconf.5.html# … ted_header

3

Re: is it possible to include my current ip ?

Should i change a parameter or include it somewhere ? the postfix file doesn't really specify what to do with it

4

Re: is it possible to include my current ip ?

Just add 'smtpd_sasl_authenticated_header = yes' in /etc/postfix/main.cf, then restart postfix service and check whether you get what you want in mail header.