search for: replace_source

Displaying 1 result from an estimated 1 matches for "replace_source".

2006 May 10
1
dovecot and vmailmgr
...t (virtual_username) some rewriting is done on the username, as dots are replaced by ":". So in the end j.doe at foo.com becomes "~mxfoocom/users/j:doe". Now, var-expand does not support any rewriting. I patched it by adding another modifier, m_str_replace(), which replaces REPLACE_SOURCE with REPLACE_TARGET in a given string. By defining REPLACE_SOURCE to '.' and REPLACE_TARGET to ':' one accomplishes the vmailmgr username rewriting. This modifier is applied with "P", so: default_mail_env = maildir:%h/users/%Pn A better, general solution would be fo...