[Dovecot] Importing emails from mounted NFS to dovecot using doveadm
Timo Sirainen
tss at iki.fi
Wed May 11 15:23:03 EEST 2011
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.
More information about the dovecot
mailing list