Re: /bin/mail mit E-Mailadresse mit sonderzeichen
Heiner Lamprecht wrote:
Poszvek, Andreas schrieb am Samstag, 3. Februar 2001 12:05:
OK, ja ist war, es fehlte in dem unten angegebenen Beispiel die domäne, also richtig lautet es : +43664xxxxxxx@netoffice.at Ist das "+" am Anfang überhaupt erlaubt? IIRC darf als erstes Zeichen nur ein Buchstabe stehen. Ich hatte mal eine entsprechende Definition, wie email-Adressen aufgebaut sein müssen, finde diese aber im Moment nicht mehr.
Hm, laut RFC 822 müßte das erlaubt sein. Ich habe mal die relevanten Teile der Syntax-Spezifikation daraus zusammengesucht: address = mailbox ; one addressee / group ; named list mailbox = addr-spec ; simple address / phrase route-addr ; name & addr-spec addr-spec = local-part "@" domain ; global address local-part = word *("." word) ; uninterpreted ; case-preserved word = atom / quoted-string atom = 1*<any CHAR except specials, SPACE and CTLs> specials = "(" / ")" / "<" / ">" / "@" ; Must be in quoted- / "," / ";" / ":" / "\" / <"> ; string, to use / "." / "[" / "]" ; within a word. Demnach darf eine E-Mail-Adresse durchaus mit einem "+" beginnen, denn das findet sich ja nicht unter den ausgeschlossenen Zeichen. Es ist allerdings zumindest ungewöhnlich, und ich würde von mir aus zumindest keine solchen Adressen vergeben. Aber die Adresse ist in diesem Fall ja nun mal gegeben, und falls das mail-Kommando da etwas überempfindlich ist, muß man eben eine andere Methode zum Verschicken wählen. Der beschriebene Aufruf sollte jedenfalls in Ordnung gewesen sein. Eilert -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Eilert Brinkmann -- Universitaet Bremen -- FB 3, Informatik eilert@informatik.uni-bremen.de - eilert@tzi.org - eilert@linuxfreak.com http://www.informatik.uni-bremen.de/~eilert/
participants (1)
-
Eilert Brinkmann