There is a solution.
Check the patch for XMail and Courier IMAP here=20
http://www.smartpost.ro/install.php#postinstall

Mikhail
www.smartpost.ro


-----Opprinnelig melding-----
Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =
P=E5
vegne av Michael Wyraz
Sendt: 18. februar 2004 20:26
Til: [EMAIL PROTECTED]
Emne: [xmail] Re: XMailserver and cr/lf under Linux/Unix

Hello Davide, Hello mailinglist users,
I joined the mailing list today and move this thread to the list. Maybe=20
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=20
>>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=20
>>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=20
>>POP3_USER_SPLITTERS in POP3Utils.h)?
>>In that case the change would be very easy i think.
>>   =20
>>
>
>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=20
>crappy loops. I believe someone on the mailing list already had courier =

>working with XMail in some way.
> =20
>
I had a look to the sourcecode of xmail today and tried around a bit=20
with xmail and with courier.
The problem is not that courier is not working. The problem is that=20
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=20
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=20
transformation to xmail?
How many things must be changed?
Would a modified SysDepLinux.cpp do the thing? In that case at least=20
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]

-
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