Matthew Fisch
2006-Nov-09 23:47 UTC
[Dovecot] Using Substring Width with Mailhome Variables
Hello All, I am currently running Dovecot v1.0.rc13 from dovecot-1.0-0_31.rc13.fc5.at.i386.rpm on Linux HOST 2.6.17-1.2157_FC5 #1 Tue Jul 11 22:55:46 EDT 2006 i686 i686 i386 GNU/Linux. I am trying to install Dovecot in a large mail hosting environment and running into troubles. I have specified my mail home in dovecot.conf as follows: default_mail_env = maildir:/mnt/fileserver/maildir/%0.1d/%1.1d/%d/%n I've also tried among other variations: default_mail_env = maildir:/mnt/fileserver/maildir/%0d/%1.1d/%d/%n The expected behavior here, is to resolve this to: /mnt/fileserver/maildir/a/b/abc.com/user However, Dovecot seems to resolve this to: /mnt/raidzone01/maildir/abc.com/bc.com/abc.com/user/ It appears to me using 'width' with a substring does not work as is advertised on http://wiki.dovecot.org/Variables. This page does describe I need to be using 1.0-tests, what is 1.0-tests? I've also tried the default FC5 package: 1.0-0.beta8.2.fc5. Did I misunderstand the syntax? Am I using the wrong version? I won't be able to use dovecot without support for this feature as I am hosting many thousands of domains and know not how else to resolve them all. Thanks for all your time in advance, Matt Matthew Fisch Your-Site.com
Timo Sirainen
2006-Nov-12 11:51 UTC
[Dovecot] Using Substring Width with Mailhome Variables
On Thu, 2006-11-09 at 15:47 -0800, Matthew Fisch wrote:> I have specified my mail home in dovecot.conf as follows: > default_mail_env = maildir:/mnt/fileserver/maildir/%0.1d/%1.1d/%d/%nLooks like there are bugs in here. I'll fix them, but this should work for you already: default_mail_env = maildir:/mnt/fileserver/maildir/%1d/%1.1d/%d/%n -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20061112/6a789ed8/attachment.bin>