[xmail] Re: 1.26-pre03

2008-09-08 Thread CLEMENT Francis
Just a question :

Does an 'mv' convert CRLF to CR ? I don't remember that :/

Just a suggestion :
Except if the copy/transfert program used to pass mail files from the
windows system to the linux system have options to convert crlf to cr, =
I
think if Rob want to fully convert windows maibox content to unix =
maildirs,
he need to use some dos2unix command (or d2u ? don't remember exactly =
the
tool name on linux) in the proposed script, no ?

:)

Francis


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Rob Arends
Envoy=E9 : dimanche 7 septembre 2008 14:32
=C0 : xmail@xmailserver.org
Objet : [xmail] Re: 1.26-pre03


Wow, that was easier than expected.

Thanks.

PS. Is IMAP4 built in to xMail, still on the agenda?=20
If so is there a timeframe?


Rob :-)
=20
_
It might look like I'm doing nothing, but on a cellular level,=20
I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Davide=20
Libenzi
Sent: Saturday, September 06, 2008 2:22 PM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

On Sat, 6 Sep 2008, Rob Arends wrote:

 Davide,=20
=20
 If I wanted to use the default unix storage format - is it=20
possible to
 convert the existing windows format mail boxes?
=20
 I could write little bit of Perl if the conversion was=20
relatively simple.

