doveadm backup : Error: Failed to access mailbox
Hi All, So close and yet so far. ;-( Have been migrating users from an old Dovecot server to a new one. All of the users have doveadm backup'd perfectly, except for one ! What does the below mean ? $ sudo doveadm -v -o imapc_user=j...@example.org.tld -o imapc_password=secretSquirrel -o imapc_host=old-server.example.com backup -1 -R -u j...@example.org.tld imapc: dsync(j...@example.org.tld): Info: imapc(old-server.example.com:993): Connected to 10.10.10.10:993 (local 10.10.10.11:35858) dsync(j...@example.org.tld): Error: Failed to access mailbox Sent Messages (jasmin@example: Mailbox doesn't exist: Sent Messages (jasmin@example (0.001 + 0.000 secs). dsync(j...@example.org.tld): Error: Failed to access mailbox Sent Messages (jas...@example.org: Mailbox doesn't exist: Sent Messages (jas...@example.org (0.001 + 0.000 secs). dsync(j...@example.org.tld): Error: Failed to access mailbox Drafts (jasmin@example: Mailbox doesn't exist: Drafts (jasmin@example (0.001 + 0.000 secs). dsync(j...@example.org.tld): Error: Failed to access mailbox Drafts (jas...@example.org: Mailbox doesn't exist: Drafts (jas...@example.org (0.001 + 0.000 secs). dsync(j...@example.org.tld): Error: Failed to access mailbox Deleted Messages (jasmin@example: Mailbox doesn't exist: Deleted Messages (jasmin@example (0.001 + 0.000 secs). dsync(j...@example.org.tld): Error: Failed to access mailbox Deleted Messages (jas...@example.org: Mailbox doesn't exist: Deleted Messages (jas...@example.org (0.001 + 0.000 secs).
A small mistake in a Dovecot error message.
I'm setting up a new mail server and got this message: May 21 11:55:09 vader dovecot[4090]: imap-login: Error: Diffie-Hellman key exchange requested, but no DH parameters provided. Set ssh_dh= The Dovecot parameter is actually: ss*l*_dh<=/path/to/dh.pem not ssh... Fedora release 32 (Thirty Two) dovecot-2.3.9.3-1.fc32.x86_64 Many thanks for such useful software. Bill
Re: A small mistake in a Dovecot error message.
> On 24/05/2020 21:20 Bill Shirley wrote: > > > I'm setting up a new mail server and got this message: > May 21 11:55:09 vader dovecot[4090]: imap-login: Error: Diffie-Hellman key > exchange requested, but no DH parameters provided. > Set ssh_dh= > The Dovecot parameter is actually: ss*l*_dh<=/path/to/dh.pem not ssh... > > Fedora release 32 (Thirty Two) > dovecot-2.3.9.3-1.fc32.x86_64 > > Many thanks for such useful software. > > Bill This has already been fixed in 2.3.10. Aki
missing man page for “doveadm dsync-server”?
Hello, Is there a man page for this command? I don’t see one in the repository. Given its utility in, e.g., syncing mailboxes via SSH, it seems like documentation for this command would be useful? Thank you! -Felipe Gasper
Re: missing man page for “doveadm dsync-server”?
> On 24/05/2020 21:56 Felipe Gasper wrote: > > > Hello, > > Is there a man page for this command? I don’t see one in the > repository. Given its utility in, e.g., syncing mailboxes via SSH, it seems > like documentation for this command would be useful? > > Thank you! > > -Felipe Gasper Hi! Man pages are in https://github.com/dovecot/core Aki
Re: missing man page for “doveadm dsync-server”?
> On May 24, 2020, at 2:58 PM, Aki Tuomi wrote: > > >> On 24/05/2020 21:56 Felipe Gasper wrote: >> >> >> Hello, >> >> Is there a man page for this command? I don’t see one in the >> repository. Given its utility in, e.g., syncing mailboxes via SSH, it seems >> like documentation for this command would be useful? >> >> Thank you! >> >> -Felipe Gasper > > Hi! > > Man pages are in https://github.com/dovecot/core > > Aki Hi Aki, I see that, but I don’t see `dsync-server` mentioned anywhere in the man pages. Am I missing something? Thank you! -F
Re: doveadm backup : Error: Failed to access mailbox
FYI, found the solution. It seems doveadm can't cope with brackets in mailbox names. I moved the user's mails into non-braketed, deleted the bracketed and doveadm backup worked fine after that. ‐‐‐ Original Message ‐‐‐ On Sunday, 24 May 2020 14:32, Laura Smith wrote: > Hi All, > > So close and yet so far. ;-( > Have been migrating users from an old Dovecot server to a new one. > All of the users have doveadm backup'd perfectly, except for one ! > > What does the below mean ? > > $ sudo doveadm -v -o imapc_user=j...@example.org.tld -o > imapc_password=secretSquirrel -o imapc_host=old-server.example.com backup -1 > -R -u j...@example.org.tld imapc: > dsync(j...@example.org.tld): Info: imapc(old-server.example.com:993): > Connected to 10.10.10.10:993 (local 10.10.10.11:35858) > dsync(j...@example.org.tld): Error: Failed to access mailbox Sent Messages > (jasmin@example: Mailbox doesn't exist: Sent Messages (jasmin@example (0.001 > + 0.000 secs). > dsync(j...@example.org.tld): Error: Failed to access mailbox Sent Messages > (jas...@example.org: Mailbox doesn't exist: Sent Messages (jas...@example.org > (0.001 + 0.000 secs). > dsync(j...@example.org.tld): Error: Failed to access mailbox Drafts > (jasmin@example: Mailbox doesn't exist: Drafts (jasmin@example (0.001 + 0.000 > secs). > dsync(j...@example.org.tld): Error: Failed to access mailbox Drafts > (jas...@example.org: Mailbox doesn't exist: Drafts (jas...@example.org (0.001 > + 0.000 secs). > dsync(j...@example.org.tld): Error: Failed to access mailbox Deleted Messages > (jasmin@example: Mailbox doesn't exist: Deleted Messages (jasmin@example > (0.001 + 0.000 secs). > dsync(j...@example.org.tld): Error: Failed to access mailbox Deleted Messages > (jas...@example.org: Mailbox doesn't exist: Deleted Messages > (jas...@example.org (0.001 + 0.000 secs).
Current thinking on backups ?
Hi, What are people doing for backups ? My current process is LVM snapshot and backup from that to NFS share. But there seems to be hints around the internet that people use/abuse "doveadm backup" for backup purposes even though it seems its original intention was for transferring mailboxes between dovecot instances. Assuming its ok to "doveadm backup" to an NFS share, is it ok to use "doveadm backup" when dovecot has replication setup (replication-notify etc.) ? Or will it interfere ? Thanks! Laura
How to make IMAPS SSL Cert for Dovecot that works with Thunderbird
Hello all, What are the instructions for making an SSL cert for Dovecot IMAPS? Two methods have been tried, and work, with Evolution; however generate the following error when Thunderbird tries to connect. Thank you, method 1 : self signed openssl req -newkey rsa:4096 -sha512 -x509 -days 365 -nodes -keyout mykey.key -out mycert.pem method 2 : Let's Encrypt (LE) CA Created with Certbot ERROR TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL alert number 42, session=<+oo> <>
Re: How to make IMAPS SSL Cert for Dovecot that works with Thunderbird
From what I can tell, “SSL alert number 42” means that you’ve configured Dovecot to require client authentication. Otherwise, your Let’s Encrypt certificate (with its authority chain) should suffice. -FG > On May 24, 2020, at 5:45 PM, hanas...@gmail.com wrote: > > Hello all, > > What are the instructions for making an SSL cert for Dovecot IMAPS? > > Two methods have been tried, and work, with Evolution; however generate the > following error when Thunderbird tries to connect. > > Thank you, > > method 1 : self signed > openssl req -newkey rsa:4096 -sha512 -x509 -days 365 -nodes -keyout mykey.key > -out mycert.pem > > method 2 : Let's Encrypt (LE) CA > Created with Certbot > > ERROR > TLS handshaking: SSL_accept() failed: error:14094412:SSL > routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL alert number 42, > session=<+oo> >
Re: How to make IMAPS SSL Cert for Dovecot that works with Thunderbird
Config has ssl_verify_client_cert = no What options might have the client auth turned on? TYIA On 5/24/20 6:40 PM, Felipe Gasper wrote: From what I can tell, “SSL alert number 42” means that you’ve configured Dovecot to require client authentication. Otherwise, your Let’s Encrypt certificate (with its authority chain) should suffice. -FG On May 24, 2020, at 5:45 PM, hanas...@gmail.com wrote: Hello all, What are the instructions for making an SSL cert for Dovecot IMAPS? Two methods have been tried, and work, with Evolution; however generate the following error when Thunderbird tries to connect. Thank you, method 1 : self signed openssl req -newkey rsa:4096 -sha512 -x509 -days 365 -nodes -keyout mykey.key -out mycert.pem method 2 : Let's Encrypt (LE) CA Created with Certbot ERROR TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL alert number 42, session=<+oo> <>
Re: How to make IMAPS SSL Cert for Dovecot that works with Thunderbird
On 2020-05-25 02:54, hanas...@gmail.com wrote: Config has ssl_verify_client_cert = no What options might have the client auth turned on? why does gmail attacht empty vcard info ? without any config snippes its hard to say what config error is local https://wiki.dovecot.org/SSL/DovecotConfiguration is it auth_ssl_require_client_cert = yes i dont use this auth features to make thunderbird work
Re: missing man page for “doveadm dsync-server”?
On 25/05/2020 03.00, Felipe Gasper wrote: > Is there a man page for this command? I don’t see one in the repository. > Given its utility in, e.g., syncing mailboxes via SSH, it seems like > documentation for this command would be useful? I think this is what you need. As far as I can gather, "doveadm sync" is an equivalent way of invoking the command. https://wiki2.dovecot.org/Tools/Doveadm/Sync You may also get some utility out of "Replication" P