Login
You're viewing the ruby.social public feed.
  • Dec 1, 2026, 11:00 AM

    Any dovecot admins out there able to help me convert the following to 2.4 syntax please

    auth_username_format = %{if;%d;eq;localhost;%Ln;%Lu}

    I can't get it to work. I think it should be something like

    auth_username_format = %{user | domain | if ('eq', 'localhost', username, user) | lower }

    or (this throws syntax errors)

    auth_username_format = %{user | domain | if ('eq', 'localhost', %{user | username}, user) | lower }

    #email #dovecot #imap

    💬 6🔄 5⭐ 0

Replies