Yep:

   for_each_domain
   for_each_mailbox
   mkdir Maildir
   mkdir Maildir/new
   mkdir Maildir/cur
   mkdir Maildir/tmp
   mv mailbox/* Maildir/new
   rm -rf mailbox


- 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]


-
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]



[xmail] Re: 1.26-pre03

2008-09-08 Thread CLEMENT Francis

Does an 'mv' convert CRLF to CR ? I don't remember that :/

must be read as :

Does an 'mv' convert CRLF to LF ? I don't remember that :/
-^^=20

:)

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de CLEMENT Francis
Envoy=E9 : lundi 8 septembre 2008 09:38
=C0 : 'xmail@xmailserver.org'
Objet : [xmail] Re: 1.26-pre03


Just a question :

Does an 'mv' convert CRLF to CR ? I don't remember that :/

Just a suggestion :
Except if the copy/transfert program used to pass mail files from the
windows system to the linux system have options to convert=20
crlf to cr, =3D
I
think if Rob want to fully convert windows maibox content to unix =3D
maildirs,
he need to use some dos2unix command (or d2u ? don't remember exactly =
=3D
the
tool name on linux) in the proposed script, no ?

:)

Francis


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Rob Arends
Envoy=3DE9 : dimanche 7 septembre 2008 14:32
=3DC0 : xmail@xmailserver.org
Objet : [xmail] Re: 1.26-pre03


Wow, that was easier than expected.

Thanks.

PS. Is IMAP4 built in to xMail, still on the agenda?=3D20
If so is there a timeframe?


Rob :-)
=3D20
_
It might look like I'm doing nothing, but on a cellular level,=3D20
I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Davide=3D20
Libenzi
Sent: Saturday, September 06, 2008 2:22 PM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

On Sat, 6 Sep 2008, Rob Arends wrote:

 Davide,=3D20
=3D20
 If I wanted to use the default unix storage format - is it=3D20
possible to
 convert the existing windows format mail boxes?
=3D20
 I could write little bit of Perl if the conversion was=3D20
relatively simple.

Yep:

  for_each_domain
  for_each_mailbox
  mkdir Maildir
  mkdir Maildir/new
  mkdir Maildir/cur
  mkdir Maildir/tmp
  mv mailbox/* Maildir/new
  rm -rf mailbox


- 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]


-
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]

-
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]



[xmail] Re: 1.26-pre03

2008-09-08 Thread Rob Arends
Your probably correct.
Although Xmail won't care - it will handle either.

It will affect any other *nix mail program reading the maildir folders.

So yes the process must include dos2unix if the windows to *nix copy program
does not do this automatically.

Thx.

Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of CLEMENT Francis
Sent: Monday, September 08, 2008 5:38 PM
To: 'xmail@xmailserver.org'
Subject: [xmail] Re: 1.26-pre03

Just a question :

Does an 'mv' convert CRLF to CR ? I don't remember that :/

Just a suggestion :
Except if the copy/transfert program used to pass mail files from the
windows system to the linux system have options to convert crlf to cr, =
I
think if Rob want to fully convert windows maibox content to unix =
maildirs,
he need to use some dos2unix command (or d2u ? don't remember exactly =
the
tool name on linux) in the proposed script, no ?

:)

Francis


-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Rob Arends
Envoy=E9 : dimanche 7 septembre 2008 14:32
=C0 : xmail@xmailserver.org
Objet : [xmail] Re: 1.26-pre03


Wow, that was easier than expected.

Thanks.

PS. Is IMAP4 built in to xMail, still on the agenda?=20
If so is there a timeframe?


Rob :-)
=20
_
It might look like I'm doing nothing, but on a cellular level,=20
I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Davide=20
Libenzi
Sent: Saturday, September 06, 2008 2:22 PM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

On Sat, 6 Sep 2008, Rob Arends wrote:

 Davide,=20
=20
 If I wanted to use the default unix storage format - is it=20
possible to
 convert the existing windows format mail boxes?
=20
 I could write little bit of Perl if the conversion was=20
relatively simple.

Yep:

   for_each_domain
   for_each_mailbox
   mkdir Maildir
   mkdir Maildir/new
   mkdir Maildir/cur
   mkdir Maildir/tmp
   mv mailbox/* Maildir/new
   rm -rf mailbox


- 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]


-
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]

-
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]



[xmail] Re: 1.26-pre03

2008-09-08 Thread Davide Libenzi
On Mon, 8 Sep 2008, Rob Arends wrote:

 Your probably correct.
 Although Xmail won't care - it will handle either.

Bingo. XMail is not as dumb as other softwares, so a message with CRLF 
inside the mailbox will not confuse it.



- 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]



[xmail] Re: 1.26-pre03

2008-09-08 Thread Rob Arends
Davide, any (positive) response to my IMAP4 question? 


Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Tuesday, September 09, 2008 12:22 AM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

On Mon, 8 Sep 2008, Rob Arends wrote:

 Your probably correct.
 Although Xmail won't care - it will handle either.

Bingo. XMail is not as dumb as other softwares, so a message with CRLF 
inside the mailbox will not confuse it.



- 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]

-
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]



[xmail] Re: 1.26-pre03

2008-09-07 Thread Rob Arends
Wow, that was easier than expected.

Thanks.

PS. Is IMAP4 built in to xMail, still on the agenda? 
If so is there a timeframe?


Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Saturday, September 06, 2008 2:22 PM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

On Sat, 6 Sep 2008, Rob Arends wrote:

 Davide, 
 
 If I wanted to use the default unix storage format - is it possible to
 convert the existing windows format mail boxes?
 
 I could write little bit of Perl if the conversion was relatively simple.

Yep:

for_each_domain
for_each_mailbox
mkdir Maildir
mkdir Maildir/new
mkdir Maildir/cur
mkdir Maildir/tmp
mv mailbox/* Maildir/new
rm -rf mailbox


- 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]


-
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]



[xmail] Re: 1.26-pre03

2008-09-07 Thread RICK AND SHEILA
Rob, I have signed on to X-Mail to see if it will allow me to receive my 
vehicle report from On- Star. Is this going to help?
They send in X-Mail Text. Rick

Rob Arends wrote:
 Wow, that was easier than expected.

 Thanks.

 PS. Is IMAP4 built in to xMail, still on the agenda? 
 If so is there a timeframe?


 Rob :-)
  
 _
 It might look like I'm doing nothing, but on a cellular level, I'm quite
 busy.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Davide Libenzi
 Sent: Saturday, September 06, 2008 2:22 PM
 To: xmail@xmailserver.org
 Subject: [xmail] Re: 1.26-pre03

 On Sat, 6 Sep 2008, Rob Arends wrote:

   
 Davide, 

 If I wanted to use the default unix storage format - is it possible to
 convert the existing windows format mail boxes?

 I could write little bit of Perl if the conversion was relatively simple.
 

 Yep:

   for_each_domain
   for_each_mailbox
   mkdir Maildir
   mkdir Maildir/new
   mkdir Maildir/cur
   mkdir Maildir/tmp
   mv mailbox/* Maildir/new
   rm -rf mailbox


 - 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]


 -
 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]



[xmail] Re: 1.26-pre03

2008-09-07 Thread Davide Libenzi
On Sun, 7 Sep 2008, RICK AND SHEILA wrote:

 Rob, I have signed on to X-Mail to see if it will allow me to receive my 
 vehicle report from On- Star. Is this going to help?
 They send in X-Mail Text. Rick

Hmm, are you sure it's not in *XML Text*?
In which case XMail has nothing to do with it :)



- 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]



[xmail] Re: 1.26-pre03

2008-09-07 Thread Rob Arends
Rick, this list will not be able to help you with your On-Star vehicle
report.

Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of RICK AND SHEILA
Sent: Monday, September 08, 2008 12:54 AM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

Rob, I have signed on to X-Mail to see if it will allow me to receive my 
vehicle report from On- Star. Is this going to help?
They send in X-Mail Text. Rick

Rob Arends wrote:
 Wow, that was easier than expected.

 Thanks.

 PS. Is IMAP4 built in to xMail, still on the agenda? 
 If so is there a timeframe?


 Rob :-)
  
 _
 It might look like I'm doing nothing, but on a cellular level, I'm quite
 busy.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On
 Behalf Of Davide Libenzi
 Sent: Saturday, September 06, 2008 2:22 PM
 To: xmail@xmailserver.org
 Subject: [xmail] Re: 1.26-pre03

 On Sat, 6 Sep 2008, Rob Arends wrote:

   
 Davide, 

 If I wanted to use the default unix storage format - is it possible to
 convert the existing windows format mail boxes?

 I could write little bit of Perl if the conversion was relatively simple.
 

 Yep:

   for_each_domain
   for_each_mailbox
   mkdir Maildir
   mkdir Maildir/new
   mkdir Maildir/cur
   mkdir Maildir/tmp
   mv mailbox/* Maildir/new
   rm -rf mailbox


 - 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]


 -
 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]

-
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]



[xmail] Re: 1.26-pre03

2008-09-05 Thread Rob Arends
On Thursday, September 04, 2008 4:22 AM, Davide Libenzi wrote:

On Wed, 3 Sep 2008, Rob Arends wrote:

 Davide, just out of curiosity.
 
 Regarding the LF on disk vs CRLF in the SMTP protocol:
 
 Could you have read the file and converted LF-CRLF on the fly while
sending
 the TCP data?

This is what I do now, for Unixes. Windows messages gets sent vanilla.

Oh ok, I thought the new tmp folder was to create the CRLF version so you
could just sendfile().
I must have mis read.

I think I assumed that:

Davide: This avoided creating extra copies of the 
message file during the SMAIL processing.

Was related to the next sentence:

Davide: In order to shove an extra file copy during 
the processing,...

But see it only relates to:

Davide: ...when it comes to SMAIL local delivery.
As opposed to remote delivery.

Did I get it right now?


 Or does that create a performance hit that is unacceptable?

A simple sendfile() (for Linux) is going to be faster, that's sure. I'm 
pretty darn sure that nobody will notice the difference.

Yeah I thought so.


- 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]



[xmail] Re: 1.26-pre03

2008-09-05 Thread Rob Arends

So this will make my planned IMAP4 implementation easier.

I'm running on w32 and planning to go Linux (mail is my only legacy W32
platform) and then implement a native Linux IMAP4 server, but I remember
lots of work arounds for the CRLF/LF issue, so I was not exited about the
idea of implementing it.

Davide, I assume I will need to convert any existing users mail to LF format
for this migration to work?
That is, work with IMAP4 server - since Xmail will read either format.

Also when migrating from W32 to Linux - the default mail store format
changes.
Can you confirm that I will need to over ride xmail's default Linux mail
format to be compatible with any migrated mail.
 

Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Wednesday, September 03, 2008 6:22 AM
To: XMail mailing list
Subject: [xmail] 1.26-pre03

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


-
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]



[xmail] Re: 1.26-pre03

2008-09-05 Thread Davide Libenzi
On Fri, 5 Sep 2008, Rob Arends wrote:

 On Thursday, September 04, 2008 4:22 AM, Davide Libenzi wrote:
 
 On Wed, 3 Sep 2008, Rob Arends wrote:
 
  Davide, just out of curiosity.
  
  Regarding the LF on disk vs CRLF in the SMTP protocol:
  
  Could you have read the file and converted LF-CRLF on the fly while
 sending
  the TCP data?
 
 This is what I do now, for Unixes. Windows messages gets sent vanilla.
 
 Oh ok, I thought the new tmp folder was to create the CRLF version so you
 could just sendfile().
 I must have mis read.
 
 I think I assumed that:
 
 Davide: This avoided creating extra copies of the 
 message file during the SMAIL processing.
 
 Was related to the next sentence:
 
 Davide: In order to shove an extra file copy during 
 the processing,...
 
 But see it only relates to:
 
 Davide: ...when it comes to SMAIL local delivery.
 As opposed to remote delivery.
 
 Did I get it right now?

There are two different operations. One is the delivery of the message to 
the local mailbox. This is where the tmp (or .tmp inside the domain 
folder) is used.
The other one is the delivery of a local mailbox message, to a remote 
client, through POP3. Here tmp is not used and conversion (if needed - 
like Unix) is done on-the-fly.




- 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]



[xmail] Re: 1.26-pre03

2008-09-05 Thread Davide Libenzi
On Sat, 6 Sep 2008, Rob Arends wrote:

 
 So this will make my planned IMAP4 implementation easier.
 
 I'm running on w32 and planning to go Linux (mail is my only legacy W32
 platform) and then implement a native Linux IMAP4 server, but I remember
 lots of work arounds for the CRLF/LF issue, so I was not exited about the
 idea of implementing it.
 
 Davide, I assume I will need to convert any existing users mail to LF format
 for this migration to work?
 That is, work with IMAP4 server - since Xmail will read either format.
 
 Also when migrating from W32 to Linux - the default mail store format
 changes.
 Can you confirm that I will need to over ride xmail's default Linux mail
 format to be compatible with any migrated mail.

Yes, *if* you want to continue to use the Windows mail storage format, you 
need to pass -Mm to XMail.



- 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]



[xmail] Re: 1.26-pre03

2008-09-05 Thread Rob Arends
Davide, 

If I wanted to use the default unix storage format - is it possible to
convert the existing windows format mail boxes?

I could write little bit of Perl if the conversion was relatively simple.


Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Saturday, September 06, 2008 8:01 AM
To: xmail@xmailserver.org
Subject: [xmail] Re: 1.26-pre03

On Sat, 6 Sep 2008, Rob Arends wrote:

 
 So this will make my planned IMAP4 implementation easier.
 
 I'm running on w32 and planning to go Linux (mail is my only legacy W32
 platform) and then implement a native Linux IMAP4 server, but I remember
 lots of work arounds for the CRLF/LF issue, so I was not exited about the
 idea of implementing it.
 
 Davide, I assume I will need to convert any existing users mail to LF
format
 for this migration to work?
 That is, work with IMAP4 server - since Xmail will read either format.
 
 Also when migrating from W32 to Linux - the default mail store format
 changes.
 Can you confirm that I will need to over ride xmail's default Linux mail
 format to be compatible with any migrated mail.

Yes, *if* you want to continue to use the Windows mail storage format, you 
need to pass -Mm to XMail.



- 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]

-
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]



[xmail] Re: 1.26-pre03

2008-09-05 Thread Davide Libenzi
On Sat, 6 Sep 2008, Rob Arends wrote:

 Davide, 
 
 If I wanted to use the default unix storage format - is it possible to
 convert the existing windows format mail boxes?
 
 I could write little bit of Perl if the conversion was relatively simple.

Yep:

for_each_domain
for_each_mailbox
mkdir Maildir
mkdir Maildir/new
mkdir Maildir/cur
mkdir Maildir/tmp
mv mailbox/* Maildir/new
rm -rf mailbox


- 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]



[xmail] Re: 1.26-pre03

2008-09-03 Thread Edinilson - ATINET
Davide, which kind of files we will see in the new tmp dir?

We migrated to 1.26-pre03 (Win32) this morning but, after +- 3 hours, 
nothing was saved there.

Regards

Edinilson
-
ATINET-Professional Web Hosting
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - 
From: Davide Libenzi [EMAIL PROTECTED]
To: XMail mailing list xmail@xmailserver.org
Sent: Tuesday, September 02, 2008 5:22 PM
Subject: [xmail] 1.26-pre03


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


-
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]



[xmail] Re: 1.26-pre03

2008-09-03 Thread Rob Arends
Davide, just out of curiosity.

Regarding the LF on disk vs CRLF in the SMTP protocol:

Could you have read the file and converted LF-CRLF on the fly while sending
the TCP data?

Or does that create a performance hit that is unacceptable?


Rob :-)
 
_
It might look like I'm doing nothing, but on a cellular level, I'm quite
busy.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Wednesday, September 03, 2008 6:22 AM
To: XMail mailing list
Subject: [xmail] 1.26-pre03

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


-
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]



[xmail] Re: 1.26-pre03

2008-09-03 Thread Davide Libenzi
On Wed, 3 Sep 2008, Rob Arends wrote:

 Davide, just out of curiosity.
 
 Regarding the LF on disk vs CRLF in the SMTP protocol:
 
 Could you have read the file and converted LF-CRLF on the fly while sending
 the TCP data?

This is what I do now, for Unixes. Windows messages gets sent vanilla.



 Or does that create a performance hit that is unacceptable?

A simple sendfile() (for Linux) is going to be faster, that's sure. I'm 
pretty darn sure that nobody will notice the difference.



- 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]



[xmail] Re: 1.26-pre03

2008-09-03 Thread Edinilson - ATINET
I´m asking because seems that XMail 1.26-pre03 is using %TEMP% for these 
temporaly stuff (and not tmp dir).
Or tmp dir will only be used in others systems NOT Windows?

Regards

Edinilson
-
ATINET-Professional Web Hosting
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - 
From: Davide Libenzi [EMAIL PROTECTED]
To: xmail@xmailserver.org
Sent: Wednesday, September 03, 2008 3:19 PM
Subject: [xmail] Re: 1.26-pre03


On Wed, 3 Sep 2008, Edinilson - ATINET wrote:

 Davide, which kind of files we will see in the new tmp dir?

 We migrated to 1.26-pre03 (Win32) this morning but, after +- 3 hours,
 nothing was saved there.

Hence the name tmp :)
Stuff is only temorarly stored there.



- 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]



-
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]



[xmail] Re: 1.26-pre03

2008-09-03 Thread Davide Libenzi
On Wed, 3 Sep 2008, Edinilson - ATINET wrote:
 I´m asking because seems that XMail 1.26-pre03 is using %TEMP% for these 
 temporaly stuff (and not tmp dir).
 Or tmp dir will only be used in others systems NOT Windows?

$MAIL_ROOT/tmp is only used for certain temporary files. The %TEMP% is 
still used by XMail for other files.



- 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]