[dovecot-cvs]
dovecot/doc variables.txt, NONE, 1.1 Makefile.am, 1.7, 1.8
cras at procontrol.fi
cras at procontrol.fi
Mon May 31 21:04:48 EEST 2004
Update of /home/cvs/dovecot/doc
In directory talvi:/tmp/cvs-serv4696/doc
Modified Files:
Makefile.am
Added Files:
variables.txt
Log Message:
Added %l, %r and %P variables and mail_log_prefix setting.
--- NEW FILE: variables.txt ---
You can use special variables in several places:
- default_mail_env setting
- namespace locations
- static userdb template string
- LDAP and SQL userdb query strings
- log prefix for imap/pop3 process
The variables are:
%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
%p - protocol (IMAP or POP3)
%P - PID of the current process (login or imap/pop3 process)
%l - local IP address
%r - remote IP address
You can apply a modifiers for each variable (eg. %Lp = pop3):
%L - lowercase
%U - uppercase
%E - escape '"', "'" and '\' characters by inserting '\' before them.
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.
Index: Makefile.am
===================================================================
RCS file: /home/cvs/dovecot/doc/Makefile.am,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- a/Makefile.am 10 May 2004 01:47:08 -0000 1.7
+++ b/Makefile.am 31 May 2004 18:04:46 -0000 1.8
@@ -8,7 +8,8 @@
mail-storages.txt \
multiaccess.txt \
nfs.txt \
- securecoding.txt
+ securecoding.txt \
+ variables.txt
EXTRA_DIST = \
mkcert.sh \
More information about the dovecot-cvs
mailing list