[Dovecot] alias best practice

Luigi Rosa lists at luigirosa.com
Fri Jul 3 17:47:34 EEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Given a Linux mail server with Postfix+Dovecot using MySQL as userbase, a single
Linux user for file system access, two mail domains configured (acme1.com
acme2.com) and a maildir structure as follows

\var\spool\mail\acme1.com-
                         \user1
                         \user2
                         \user3
\var\spool\mail\acme2.com-
                         \user1
                         \user2
                         \user3


I want that the mail of user1 at acme1.com and user1 at 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?

1) Alias at Postfix level

2) The same maildir path specified in MySQL record

3) ln -s between \var\spool\mail\acme1.com\user1 and \var\spool\mail\acme2.com\user1

4) Else? (Dovecot virtual mailbox)



Thank you.




Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

Blessed are they who Go Around in Circles,
for they Shall be Known as Wheels.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpOGf8ACgkQ3kWu7Tfl6ZTJ1ACgp52Fy7PbGpnU9pFnvVioNcFO
OO8AoJRGG2UkyPXczR/bkAXqwjmVtpyL
=Loje
-----END PGP SIGNATURE-----


More information about the dovecot mailing list