On Sun, Jan 06, 2002 at 12:57:30PM +0530, USM Bish wrote: > Shyam, > > Please avoid the "@" sign within your name string .... > and that too with spaces around them: > > "shyamk @ eth . net" <[EMAIL PROTECTED]> > > The "@" in mails is a reserved character in the address > line, and should not be used injudiciously. Most scripts are > dependent upon this character to extract the address-id.
Have been having RFCs for breakfast. ;-) This address is perfectly valid under RFC 2822. Any program that breaks when this address is input should be considered non-compliant. Specifically, 2822 puts the '@' character in the specials group, defines an atom as 'Any character except controls, SP and specials', and says, later: <quote src=rfc2822> Strings of characters that include characters other than those allowed in atoms may be represented in a quoted string format, where the characters are surrounded by quote (DQUOTE, ASCII value 34) characters. </quote> The above address is in the right quoted string format. For scripts that depend upon '@' to extract mail ids, I suggest the regex in the following command: grep <.*@[^>]*> /var/spool/mail/binand Seems to work for me. YMMV. Binand _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
