Oh... this seems the be a bug in TMDA.
Like in RFC822 defined mailheaderfields CAN be split in two lines.
Now I'm wondering, that nobody has a simmular problem.
Is there any chance to get an update for TMDA, or should I try to fix this problem on 
my side by parsing all mails bevor putting them into TMDA?


I have found an article in google-groups for this:

http://groups.google.at/groups?hl=de&lr=&ie=UTF-8&threadm=2111%40ruuinf.cs.ruu.nl&rnum=9&prev=/groups%3Fq%3Dfrom-line%2Btwo%2Blines%2Bmail%2Bproblem%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26selm%3D2111%2540ruuinf.cs.ruu.nl%26rnum%3D9


And here is the text from the RFC822 which I have found by google:

  3.1.1.  LONG HEADER FIELDS

        Each header field can be viewed as a single, logical  line  of
        ASCII  characters,  comprising  a field-name and a field-body.
        For convenience, the field-body  portion  of  this  conceptual
        entity  can be split into a multiple-line representation; this
        is called "folding".  The general rule is that wherever  there
        may  be  linear-white-space  (NOT  simply  LWSP-chars), a CRLF
        immediately followed by AT LEAST one LWSP-char may instead  be
        inserted.  Thus, the single line

            To:  "Joe & J. Harvey" <ddd @Org>, JJV @ BBN

        can be represented as:

            To:  "Joe & J. Harvey" <ddd @ Org>,
                    [EMAIL PROTECTED]

        and

            To:  "Joe & J. Harvey"
                            <ddd@ Org>, JJV
             @BBN

        and

            To:  "Joe &
             J. Harvey" <ddd @ Org>, JJV @ BBN

             The process of moving  from  this  folded   multiple-line
        representation  of a header field to its single line represen-
        tation is called "unfolding".  Unfolding  is  accomplished  by
        regarding   CRLF   immediately  followed  by  a  LWSP-char  as
        equivalent to the LWSP-char.

        Note:  While the standard  permits  folding  wherever  linear-
               white-space is permitted, it is recommended that struc-
               tured fields, such as those containing addresses, limit
               folding  to higher-level syntactic breaks.  For address
               fields, it  is  recommended  that  such  folding  occur

     August 13, 1982               - 5 -                      RFC #822



so long,

Andreas



-----Urspr�ngliche Nachricht-----
Von: Monique Y. Mudama 
Gesendet: Montag, 12. Juli 2004 21:31
An: [EMAIL PROTECTED]
Betreff: Re: From line split to two lines...


On 2004-07-08, Andreas Plachy penned:
> Hi all!
>
> I have a problem with mails from some mailclients or mailservers which
> are corrupted, or in an other way not standard-conform.  Suddenly I
> could not clear say where the problem is created:
>
> The From-line in the header is split to two lines and TMDA could not
> parse this correctly.  The sender is currently in the whitelist, but
> mails like this once never get throug.  Such mails must ever be
> confirmed...
>
>>From one customer I heard, that this happens with mac OS X and MS
>>Outlook, but I couldn't verify this yet.
>
> Has anybody the same problem, or an solution?  Thanks for helping!
>
> so long,
>
> Andreas

I remember seeing a recent discussion about from lines being split by a
newline on either debian-user or mutt's mailing list; I'm afraid I don't
recall which.  You might try scanning the last few weeks of those two
lists.

-- 
monique

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to