For instance, it says:
%n
%{user | username }
ok, so the replacement is "user" or "username" ? Why not providing the right answer ?
On 2025-02-16 16:16, Joan Moreau wrote:
So bottom line, what is the variable to get the user if " there is no username/domain" ? Don't really understand your "filter" either . There is only one value (the only one of the user connected)
No, donc is extemely ambiguous and don't provide any exmaple, stating literally "use A or B" for field X . Ok, but A or B ?
On 2025-02-16 15:33, Timo Sirainen via dovecot wrote: On 16. Feb 2025, at 1.26, Joan Moreau via dovecot <dovecot@dovecot.org> wrote: Hi Anyone to clarify that ?
On 15 February 2025 22:50:13 Joan Moreau <jom@grosjo.net> wrote: Hi This is not clear Is %d replaced by %domain or "user | domain" (??) Is %u now the same as %n (shall not be !!! ) For instance: toto@dodo -> %u = toto@dodo, %d = dodo, %n = toto, now, %domain = dodo and %user = toto or toto@dodo , $username =
I thought these are clearly enough listed in https://doc.dovecot.org/2.4.0/installation/upgrade/2.3-to-2.4.html ?
There is no %{domain} and there is no %{username}. There is only %{user} and filters |username and |domain to get the username or domain parts of the %{user}.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org