Re: what makes an invalid hostname

2008-09-03 Thread mouss
mouss wrote: Duane Hill wrote: On Wed, 3 Sep 2008, Duane Hill wrote: On Wed, 3 Sep 2008, Raymond Keller wrote: /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/554 RFC 2821 does not allow bare address literals. FYI- This can be shortened a bit more: /^(?:\d{1,3}\.){3}\d{1,3}$/ REJECT RFC 2821 do

Re: what makes an invalid hostname

2008-09-03 Thread mouss
Duane Hill wrote: On Wed, 3 Sep 2008, Duane Hill wrote: On Wed, 3 Sep 2008, Raymond Keller wrote: /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/554 RFC 2821 does not allow bare address literals. FYI- This can be shortened a bit more: /^(?:\d{1,3}\.){3}\d{1,3}$/ REJECT RFC 2821 does not allow b

Re: what makes an invalid hostname

2008-09-03 Thread mouss
Raymond Keller wrote: Ah. I don't have experience with varieties of server installations, so my guess was very speculative. However, I would be surprised to hear if there were _no_ implementations wherein MUAs submit to Postfix via 25 (despite what MUAs ought to do). And I would be surprised

Re: what makes an invalid hostname

2008-09-03 Thread Duane Hill
On Wed, 3 Sep 2008, Duane Hill wrote: On Wed, 3 Sep 2008, Raymond Keller wrote: /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/554 RFC 2821 does not allow bare address literals. FYI- This can be shortened a bit more: /^(?:\d{1,3}\.){3}\d{1,3}$/ REJECT RFC 2821 does not allow bare address litera

Re: what makes an invalid hostname

2008-09-03 Thread Duane Hill
On Wed, 3 Sep 2008, Raymond Keller wrote: /^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$/554 RFC 2821 does not allow bare address literals. FYI- This can be shortened a bit more: /^(?:\d{1,3}\.){3}\d{1,3}$/ REJECT RFC 2821 does not allow bare address literals. Also, I don't see under: http:

Re: what makes an invalid hostname

2008-09-03 Thread Raymond Keller
* mouss ([EMAIL PROTECTED]) [20080903 13:14]: > Raymond Keller wrote: > >Is the compatibility that is sought by allowing underscores done for > >the sake of Windows MUAs? > > No. This has nothing to do with windows nor with MUAs. you generally > don't care about the helo used by MUAs. MUAs shou

Re: what makes an invalid hostname

2008-09-03 Thread mouss
Raymond Keller wrote: * Wietse Venema ([EMAIL PROTECTED]) [20080903 11:35]: Raymond Keller: I configured reject_invalid_helo_hostname and was surprised to find that underscores were permitted. Judging by the source (I'm not conversant in C), it looks like the author had this comment regarding

Re: what makes an invalid hostname

2008-09-03 Thread Raymond Keller
* Wietse Venema ([EMAIL PROTECTED]) [20080903 11:35]: > Raymond Keller: > > I configured reject_invalid_helo_hostname and was surprised to find > > that underscores were permitted. Judging by the source (I'm not > > conversant in C), it looks like the author had this comment > > regarding allowing

Re: what makes an invalid hostname

2008-09-03 Thread mouss
Raymond Keller wrote: I configured reject_invalid_helo_hostname and was surprised to find that underscores were permitted. Judging by the source (I'm not conversant in C), it looks like the author had this comment regarding allowing underscores: "grr.." I feel similarly. Is that you, Mr. Venem

Re: what makes an invalid hostname

2008-09-03 Thread Wietse Venema
Raymond Keller: > I configured reject_invalid_helo_hostname and was surprised to find > that underscores were permitted. Judging by the source (I'm not > conversant in C), it looks like the author had this comment > regarding allowing underscores: "grr.." I feel similarly. Is that > you, Mr. Ven