Hi everybody, I had a feeling that I've send this mail before but I
didn't find it in the list archive and also in my send folder, so I've
must be dreamed ;) and because I belive that will be helpful for many
people before the official integration and production readyness of IMAP
protocol in Xmailserver-2.0 here is the definitive, full working,
intensively tested and Bug Free ( TM) solution: ;)))
COURIER-IMAP and Xmailserver mini How-To ver 0.1
This mini how-to was made possible by SmartPost Romanian team and it
explains full integration of courier-imap package with Xmaiserver.
Initial issues: As we all know Xmailserver is the answer of
everything mail but IMAP, some people insist that having nice IMAP
folders, eventually shared and other niceties is a fact of life and they
can't live without it.
Here enters courier-imap server that uses the same maildir format as
xmailserver but the messages are stored not in RFC format but in Unix
format, this causes grave mis-functioning with outlook express and other
mailers. A patch was done by somebody to correct this issue but it only
corecteted partially and didn't treat with mixed enviroment mails (
mails with both Unix and RFC line termination), more it was broken with
Moziila mail and other mails that were asking for parts of IMAP message
at a time and not the full message as OE asked.
Also during tests is seem that the message name mangling made by
courier produced some strange results, some messeges beeing seen twice
in some mail clients when delivered via Xmail POP3 server. Somebody (
Leonardo Fogel, please step up for full credits !!!) patched the
POP3 side of Xmail [1] ( Davide, please, pretty please include this
tiny, little, not intrusive patch in 1.18 final, plizzz ;) but the patch
circulated for courier was definitly broken.
So during tests for the new and improved SmartPost2 webmail and
administration interface Andrei Latchescu ( [EMAIL PROTECTED] ) along
with yours tester Mircea Ciocan ( [EMAIL PROTECTED]) devised a patch
for courier [2] that was able to corectly deliver the messages
regardless of their line termination both on its imap and pop3 side (
some people also like to use the pop3 side of courier server). This
patch was tested with all curent mail clients ( M$ Outlook, Outlook
Express, Mozilla Mail 1.4-1.6, The Bat, Pegasus Mail) and worked
flawlessly, so we claim that is ready for production use. The patch is
against (tested) Courier-Imap ver. 2.2.0 and 2.2.1 ( it may work with
older versions).
So now you can seaminglesly migrate between Courier and Xmailserver
and have even mixed mode messages in the folders ( like no need to
convert all those 134.000 messages inherited ;).
The work was sponsored by Swiss ISP PCDS ag ( http://www.pcds.ch).
[1] Xmailserver POP3 patch:
http://mircea.smartpost.ro/download/POP3Svr.cpp.diff
[2] Courier IMAP patch:
http://mircea.smartpost.ro/download/courier-imap-crlf.patch.bz2
[3] Patched Courier and Xmailserver RPMs ( and SRPMs) for Mandrake
Linux 9.2: http://mircea.interplus.ro/ftp/ultraupdates
Hope that you'll forgive this long message and find it usefull.
Regards,
Mircea Ciocan
-
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]