[Dovecot] using complete email address as username
I've been poking around the dovecot wiki, and this idea looks plausible. I'm just double-checking with the assembled experts to see if there is some "gotcha" that will happen to me down the road.
I have in mind a deployment of dovecot which will use serve several unrelated domains. My plan is to use the complete email address of the users as the unique userid. So, for example, a user with email address foo@example.COM is unrelated to a user with email address foo@example.NET. The "home" directories of such users will look something like:
/some/path/foo@example.com/ /some/path/foo@example.net/
I do also plan to use ACLs for some things, so there could be ACL entries of the form:
user:foo@example.com ...
I will probably be using the quota plugin for individual users right away and group quotas later when that's officially available.
So, is all this likely to work or will it collapse in a miasma of unmet expectations?
Thanks in advance for any comments!
On Sunday 12 August 2007 14:10:53 WJCarpenter wrote:
I've been poking around the dovecot wiki, and this idea looks plausible. I'm just double-checking with the assembled experts to see if there is some "gotcha" that will happen to me down the road.
"Assembled experts"? Not here but we do use the full email address for username. We have not experienced any problems with respect to Dovecot. We have one "main" domain (foo.com) which has access to local services. So our issues are with local services (ssh and samba) and training the users@afoo.com to understand to dump the @foo.com for their username for these local services. I understand their confusion because even the intranet websites use their full email address for their username. I haven't really put any real man-power into solving this issue(s) perhaps Kerberos.
/some/path/foo@example.com/ /some/path/foo@example.net/
We use /some/path/domain/username to get rid of the '@'.
I do also plan to use ACLs for some things, so there could be ACL entries of the form:
user:foo@example.com ...
This works.
I will probably be using the quota plugin for individual users right away and group quotas later when that's officially available.
We are not using quotas but assume they work.
Jim
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, Aug 12, 2007 at 02:47:14PM -0400, Jim Horner wrote:
On Sunday 12 August 2007 14:10:53 WJCarpenter wrote:
I've been poking around the dovecot wiki, and this idea looks plausible. I'm just double-checking with the assembled experts to see if there is some "gotcha" that will happen to me down the road.
[...]
/some/path/foo@example.com/ /some/path/foo@example.net/
This works at out installation too (Ubuntu GNU/Linux, edgy).
Regards
- -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFGv+EjBcgs9XrR2kYRAqjzAJ0WMX4f3CfmWoDXYi2/3M+69OkHwQCdGv+1 UGG8nNiyy1T4KhMtEyGccfo= =YTjy -----END PGP SIGNATURE-----
participants (3)
-
Jim Horner
-
tomas@tuxteam.de
-
WJCarpenter