[Dovecot] Importing emails from mounted NFS to dovecot using doveadm
Hello Timo....
I try to import emails using doveadm, but i found one little issue to me,
my driver in auth is
auth_default_realm = exemplo.com.br auth_mechanisms = LOGIN PLAIN passdb { driver = pam } userdb { driver = static args = uid=mail gid=mail home=/storage/gss/emexis/messages/%d/%n allow_all_users=yes }
but my emails to import in NFS i cant change the UID-GID to mail:mail, because is in use by another IMAP (in one machine uid X is different from another machine)
There is a way to import emails with doveadm without change the owner from my emails to import ?
On Wed, 2011-05-04 at 14:05 -0300, Alex Baule wrote:
userdb { driver = static args = uid=mail gid=mail home=/storage/gss/emexis/messages/%d/%n allow_all_users=yes }
but my emails to import in NFS i cant change the UID-GID to mail:mail, because is in use by another IMAP (in one machine uid X is different from another machine)
There is a way to import emails with doveadm without change the owner from my emails to import ?
Dovecot would then have to read mails using one UID and write them using another UID. It would have to run as root to do that.. So, nope, no good way to do this. You could cp the mails to /tmp first and chown there.
participants (2)
-
Alex Baule
-
Timo Sirainen