[dovecot-cvs] dovecot dovecot-example.conf,1.26,1.27

cras at procontrol.fi cras at procontrol.fi
Fri Dec 20 06:47:41 EET 2002


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv24373

Modified Files:
	dovecot-example.conf 
Log Message:
default_mail_env behaviour changed. We use %u instead of $U now. Added also
several other variables which can be used. Ideas based on David Champion's
mailpath library.



Index: dovecot-example.conf
===================================================================
RCS file: /home/cvs/dovecot/dovecot-example.conf,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- dovecot-example.conf	20 Dec 2002 01:47:11 -0000	1.26
+++ dovecot-example.conf	20 Dec 2002 04:47:39 -0000	1.27
@@ -141,8 +141,20 @@
 
 # Default MAIL environment to use when it's not set. By leaving this empty
 # dovecot tries to do some automatic detection as described in
-# doc/mail-storages.txt. $U will be replaced with username. Some examples:
-# maildir:/var/mail/$U/Maildir, mbox:~/mail/
+# doc/mail-storages.txt. There's a few special variables you can use:
+#
+#   %u - username
+#   %n - user part in user at domain, same as %u if there's no domain
+#   %d - domain part in user at domain, empty if user there's no domain
+#   %h - home directory
+#
+# You can also limit a width of string by giving the number of max. characters
+# after the '%' character. For example %1u gives the first character of
+# username. Some examples:
+#
+#   maildir:/var/mail/%1u/%u/Maildir
+#   mbox:~/mail/
+#
 #default_mail_env = 
 
 # Space-separated list of fields to cache for all mails. Currently these




More information about the dovecot-cvs mailing list