Hello Davide, Hello mailinglist users,
I joined the mailing list today and move this thread to the list. Maybe 
someone has
already solved my problem...

>>Hi,
>>
>>i have two questions to the handling of newline characters in xmail.
>>
>>I saw that xmail uses cr/lf for mail files even when running on linux. 
>>Is there a way to
>>change that to unix cr (maybe as a compiletime option)? I'm using 
>>courier-imap with xmail
>>and the dos-linefeeds causes strange behavior with some imap clients.
>>I discussed that with the courier-imap people but they will not support 
>>cr/lf under unix because
>>(and that's also my oppinion) unix software should use unix linefeeds.
>>
>>Are the linefeeds configured at a single point in xmail (like 
>>POP3_USER_SPLITTERS in POP3Utils.h)?
>>In that case the change would be very easy i think.
>>    
>>
>
>The reason XMail uses crlf is because it is the RFC format for messages 
>*and* XMail uses sendfile() on linux w/out the need of readline/sendline 
>crappy loops. I believe someone on the mailing list already had courier 
>working with XMail in some way.
>  
>
I had a look to the sourcecode of xmail today and tried around a bit 
with xmail and with courier.
The problem is not that courier is not working. The problem is that 
courier replaces LF with CRLF
for sending. This results in CRCRLF which causes problems with some mail 
clients.

It seems there's no easy solution for my problem:
* XMail uses very efficient code to send a mail because it can send 
mails as they are. It's maybe a lot of work
to add CR/LF transformation :(
* the Courier people will definitely not change the file format that is used

The only thing i could do is to migrate fully to courier. But that's bad 
because i like the way xmail is designed
and it works very well since a long time.


What do you think how much work it would be to add (optional) CR/LF 
transformation to xmail?
How many things must be changed?
Would a modified SysDepLinux.cpp do the thing? In that case at least 
some SmtpServer code
(the part that receives/writes a mail) must be modified to access system 
dependend code.


Hope you can help me.

Thanks a lot.
Michael.



-
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