Hello David

It's OK.
Even if xmail supports quotation, still it's not enough for mail users.
I guess many xmail admins in japan wants to send or reply to these address 
without quote.
That is not match with RFC and your policy.


There is no problem if I could change the local-part validation by 
optional switch or modifying source.

Thank you.


sw20




[xmail] Re: email address validation (RFC2822...)

On Tue, 21 Oct 2008, [EMAIL PROTECTED] wrote:

> Hello Francis
> 
> It's about out going mail, or relaying mail.
> Not for local receiving.
> 
> Major cell-phone company in japan (@docomo.ne.jp) has many illegal 
> address.
> like this,
>   [EMAIL PROTECTED]
> 
> And we could not send to   "aaa....bbb...."@docomo.ne.jp
> via xmail.
> 
> We modify the source below when new version of xmail released. 
> 
> 
> SMailUtils.cpp
> 
> static char const *USmlDotAtom(char const *pszStr, char const *pszTop)
> {
> 
>         for (;;) {
>                 char const *pszAtom = pszStr;
> 
>                 for (; pszStr < pszTop && RFC822_ATEXT(*pszStr); 
> pszStr++);
>                 //if (pszAtom == pszStr)
>                 //      return NULL;
>                 if (pszStr == pszTop || *pszStr != '.')
>                         break;
>                 pszStr++;
>         }
> 
>         return pszStr;
> }

I'm sorry but after a careful examination, I decided to not implement 
quote strings in the local-part of the address. That would require a 
clusterfsck of changes via escpaing/unescaping, due to the fact that 
characters like '"' and '\t' can screw up the TAB files format, and other 
file system special characters could now appear in the name.
The changes above is a "sunny day" change, that waits for hell to break 
lose.



- Davide


-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]




-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to