Charles Marcus
2014-Jan-16 13:58 UTC
[Dovecot] Received: header showing 127.0.0.1 after switch to dovecot LDA?
Hi all, I'm guessing this is correct behavior, but wanted to make sure... I noticed that for locally delivered messages (between 2 local users inside our domain, so they never leave the server), the first Received: header line content changed after I switched to the dovecot LDA. Before, using postfix/virtual for delivery, the header looked like this: Received: from [192.168.1.25] (client.example.com [192.168.1.25]) by smtp.example.com (Postfix) with ESMTPSA id 67E33A20542; Wed, 6 Jun 2012 10:55:55 -0400 (EDT) But now it looks like this: Received: from [127.0.0.1] (client.example.com.com [192.168.1.14]) by smtp.example.com (Postfix) with ESMTPSA id 4EEF7802AF325 for <me at example.com>; Wed, 15 Jan 2014 18:29:17 -0500 (EST) so, 2 questions... 1. Why does it show 127.0.0.1 instead of the client IP, and 2. Why did postfix/virtual include the "for <me at example.com>;" but the dovecot LDA doesn't? Thanks, -- Best regards, Charles
Steffen
2014-Jan-16 20:43 UTC
[Dovecot] Received: header showing 127.0.0.1 after switch to dovecot LDA?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charles Marcus wrote:> Hi all, > > I'm guessing this is correct behavior, but wanted to make sure... > > I noticed that for locally delivered messages (between 2 local > users inside our domain, so they never leave the server), the first > Received: header line content changed after I switched to the > dovecot LDA. > > Before, using postfix/virtual for delivery, the header looked like > this: > > Received: from [192.168.1.25] (client.example.com [192.168.1.25]) > by smtp.example.com (Postfix) with ESMTPSA id 67E33A20542; Wed, 6 > Jun 2012 10:55:55 -0400 (EDT) > > But now it looks like this: > > Received: from [127.0.0.1] (client.example.com.com [192.168.1.14]) > byHELO-string (TCP info derived from IP) The double .com.com is from your anonymiziation, I guess. The client uses 127.0.0.1 as HELO> smtp.example.com (Postfix) with ESMTPSA id 4EEF7802AF325 for > <me at example.com>; Wed, 15 Jan 2014 18:29:17 -0500 (EST)just a single recipient - -- Steffen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEVAwUBUthEgHD1/YhP6VMHAQLFHggAvYZuywHBxQIQkzdEcej0ENLCTzsU+SgF 02L3WH2cJ5cxtESInrbAoXs/kmD3/dZBu/1LGh4ZndPMX7zSa2nj56XIQLdHGKVi 1ly6Rj95fkNX1q5sF5zT1Fb8Hq3tjaeuKtxK1/p2T0zAuzjSCAdMhgTcHR36kndf tnQYjgUuzH6/lvRVkVZTVpKOIh17SK98nF6BydUWQON2ErqDRsn+rXIyAFW/2DEb aD0MMesNHwgSzOMfezrXQ/HM26K+KFyJM824Jf7kSr4wDSGXGy9NtI1k2nD8bBcg g20ccFvJ3Iu/UyYd+k4Rc+JrhoWi93I2Tr+dV16T6FxiTZhWP1j0Zg==vGY4 -----END PGP SIGNATURE-----