Virtualmin and LDAP

I key off of the mail field from postfix for my LDAP mail accounts. With this the full user@domain.tld is required to function properly. Does anyone know how I can use virtualmin to add the domain portion automagically when provisioning LDAP accounts?

I’m not sure I follow you…

You need user logins to webmin/virtualmin to be the full e-mail address?

If that’s the case, webmin uses pam/system to control logins. Just tell ldap_pam to use the mail field for auth instead of uid. That should do it.

I believe I found the setting within the qmail/ldap module of Virtualmin.