-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Fri, 3 Jul 2009, Luigi Rosa wrote:
As Joseph said, it is a matter of taste.
\var\spool\mail\acme1.com- \user1 \var\spool\mail\acme2.com- \user1
I want that the mail of user1@acme1.com and user1@acme2.com goes in \var\spool\mail\acme1.com\user1
Note that there could be some users not equal between two domains.
What is the best practice?
Alias at Postfix level
The same maildir path specified in MySQL record
ln -s between \var\spool\mail\acme1.com\user1 and \var\spool\mail\acme2.com\user1
Hmm, personally I'd prefer 2) over 3), e.g. because there is no need for the symlinks, unless other tasks/services _rely_ on the existance of both dirs.
Choosing between 1) vs. 2) I'd ask, who is going to login: If you have both user1@acme1.com _and_ user1@acme2.com login, use 2), 1) otherwise. But stick to one way for all for sake of maintainability.
Variant 2) has the drawback, that you have two distinct user entries with a different password. However, I guess, you can manage to write a SQL query to map both users to one entry in Dovecot, but what about other services?
Bye,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQEVAwUBSlHFmHWSIuGy1ktrAQL9eggApOuRt0NhnkZbG9hQcua3jJCBboLv08ox e+/fifUOFu4v084sgdRcjM4HwFPx99b4idVUr9TagTiPw6IEDO48EKAR/8oME+Qe +Kszm1raqi1ZRrAJ0UdTfox8+qPCtlFcmh8X6e/sD6nUifoowTKX54iwlKGuPk4J JJWLnC/crcJn8c033fOkjlREcWlkUOsnnM7mQxNGdLOKbtv3uP0fYscWnrrJaCbq Qx9+0SbdStwtifyTVO2s+vhwH5trpRU1TmxDD7kAH0MgZ+YRRABXI73hPloeXHzF ncdIAaWsW3GzSM+SxjDwTkoJMshrK8We8bR730QWRt8X/aSaI9iW+Q== =UzXY -----END PGP SIGNATURE-----