Hi all, I've had a great deal of trouble accessing my Dovecot IMAP from most supposedly IMAP aware email clients, and have been advised that it might be because some of my email folders are not subscribed. Is there s way I can subscribe all my folders? I see no reason to have a folder not subscribed. Thanks, SteveT Steve Litt December 2019 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21
doveadm mailbox subscribe can be used to subscribe folders. Aki On 4.12.2019 23.22, Steve Litt via dovecot wrote:> Hi all, > > I've had a great deal of trouble accessing my Dovecot IMAP from most > supposedly IMAP aware email clients, and have been advised that it > might be because some of my email folders are not subscribed. Is there > s way I can subscribe all my folders? I see no reason to have a folder > not subscribed. > > Thanks, > > SteveT > > Steve Litt > December 2019 featured book: Rapid Learning for the 21st Century > http://www.troubleshooters.com/rl21
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
The command is
</div>
<div>
<br>
</div>
<div>
doveadm mailbox subscribe
</div>
<div>
<br>
</div>
<div>
as I said in my original mail.
</div>
<div>
<br>
</div>
<div>
Can you show what you tried to use and what happened?
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<blockquote type="cite">
<div>
On 06/12/2019 03:38 Steve Litt <
<a
href="mailto:slitt@troubleshooters.com">slitt@troubleshooters.com</a>>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
Thanks Aki,
</div>
<div>
<br>
</div>
<div>
On my Dovecot 2.3.8 (9df20d2db), doveadm has no command called
</div>
<div>
"subscribe". I checked it in the man page, and then I checked by
</div>
<div>
running it, which failed and threw up a usage screen.
</div>
<div>
<br>
</div>
<div>
SteveT
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On Thu, 5 Dec 2019 10:53:59 +0200
</div>
<div>
Aki Tuomi <
<a
href="mailto:aki.tuomi@open-xchange.com">aki.tuomi@open-xchange.com</a>>
wrote:
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
doveadm mailbox subscribe can be used to subscribe folders.
</div>
<div>
<br>
</div>
<div>
Aki
</div>
<div>
<br>
</div>
<div>
On 4.12.2019 23.22, Steve Litt via dovecot wrote:
</div>
<blockquote type="cite">
<div>
Hi all,
</div>
</blockquote>
<blockquote type="cite">
<div>
I've had a great deal of trouble accessing my Dovecot IMAP from most
</div>
<div>
supposedly IMAP aware email clients, and have been advised that it
</div>
<div>
might be because some of my email folders are not subscribed. Is
</div>
<div>
there s way I can subscribe all my folders? I see no reason to have
</div>
<div>
a folder not subscribed.
</div>
</blockquote>
<blockquote type="cite">
<div>
Thanks,
</div>
</blockquote>
<blockquote type="cite">
<div>
SteveT
</div>
</blockquote>
<blockquote type="cite">
<div>
Steve Litt
</div>
<div>
December 2019 featured book: Rapid Learning for the 21st Century
</div>
<div>
<a href="http://www.troubleshooters.com/rl21"
rel="noopener"
target="_blank">http://www.troubleshooters.com/rl21</a>
</div>
</blockquote>
</blockquote>
</blockquote>
<div>
<br>
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>
On Fri, 6 Dec 2019 09:35:57 +0200 (EET) Aki Tuomi via dovecot <dovecot at dovecot.org> wrote:> The command is > > doveadm mailbox subscribe > > as I said in my original mail. > > Can you show what you tried to use and what happened??I got it. The syntax was tricky. As root I had to do the following, to subscribe .INBOX.hux doveadm mailbox subscribe -u slitt INBOX.hux Notice no dot before "INBOX". The -u slitt must appear after "subscribe". Likewise, to unsubscribe it: doveadm mailbox unsubscribe -u slitt INBOX.hux To make a list of all the unsubscribed folders, I did the following as user slitt, who owns all the mail in the Dovecot IMAP: doveadm mailbox list -u slitt -s | sort > subscribed.sorted doveadm mailbox list -u slitt | sort > all.sorted diff all.sorted subscribed.sorted > unsubscribed.sorted I just turned unsubscribed.sorted into a shellscript that subscribed them one by one. Thanks, SteveT Steve Litt December 2019 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21