Header has unknown for IP address

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Header has unknown for IP address

Sophie Loewenthal
Hi,

I don’t believe my Postfix install is doing the PTR lookups, or it broke in some way.  

I have this enabled:
# postconf |grep smtpd_peername_lookup
smtpd_peername_lookup = yes
 
and my DNS can resolve the name:
# host 168.100.1.3
3.1.100.168.in-addr.arpa domain name pointer camomile.cloud9.net.

But the headers give unknown:
Received: from camomile.cloud9.net (unknown [168.100.1.3])
        by mx10.example.com (Postfix) with ESMTPS id BA9143C
        for <[hidden email]>; Wed, 27 Jun 2018 15:48:44 +0000 (UTC)


How could I debug/enable this? What was missed in the config.

Many thanks, S.




Reply | Threaded
Open this post in threaded view
|

Re: Header has unknown for IP address

Noel Jones-2
On 6/27/2018 2:45 PM, Sophie Loewenthal wrote:

> Hi,
>
> I don’t believe my Postfix install is doing the PTR lookups, or it broke in some way.  
>
> I have this enabled:
> # postconf |grep smtpd_peername_lookup
> smtpd_peername_lookup = yes
>  
> and my DNS can resolve the name:
> # host 168.100.1.3
> 3.1.100.168.in-addr.arpa domain name pointer camomile.cloud9.net.
>
> But the headers give unknown:
> Received: from camomile.cloud9.net (unknown [168.100.1.3])
> by mx10.example.com (Postfix) with ESMTPS id BA9143C
> for <[hidden email]>; Wed, 27 Jun 2018 15:48:44 +0000 (UTC)
>
>
> How could I debug/enable this? What was missed in the config.
>
> Many thanks, S.
>
>
>
>


This is often from running smtpd in an incomplete chroot environment.

To test, turn off the chroot flag in master.cf, and restart postfix.
If that fixes the problem, then you're missing some files in your
chroot.

http://www.postfix.org/DEBUG_README.html#no_chroot


  -- Noel Jones
Reply | Threaded
Open this post in threaded view
|

Re: Header has unknown for IP address

Sophie Loewenthal
Thanks Noel.

I restarted with chroot disabled and problem went away.  

Unsure what’s missing in chroot: I am using postfix 3.1.8-0+deb9u1  from Debian repos.  Is there a guide to putting the missing config in?




> On 27 Jun 2018, at 21:52, Noel Jones <[hidden email]> wrote:
>
> On 6/27/2018 2:45 PM, Sophie Loewenthal wrote:
>> Hi,
>>
>> I don’t believe my Postfix install is doing the PTR lookups, or it broke in some way.  
>>
>> I have this enabled:
>> # postconf |grep smtpd_peername_lookup
>> smtpd_peername_lookup = yes
>>
>> and my DNS can resolve the name:
>> # host 168.100.1.3
>> 3.1.100.168.in-addr.arpa domain name pointer camomile.cloud9.net.
>>
>> But the headers give unknown:
>> Received: from camomile.cloud9.net (unknown [168.100.1.3])
>> by mx10.example.com (Postfix) with ESMTPS id BA9143C
>> for <[hidden email]>; Wed, 27 Jun 2018 15:48:44 +0000 (UTC)
>>
>>
>> How could I debug/enable this? What was missed in the config.
>>
>> Many thanks, S.
>>
>>
>>
>>
>
>
> This is often from running smtpd in an incomplete chroot environment.
>
> To test, turn off the chroot flag in master.cf, and restart postfix.
> If that fixes the problem, then you're missing some files in your
> chroot.
>
> http://www.postfix.org/DEBUG_README.html#no_chroot
>
>
>  -- Noel Jones

Reply | Threaded
Open this post in threaded view
|

Re: Header has unknown for IP address

Noel Jones-2
Sorry, I don't debian.

IIRC, the Debian postfix package supplies a script that is supposed
to populate the chroot on bootup.  Track down the script and run it,
or ask on a debian-specific forum.



  -- Noel Jones



On 6/27/2018 2:57 PM, Sophie Loewenthal wrote:

