[Dovecot] %d is empty in mail_location

Christopher Balmain chris at team.dcsi.net.au
Wed May 12 03:51:18 EEST 2010


Hi,

You are stripping the domain part of the username with the username_format specifiers:

  passdb passwd-file {
    args = scheme=crypt username_format=%Ln /etc/mailauth/%Ld.passwd
  }

  userdb passwd-file {
    args = username_format=%Ln /etc/mailauth/%Ld.passwd
  }

Try replacing %Ln with %Lu in both these cases.

Chris


Phil Howard wrote:
> So what I am wondering, right now, is where the value for %d ... as used in
> mail_location ... comes from when running in dovecot/deliver.  Apparently it
> is not getting anything through that means.  Not know where it gets it from,
> I don't know where to look to see what is misconfigured.


More information about the dovecot mailing list