[Dovecot] Using Substring Width with Mailhome Variables
Matthew Fisch
matthew.fisch at yahoo.com
Thu Nov 9 23:47:39 UTC 2006
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
More information about the dovecot
mailing list