Hey There, Ta, Hmm I must have done something wrong, cos my little test script which converts the message to the <LF> format made no impression on the message.
#!/bin/sh /bin/echo "FILE $1" >> /tmp/mail.log /usr/bin/dos2unix -k -q $1 exit 7 The script does run but the file doesn't seemed to be changed when it arrives in the users mailbox. Any ideas? At 03:47 PM 03/07/14 -0700, you wrote: >On Mon, 14 Jul 2003, Richard Mayhew wrote: > > > Hi All, > > > > I have been able to integrate Courier IMAP and XMail together with very > > little fuss. > > > > I used Courier with the userdb auth method, a small convert script which I > > wrote and a few config changes. It runs like a dream except for the way > > XMail writes its messages to disk. XMail writes its message files with the > > <CR><LF> at the end of each line rather than just <LF>. Unfortunately > > Courier only works with message file terminating each line with <LF>. > > > > > > <CRLF> ::= <CR> <LF> > > <CR> ::= the carriage return character (ASCII code 13) > > <LF> ::= the line feed character (ASCII code 10) > > > > > > What makes it even more of a problem is the fact that if I were to parse > > this message though a dos2unix filter, xmail still requires that the > > message lines end with <CR><LF>. At least allowing my filter to convert the > > message to <LF> would make the difference between a working IMAP server and > > a broken IMAP server. > >XMail do require CRLF if the message has to be delivered remotely or if >the user access the mailbox with POP3. If the message is delivered locally >*and* IMAP is the only access, then you can write your own filter. > > > >- 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] -- Kind Regards Richard Mayhew Splash Internet and Networking Consultants CC http://www.splash.co.za Tel: 083 3018307 Fax: 083 83018307 - 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]