Printable Version of Topic
Click here to view this topic in its original format
XMail Forum > Announcements > Xmail 1.26-pre03 Released !


Posted by: hschneider Sep 2 2008, 11:00 PM
QUOTE

I made 1.26-pre03:

http://www.xmailserver.org/xmail-1.26-pre03.tar.gz
http://www.xmailserver.org/xmail-1.26-pre03.win32bin.zip


Changelog:

- Changed the line termination used to store messages into the mailboxes
of Unix versions of XMail. Now messages are stored with the OS native LF
termination, instead of the RFC CRLF that was used before.
This allows other Unix softwares working together with XMail to not be
confused by the extra CR present in the line termination.

- The "smtprelay" behaviour with respect to 5xx responses from one of the
servers in the relay list, has been changed. Now a 5xx response will
stop the processing, instead of iterating on the remaining servers of
the list.

- Avoid to crawl all the USER.TAB file during a "userlist" CTRL command.

- Fixed a bug that allowed non-RFC characters inside domain names.

- Fixed OSX Leopard build error.

- Added "timeo" option to flags execution.

- Added "NoAuth", "EnableVRFY" and "EnableETRN" settings inside IP properties.


The biggest change is the first. Since when XMail started delivering to
Maildir (long time ago), people started using XMail together with other
softwares that can get confused by the extra CR. How can this happen is
beyond my grasp, since handling both cases requires like one line of extra
code. But anyway.
One of the reasons why I chose to save the mailbox file in CRLF form, was
due to the fact that the message could have been delivered with fast OS
primitives, if already in CRLF (and hence RFC) form. This avoided creating
extra copies of the message file during the SMAIL processing.
In order to shove an extra file copy during the processing, I changed the
way temporary file are created when it comes to SMAIL local delivery.
Before such files were created inside the system temporary directory (/tmp
or %TEMP%), and then a copy+delete was done to move the message inside the
mailbox. The copy+delete was needed, insated of a standard OS move/rename,
because the mailbox mount/drive coulad have been located in another
mount/drive WRT the temporary directory.
Now things are changed and XMail will use a "tmp" directory inside
MAIL_ROOT.
What does it change for you? If you don't mount domain subdirectories to
other mount/drives (like 99% of XMail users), nothing. Xmail will
automatically create the "tmp" subdirectory and the switch to the new
version will be transparent.
If you happen to mount domain subdirectories onto other mount/drives WRT
MAIL_ROOT, you simply have to remember to create a ".tmp" directory at the
root of the directory mount/drive.




- Davide



Posted by: hschneider Sep 5 2008, 08:46 AM
Take care if you use filters which rely on the old line ending format, e.g. 3rd party IMAP bindings: http://xmailforum.homelinux.net/index.php?act=ST&f=1&t=4312&st=0

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)