Change destination of dsync

Sami Ketola sami.ketola at dovecot.fi
Mon Jan 29 09:15:50 EET 2018



> On 25 Jan 2018, at 19.11, Sergio Belkin <sebelk at gmail.com> wrote:
> 
> Hi,
> 
> I have the following command for retrieving mails from another IMAP mail server
> 
> dsync -D -v backup -R -u jon.doe imapc: 
> 
> I't ok and works, but I'd want to copy messages outside of /var directory, is there a way to do that?

You can always override settings on command line, such as mail_location in this case. just add 
-o mail_location=Maildir:/alternate/location/path

or what ever mailbox format you are using.

Sami



More information about the dovecot mailing list