On 3/2/2012 1:09 PM, Jay G. Scott wrote:
> 
> Greetings,
> 
> someone made this statement to me:
> 
> | The MTA will record the IP address of the server that sent the message.
> | However, under some circumstances the MTA is not able to find that IP 
> address.

Logging the client IP has nothing to do with DNS nor your nameserver
settings.

However, broken DNS could prevent postfix from finding the
associated hostname for a specific IP.

> 
> how would i verify that my MTA is finding the IP?
> (this may explain a lot of my issues.  if postfix really isn't getting
> the IP, then that means something.  but i've been checking name service
> issues by looking at the DNS tables and dig/nslookup.  i'm told i can
> determine this question by looking at the maillog.  but i don't know what
> i'm looking for.)

You would probably would get a more useful response if you post
something about your specific issue, including your config and
related logging.
http://www.postfix.org/DEBUG_README.html#mail

[snip unrelated local submission and filter logging, leaving exactly
one entry]
> Feb 27 07:39:03 ns4 postfix/smtpd[22889]: 1B4831D62B0: 
> client=unknown[41.248.118.66]

Assuming the above IP isn't yours, then it appears your postfix is
properly logging the remote IP.

We can't tell from the logs you shared if postfix is properly
determining the remote hostname.  The symptom of that is clients
labeled "unknown" that shouldn't be; the above client really is unknown.

See this link for when postfix correctly labels a client as unknown
http://www.postfix.org/postconf.5.html#reject_unknown_client_hostname



  -- Noel Jones

Reply via email to