[dev] Fetchmail problems...

Michael M Slusarz slusarz at bigworm.colorado.edu
Mon Mar 1 13:38:05 PST 2004


Quoting Marc Jauvin <marc at register4less.com>:

> The included patch fixes the problem. If there is any good reason for the
> rtrim() call, please let me know.
>
> --marc
>
> Marc Jauvin <marc at register4less.com> wrote:
>
>> When using the fetchmail functionality from CVS HEAD, I get the 
>> following error
>> after the "@imap_append()" call from _addMessage() in 
>> 'imp/lib/Fetchmail.php':
>>
>>   "Message contains invalid header"
>>
>> When I remove the 'rtrim($header)' call in _processMailMessage(), 
>> the problem
>> disappears...
>>
>> Any suggestions on how to fix this?

rtrim() should remain there - we should instead ensure that there are 2
linebreaks between the headers and body - this should be fixed in CVS.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the dev mailing list