[Dovecot] Domain part / auth_username_format

Robert Coup robert.coup at onetrackmind.co.nz
Wed Jun 13 15:23:06 EEST 2007


Timo Sirainen said:
> Do you mean that you want to have user at domain1.org and user at domain2.org
> have the same password but different maildirs?

Yes. Basically using the domain part as a variable :)

> What passdb and userdb
> are you using? I don't think there's a way to do this with auth_*
> settings. With SQL it would be easy.

Currently I'm using PAM, but I could probably hack up a checkpassword
script or some sql auth. auth_username_format is very close except the %d
disappears when it comes to evaluate mail_location!

Thanks,

Rob :)



More information about the dovecot mailing list