Different users having same home/mail_location?

Marcus Rueckert darix at opensu.se
Sat Sep 23 23:15:13 EEST 2017


On 2017-09-23 20:08:35 +0000, Tapio Sokura wrote:
> Will I be breaking something if I have two users share the same home and/or
> mail_location (maildir format) in dovecot? Mail will only be delivered to
> the primary user, the other would be used every now and then to login via
> imap (webmail).
> 
> This would be on a CentOS 7 box running dovecot from the packaging system,
> i.e. dovecot-2.2.10-8.el7 currently. The reason I'd like to do this is to
> have two ways to login to the same mailbox, one using username + password
> and the other otherusername + otherpassword + otp-token. Basically this
> "otherusername" would be for cases where I don't trust the client computer
> to not have a keylogger etc badness in it, but still need to see my mail.
> 
> I have this kind of a dual-login setup via PAM for regular system user
> authentication and it's working ok. I'm just wondering about the dovecot
> part, whether dovecot will do Unexpected Things if more than one user have
> the same home and mail_location? If it makes any difference, the users can
> have separate homes, but the mailbox should be the same for usability.

why not just a shared folder?

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org


More information about the dovecot mailing list