Re: [Dovecot] users mail folders have to be subscribed
Daniel,
Am 19.11.2012 23:32 schrieb "Daniel Parthey" < daniel.parthey@informatik.tu-chemnitz.de>:
Andre Bischof wrote:
doveadm mailbox subscribe -u user@example.com "*"
Should the user for "-u" be the system user the mailboxes belong to or has the user to be written in form of an email adress (user@localhost / user@n.dyndns.org)?
It should be the same userdb username as used for imap login.
Thank you. One thing that still doesn't work is subscribing to all mailboxes via "*", I guess because the folder names start with "." but dovecot mailbbox subscribe wants it without a starting "." Any clues how that can be solved?
Regards Andre
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Tue, 20 Nov 2012, Andre Bischof wrote:
Date: Tue, 20 Nov 2012 08:07:10 +0100 From: Andre Bischof <andre.bischof@rheinsinn.de> To: dovecot@dovecot.org Subject: Re: [Dovecot] users mail folders have to be subscribed
Daniel,
Am 19.11.2012 23:32 schrieb "Daniel Parthey" < daniel.parthey@informatik.tu-chemnitz.de>:
Andre Bischof wrote:
doveadm mailbox subscribe -u user@example.com "*"
Should the user for "-u" be the system user the mailboxes belong to or has the user to be written in form of an email adress (user@localhost / user@n.dyndns.org)?
It should be the same userdb username as used for imap login.
Thank you. One thing that still doesn't work is subscribing to all mailboxes via "*", I guess because the folder names start with "." but dovecot mailbbox subscribe wants it without a starting "." Any clues how that can be solved?
In v2.1.10
doveadm mailbox subscribe -u user@example.com "*"
does indeed add the string "*" to the subscription list, hence, one cannot add "all folders" with this wildcard.
However, you can use the Unix flexible modular command line system :-) e.g.:
doveadm mailbox subscribe -u user@example.com
$( doveadm mailbox list -u user@example.com )
Make sure to use the same "-u ..." switch.
I'm not sure about shared mailboxes by other users. In my test, mailbox list displays them, but subscribe does not add them, but silently ignores them.
Other way would be to add subscribed folders into "/home/of/user/Maildir/subscriptions", as you seem to use Maildir. One folder per line.
Kind regards,
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUKuLT2oxLS8a3A9mAQKPnwf+NO+Q57UyYqedZ2M3hAf1i+LFgEKJV4JO r6hDQ6kn6qABJc03udiaNrS+1bpLKyhZ+geMBua+qs4UGrMdE/fi0lyI4yvVtCBC mR41EuBvL9Jf5tFtKYG65tAhj6gjSOMAuXL6xwsawXSkrTV/33NFRG5FQ0bZRQvV pcG50V5lvOSXhpM4GqhQwEIurwGef9w8iG2rNxkTaSLWa/5ZaBCg9vFgCE0xs0hg N6aURUsqiebN+AIzzjJDOFwE4cDrH1TUbbGNW3cutjkolf3Jf6cGU96yUGKf4NvA bWv+3i4BUnUQ547DNNV5NNlw2Mz9569dRUyD6WHaiEVCW0Tp6U3iZw== =4zMT -----END PGP SIGNATURE-----
Steffen,
2012/11/20 Steffen Kaiser <skdovecot@smail.inf.fh-brs.de>
...
Thank you. One thing that still doesn't work is subscribing to all mailboxes via "*", I guess because the folder names start with "." but dovecot mailbbox subscribe wants it without a starting "." Any clues how that can be solved?
In v2.1.10
doveadm mailbox subscribe -u user@example.com "*"
does indeed add the string "*" to the subscription list, hence, one cannot add "all folders" with this wildcard.
However, you can use the Unix flexible modular command line system :-) e.g.:
doveadm mailbox subscribe -u user@example.com
$( doveadm mailbox list -u user@example.com )...
That's smart! I solved it a similar way yesterday evening using a loop (found it via google), but your way is even shorter.
Regards Andre
participants (2)
-
Andre Bischof
-
Steffen Kaiser