PATCH: [Bug 83064] SMB URI syntax error

Thiago Macieira thiago.macieira at kdemail.net
Sat Jul 31 05:21:03 BST 2004


Gary Greene wrote:
>> That's not a valid email address. In emails, the IP addresses must
>> come between brackets:
>>
>> 	user@[127.0.0.1] is valid
>> 	user at 127.0.0.1 isn't valid
>>
>> unless, of course, 127.0.0.1 were a domain name, not an IP.
>
>Most MTA's will honour the second option though.

Postfix:
# The local machine is always the final destination for mail addressed
# to user@[the.net.work.address] of an interface that the mail system
# receives mail on (see the inet_interfaces parameter).

RFC 2821:
   [...] For
   IPv4 addresses, this form uses four small decimal integers separated
   by dots and enclosed by brackets such as [123.255.37.2], which
   indicates an (IPv4) Internet Address in sequence-of-octets form.

Try sending yourself an email at yourusername at 127.0.0.1 and see if it 
arrives.

However, I have just found a bug in KMail/kio_smtp/KURL: I sent myself 
an email at thiago@[127.0.0.1], but the address got rewritten and the 
brackets vanished, which made the email go into oblivion somewhere. 
Therefore, I get from my ISP:

<thiago at 127.0.0.1>:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. 
(#5.4.6)

We know it's wrong, so don't perpetuate the bug.

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiago (AT) macieira (DOT) info
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040731/c5f9da57/attachment.sig>


More information about the kde-core-devel mailing list