-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rick Romero wrote:
> According to the Dovecot wiki, W= size including CR/LFs(?).  From my old
> vdelivermail source, it looks like:

It's kind of odd that they chose to replicate an existing Maildir++ flag.
The 'including CR/LFs' must have some importance that I'm not aware of.

> snprintf(local_file_tmp, sizeof(local_file_tmp), "%stmp/%lu.%lu.%.32s,S=
> %lu", maildir, tm, pid, hostname, (long unsigned) msgsize);
> snprintf(local_file_new, sizeof(local_file_new), "%snew/%lu.%lu.%.32s,S=
> %lu", maildir, tm, pid, hostname, (long unsigned) msgsize);
> 
> Could be changed to:
> 
> snprintf(local_file_tmp, sizeof(local_file_tmp), "%stmp/%lu.%lu.%.32s,S=
> %lu,W=%lu", maildir, tm, pid, hostname, (long unsigned) msgsize,(long
> unsigned) msgsize);
> snprintf(local_file_new, sizeof(local_file_new), "%snew/%lu.%lu.%.32s,S=
> %lu,W=%lu", maildir, tm, pid, hostname, (long unsigned) msgsize, (long
> unsigned) msgsize);
> 
> Right?
> 
> I don't know if any real performace would be had from that, but it seems like 
> a harmless change on the surface :)

Yeah.  The Maildir++ specification isn't the best specification in the world as 
it doesn't
mention what to do with unknown flags, but everything I've seen just ignores 
unknown flags.
- --
/*
    Matt Brookings <m...@inter7.com>       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
*/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm2kAgACgkQ6QgvSNlBT3DKGwCgjaiYUy44OXEeXZVUuspM/AlE
mrwAoKSDSpoLlVvgEzK4Zh1Kw0V5eBtF
=z2sA
-----END PGP SIGNATURE-----

Reply via email to