<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
<style type="text/css">
body {
color: black;
background-color: white;
font-family:Arial, Helvetica, sans-serif;
font-size: 11pt;
max-width: 800px;
text-align: justify;
}
blockquote[type=cite] {
opacity: 0.8;
border: none!important;
outline: none!important;
margin: 24px 0 8px 18px!important;
padding: 4px 0!important;
font-size: 9pt;
}
.moz-cite-prefix, blockquote[type=cite] > div:first-of-type {
color: #088;
background-color: rgba(128,128,128,0.2);
margin-bottom: 12px;
}
q {
quotes: '\00AB\00A0' '\00A0\00BB';
}
table {
font-size: inherit;
}
</style>
<title></title>
</head>
<body>
<p>Hello,<br>
<br>
Sorry for the reply delay, I had to worry about something else …<br>
<br>
Here is my <b>doveconf -n</b>:</p>
<p style="font-family:monospace; font-size:
80%;margin-left:4em;color:#808"># 2.3.4.1 (f79e8e7e4):
/etc/dovecot/dovecot.conf<br>
# Pigeonhole version 0.5.4 ()<br>
# OS: Linux 4.19.0-6-amd64 x86_64 Debian 10.4<br>
# Hostname: <i>[my-host-name]</i><br>
auth_debug = yes<br>
auth_debug_passwords = yes<br>
auth_verbose = yes<br>
auth_verbose_passwords = yes<br>
imapc_features = rfc822.size fetch-headers<br>
imapc_host = <i>[remote-imap-host]</i><br>
imapc_password = # hidden, use -P to show it<br>
imapc_user = <i>[my-remote-user-name]</i>@<i>[with-domain]</i><br>
log_path = /var/log/dovecot.log<br>
mail_debug = yes<br>
mail_location = mbox:~/mail:INBOX=/var/mail/%u<br>
mail_prefetch_count = 20<br>
mail_privileged_group = mail<br>
namespace compat1 {<br>
alias_for =<br>
hidden = yes<br>
list = no<br>
location =<br>
prefix = mail/<br>
separator = /<br>
}<br>
namespace compat2 {<br>
alias_for =<br>
hidden = yes<br>
list = no<br>
location =<br>
prefix = Mail/<br>
separator = /<br>
}<br>
namespace inbox {<br>
inbox = yes<br>
location =<br>
mailbox "&AMk-l&AOk-ments envoy&AOk-s" {<br>
special_use = \Sent<br>
}<br>
mailbox "&AMk-l&AOk-ments supprim&AOk-s" {<br>
special_use = \Trash<br>
}<br>
mailbox Brouillons {<br>
special_use = \Drafts<br>
}<br>
mailbox "Courrier ind&AOk-sirable" {<br>
special_use = \Junk<br>
}<br>
prefix =<br>
}<br>
passdb {<br>
driver = pam<br>
}<br>
passdb {<br>
args = scheme=MD5-CRYPT username_format=%u /etc/dovecot/users<br>
driver = passwd-file<br>
}<br>
plugin {<br>
sieve = <a class="moz-txt-link-freetext" href="file:~/sieve;active=~/.dovecot.sieve">file:~/sieve;active=~/.dovecot.sieve</a><br>
}<br>
<br>
ssl_ca = </etc/letsencrypt/live/default/chain.pem<br>
ssl_cert = </etc/letsencrypt/live/default/cert.pem<br>
ssl_dh = # hidden, use -P to show it<br>
ssl_key = # hidden, use -P to show it<br>
userdb {<br>
driver = passwd<br>
}<br>
userdb {<br>
args = username_format=%u /etc/dovecot/users<br>
driver = passwd-file<br>
}</p>
<p>There is certainly something trivial there, but I'm not very used
to advanced usage of Dovecot.<br>
</p>
<p>Regards,</p>
Gingko<br>
<blockquote type="cite">
<div> Le 08/06/2020 à 10:32, Sami Ketola a écrit : </div>
<blockquote type="cite">
<div> On 7. Jun 2020, at 16.13, Gingko <<a
href="mailto:ldiff001@gingko.ovh">ldiff001@gingko.ovh</a>>
wrote: </div>
<p>Hello,<br>
<br>
I also have issues using Dovecot Backup.<br>
<br>
I am trying to Backup (or possibly Sync - one way) a single
user IMAP account from a remote server, unknown type, to my
own server.<br>
<br>
For that purpose, I defined the following parameters :</p>
<p style="font-family:monospace">imapc_host = <host name><br>
imapc_user =<user name><br>
imapc_password = <password><br>
imapc_features = rfc822.size</p>
<p>(<font><user name> has format: <a
href="mailto:name@example.com">name@example.com</a>,
and <host name> is the name of the imap remote server
that I use for getting mails)</font></p>
<p>… and then I issued the following command:</p>
<p style="font-family:monospace">doveadm backup -R -u <user
name, format<span> </span><a href="mailto:name@example.com">name@example.com</a>>
imapc:</p>
<p>... but doing this, I get the following answer:</p>
<p style="font-family:monospace">dsync(<user name>): Info:
imapc(<host name>:143): Connected to <host IP
address>:143 (local 192.168.1.2:52940)<br>
dsync(<user name>): Error: Failed to initialize user:
namespace configuration error: Namespace mail/ can't have
alias_for= to a different storage (different root dirs)</p>
<p>How can I solve this?</p>
<p>If there is something not matching between servers, I may
eventually change configuration on my side, but I think I
would first have to know which feature(s) I have to know from
the remote server in order to create the matching one on my
server.</p>
<p>Is there a way to list all relevant data coming from the
remote server?<br>
<br>
Also:</p>
<p>Doing this, is it necessary that the source user name be the
same as the destination user name? Is it possible to backup an
IMAP account to a user account having a completely different
name?</p>
</blockquote>
<br>
<div> Nope. Source and destination usernames can be different.
Please post your doveconf -n as this is probably an error on
your local config. </div>
<br>
<div> Sami </div>
</blockquote>
</body>
</html>