> Thanks Noel.
>
> I restarted with chroot disabled and problem went away.  
>
> Unsure what’s missing in chroot: I am using postfix 3.1.8-0+deb9u1  from Debian repos.  Is there a guide to putting the missing config in?
>
>
>
>
>> On 27 Jun 2018, at 21:52, Noel Jones <[hidden email]> wrote:
>>
>> On 6/27/2018 2:45 PM, Sophie Loewenthal wrote:
>>> Hi,
>>>
>>> I don’t believe my Postfix install is doing the PTR lookups, or it broke in some way.  
>>>
>>> I have this enabled:
>>> # postconf |grep smtpd_peername_lookup
>>> smtpd_peername_lookup = yes
>>>
>>> and my DNS can resolve the name:
>>> # host 168.100.1.3
>>> 3.1.100.168.in-addr.arpa domain name pointer camomile.cloud9.net.
>>>
>>> But the headers give unknown:
>>> Received: from camomile.cloud9.net (unknown [168.100.1.3])
>>> by mx10.example.com (Postfix) with ESMTPS id BA9143C
>>> for <[hidden email]>; Wed, 27 Jun 2018 15:48:44 +0000 (UTC)
>>>
>>>
>>> How could I debug/enable this? What was missed in the config.
>>>
>>> Many thanks, S.
>>>
>>>
>>>
>>>
>>
>>
>> This is often from running smtpd in an incomplete chroot environment.
>>
>> To test, turn off the chroot flag in master.cf, and restart postfix.
>> If that fixes the problem, then you're missing some files in your
>> chroot.
>>
>> http://www.postfix.org/DEBUG_README.html#no_chroot
>>
>>
>>  -- Noel Jones
>

Reply | Threaded
Open this post in threaded view
|

Re: Header has unknown for IP address

Sophie Loewenthal
No worries. Thanks again for your help.  Found some details on google.



> On 27 Jun 2018, at 22:05, Noel Jones <[hidden email]> wrote:
>
> Sorry, I don't debian.
>
> IIRC, the Debian postfix package supplies a script that is supposed
> to populate the chroot on bootup.  Track down the script and run it,
> or ask on a debian-specific forum.
>
>
>
>  -- Noel Jones
>
>
>
> On 6/27/2018 2:57 PM, Sophie Loewenthal wrote:
>> Thanks Noel.
>>
>> I restarted with chroot disabled and problem went away.  
>>
>> Unsure what’s missing in chroot: I am using postfix 3.1.8-0+deb9u1  from Debian repos.  Is there a guide to putting the missing config in?
>>
>>
>>
>>
>>> On 27 Jun 2018, at 21:52, Noel Jones <[hidden email]> wrote:
>>>
>>> On 6/27/2018 2:45 PM, Sophie Loewenthal wrote:
>>>> Hi,
>>>>
>>>> I don’t believe my Postfix install is doing the PTR lookups, or it broke in some way.  
>>>>
>>>> I have this enabled:
>>>> # postconf |grep smtpd_peername_lookup
>>>> smtpd_peername_lookup = yes
>>>>
>>>> and my DNS can resolve the name:
>>>> # host 168.100.1.3
>>>> 3.1.100.168.in-addr.arpa domain name pointer camomile.cloud9.net.
>>>>
>>>> But the headers give unknown:
>>>> Received: from camomile.cloud9.net (unknown [168.100.1.3])
>>>> by mx10.example.com (Postfix) with ESMTPS id BA9143C
>>>> for <[hidden email]>; Wed, 27 Jun 2018 15:48:44 +0000 (UTC)
>>>>
>>>>
>>>> How could I debug/enable this? What was missed in the config.
>>>>
>>>> Many thanks, S.
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> This is often from running smtpd in an incomplete chroot environment.
>>>
>>> To test, turn off the chroot flag in master.cf, and restart postfix.
>>> If that fixes the problem, then you're missing some files in your
>>> chroot.
>>>
>>> http://www.postfix.org/DEBUG_README.html#no_chroot
>>>
>>>
>>> -- Noel Jones
>>
>