[Dovecot] alias best practice

Joseph Yee jyee at ca.afilias.info
Fri Jul 3 18:05:23 EEST 2009


I can't say it's best practice, it depends on your setting.

I'm allowing IMAP login from both user1 at acme1.com and user1 at acme2.com,  
to some extent it's user1 at acme1.com & user2 at acme2.com to the same  
maildir location, and I'm taking the 2) approach.

> 2) The same maildir path specified in MySQL record

HTH
- Joseph

On 3-Jul-09, at 10:47 AM, Luigi Rosa wrote:

> -----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