smtp_helo_name from file appends . to hostname

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

smtp_helo_name from file appends . to hostname

Rudy Gevaert
Dear list,

This morning I stumbled upon a strange problem.  Mail delivery to an  
exchange backend did not work:

  refused to talk to me: 501 5.5.4 Invalid Address)

After some troubleshooting an googling I found  
http://support.microsoft.com/kb/291828.

When using the contents of a file for the smtp_helo_name (or with e.g.  
myorigin) it appends a '.' to the end of the hostname.  And according  
to the rfc this isn't allowed.

Why is postfix appending the . ?

Thanks in advance,


--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [hidden email]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Reply | Threaded
Open this post in threaded view
|

Re: smtp_helo_name from file appends . to hostname

Michael Tokarev
Rudy Gevaert wrote:

> Dear list,
>
> This morning I stumbled upon a strange problem.  Mail delivery to an
> exchange backend did not work:
>
>  refused to talk to me: 501 5.5.4 Invalid Address)
>
> After some troubleshooting an googling I found
> http://support.microsoft.com/kb/291828.
>
> When using the contents of a file for the smtp_helo_name (or with e.g.

What does it mean, exactly?  Note that as documented, smtp_helo_name does
not accept a file name as an argument but only a direct value.  Ditto for
myorigin.

> myorigin) it appends a '.' to the end of the hostname.  And according to
> the rfc this isn't allowed.
>
> Why is postfix appending the . ?

Show the proof of this, in a form of tcpdump recording or at least verbose
postfix logging.

Postfix is used in many many places, and only at your place, according to
your conclusions at least, it appends the dot.

/mjt
Reply | Threaded
Open this post in threaded view
|

Re: smtp_helo_name from file appends . to hostname

Wietse Venema
In reply to this post by Rudy Gevaert
Rudy Gevaert:

> Dear list,
>
> This morning I stumbled upon a strange problem.  Mail delivery to an  
> exchange backend did not work:
>
>   refused to talk to me: 501 5.5.4 Invalid Address)
>
> After some troubleshooting an googling I found  
> http://support.microsoft.com/kb/291828.
>
> When using the contents of a file for the smtp_helo_name (or with e.g.  
> myorigin) it appends a '.' to the end of the hostname.  And according  
> to the rfc this isn't allowed.
>
> Why is postfix appending the . ?

Postfix as released from postfix.org does not support
smtp_helo_name from file.

        Wietse
Reply | Threaded
Open this post in threaded view
|

Re: smtp_helo_name from file appends . to hostname

Rudy Gevaert

Citeren Wietse Venema <[hidden email]>:

> Rudy Gevaert:
>> Dear list,
>>
>> This morning I stumbled upon a strange problem.  Mail delivery to an
>> exchange backend did not work:
>>
>>   refused to talk to me: 501 5.5.4 Invalid Address)
>>
>> After some troubleshooting an googling I found
>> http://support.microsoft.com/kb/291828.
>>
>> When using the contents of a file for the smtp_helo_name (or with e.g.
>> myorigin) it appends a '.' to the end of the hostname.  And according
>> to the rfc this isn't allowed.
>>
>> Why is postfix appending the . ?
>
> Postfix as released from postfix.org does not support
> smtp_helo_name from file.

Dear Wietse,

I can now see I was not clear in my explanation. But I made a mistake.

  The problem was that I said that myhostname=/etc/mailname and this  
does not work as I thought!

Thanks




--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [hidden email]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur  Direction ICT, Infrastructure dept.
Groep Systemen                     Systems group
Universiteit Gent                  Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


Reply | Threaded
Open this post in threaded view
|

Re: smtp_helo_name from file appends . to hostname

Wietse Venema
Rudy Gevaert:

> Citeren Wietse Venema <[hidden email]>:
>
> > Rudy Gevaert:
> >> Dear list,
> >>
> >> This morning I stumbled upon a strange problem.  Mail delivery to an
> >> exchange backend did not work:
> >>
> >>   refused to talk to me: 501 5.5.4 Invalid Address)
> >>
> >> After some troubleshooting an googling I found
> >> http://support.microsoft.com/kb/291828.
> >>
> >> When using the contents of a file for the smtp_helo_name (or with e.g.
> >> myorigin) it appends a '.' to the end of the hostname.  And according
> >> to the rfc this isn't allowed.
> >>
> >> Why is postfix appending the . ?
> >
> > Postfix as released from postfix.org does not support
> > smtp_helo_name from file.
>
> Dear Wietse,
>
> I can now see I was not clear in my explanation. But I made a mistake.
>
>   The problem was that I said that myhostname=/etc/mailname and this  
> does not work as I thought!

Postfix as released from postfix.org does not support reading any
main.cf parameter value from file, so you need to take this up with
your distributor.

        Wieste