On Tue, Nov 16, 2010 at 06:06:27PM +0000, Chris G wrote:

> On Tue, Nov 16, 2010 at 12:34:38PM -0500, Wietse Venema wrote:
> > Chris G:
> > > Yes, I realise that "It connects from 84.45.228.40" but I can find no
> > > reason at all *why* the postfix server process on mws.zbmc.eu thinks
> > > that the connection is from 84.45.228.40.
> > 
> > Because the operating system kernel said so when Postfix asked.
>
> Is the issue at the client end or the server end?

Neither, there is no issue. The connection came from the reported IP
address. The issue is almost certainly just confusion on your part.

> I.e. is it the postfix/sendmail

The Postfix "sendmail" utility does not engage in any network
communications. It just adds a file to the Postfix "maildrop" queue.

It sounds like you have both Postfix and Sendmail on the same systems,
and perhaps confused about which MTA is handling which mail.

> The question is how do I overcome it, what system calls does Postfix use
> to get the hostname and why do they differ from what I see when I issue
> the command 'hostname'?

Wrong question. The right question is:

    - Now that I know that the traffic is coming from the reported
      IP address, how do I identify the sending client and either
      allow it to send from that IP or reconfigure it to use a different
      IP address.

-- 
        Viktor.

Reply via email to