Re: How to know local IP on which mail was received on

Liste des GroupesRevenir à cm sendmail 
Sujet : Re: How to know local IP on which mail was received on
De : INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please) (at) *nospam* esmtp.org (Claus Aßmann)
Groupes : comp.mail.sendmail
Date : 11. Dec 2024, 07:31:39
Autres entêtes
Organisation : MGT Consulting
Message-ID : <vjbbkb$pgt$1@news.misty.com>
References : 1
User-Agent : trn 4.0-test77 (Sep 1, 2010)
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.

Date Sujet#  Auteur
11 Dec 24 * How to know local IP on which mail was received on5AMM
11 Dec 24 `* Re: How to know local IP on which mail was received on4Claus Aßmann
11 Dec 24  `* Re: How to know local IP on which mail was received on3AMM
11 Dec 24   `* Re: How to know local IP on which mail was received on2Claus Aßmann
12 Dec 24    `- Re: How to know local IP on which mail was received on1Grant Taylor

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal