[Dovecot] Request for variable unique to each server?
Timo Sirainen
tss at iki.fi
Sat Nov 10 17:30:08 EET 2007
On Sat, 2007-11-10 at 09:12 -0500, Adam McDougall wrote:
> Is there a variable that holds the server hostname or something else unique per server,
> or could one be added, or could someone point me at the code? Thanks.
Well, the code would in two places:
src/auth/auth-request.c auth_request_get_var_expand_table()
src/master/mail-process.c get_var_expand_table()
You could add a new variable that uses my_hostname variable from
hostpid.h. I'm not sure if I should add this to standard variables.
These one letter variables are beginning to run out. Maybe v2.0 should
have longer $variable names..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071110/4bb19ffa/attachment.bin
More information about the dovecot
mailing list