Path: ...!weretis.net!feeder9.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail From: Claus =?iso-8859-1?Q?A=DFmann?= Newsgroups: comp.mail.sendmail Subject: Re: How to know local IP on which mail was received on Date: Wed, 11 Dec 2024 01:31:39 -0500 (EST) Organization: MGT Consulting Sender: Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 11 Dec 2024 06:31:39 -0000 (UTC) Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148"; logging-data="26141"; mail-complaints-to="abuse@misty.com" Mail-Copies-To: never X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: ca@x2.esmtp.org (Claus Assmann) Bytes: 1798 Lines: 22 AMM wrote: > How do I know if email came on 1.2.3.4 (eth1) or 5.6.7.8 (eth2)? What do you currently use for DaemonPortOptions? you could use multiple DaemonPortOptions and specify Name User-definable name for the daemon (defaults to "Daemon#") Addr Address mask (defaults INADDR_ANY) see doc/op/op.* Or you could add some custom log entry via a ruleset using the syslog map and log ${daemon_addr} The IP address the daemon is listening on for connections. together with the queue id. -- Note: please read the netiquette before posting. I will almost never reply to top-postings which include a full copy of the previous article(s) at the end because it's annoying, shows that the poster is too lazy to trim his article, and it's wasting the time of all readers.