Totty wrote:
> That`s correct, but Exim has to find the maildirs first, to deliver 
> the mails.
> I tried Dovecot Imapd and found that it can handle variables like 
> "%1u" which returns the first letter of the username.
> In the Exim config I can use the function "substr" to get the same 
> results. Now I can combine these to take the first and the second 
> letter from the username (or even more) to get a better balance.
>
> With this I can build a directory structure like this (for the user 
> totty): "/var/spool/mail/t/o/totty".
>
> Is there a possibility to use this within Courier (like the variables 
> from Dovecot or the "substr" from Exim?
> I haven`t found any hints in the documentation on the website.
> Is there any other documentation?

# cat authmysqlrc

...
MYSQL_HOME_FIELD      concat('/var/spool/mail/', substring(user, 1, 1), 
'/', substring(user, 1, 2), '/', user)
...



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to