Deutsch   English   Français   Italiano  
<vjb7vq$1d3e2$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: AMM <anon.amish@gmail.com>
Newsgroups: comp.mail.sendmail
Subject: How to know local IP on which mail was received on
Date: Wed, 11 Dec 2024 10:59:30 +0530
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vjb7vq$1d3e2$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 11 Dec 2024 06:30:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="776ffbd3c8f26c25077b1d1a2fe4ef95";
	logging-data="1478082"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/82f9tfFAPiuuzjGRocXvQyI8gWW2Xaec="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:5+mYKgKFR0kQkKbjWWR6hY28Sxk=
Content-Language: en-US
Bytes: 1587

Hello

So I have two IPs configured on my mail server (acting as MX for my domain).

Say public IPs are 1.2.3.4 (eth1) and 5.6.7.8 (eth2)

When I receive email, system logs sender IP but does not log on what IP 
the email was received on.

Log line looks like this:

Dec 11 08:26:48 foo1 sm-mta[1707322]: STARTTLS=server, 
relay=mail-ed1-f41.google.com [209.85.208.41], version=TLSv1.3, 
verify=NOT, cipher=TLS_AES_256_GCM_SHA384, bits=256/256

How do I know if email came on 1.2.3.4 (eth1) or 5.6.7.8 (eth2)?

I want to debug some issue which requires to know local IP the email 
came on.

Please do let me know, how to check the same.

Thank you,

AMM