[Dovecot] Dovecot deliver into folder question
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?
On 2014-01-06 3:20 PM, Marc Perkel marc@perkel.com wrote:
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?
For *all* messages? Or for certain messages?
Kind of an incomplete question.
--
Best regards,
Charles
On 1/6/2014 12:27 PM, Charles Marcus wrote:
On 2014-01-06 3:20 PM, Marc Perkel marc@perkel.com wrote:
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?
For *all* messages? Or for certain messages?
Kind of an incomplete question.
Certain messages. I'm talking about the deliver utility - the -m option.
Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>] [-f <envelope sender>] [-m <mailbox>] [-e] [-k]
when specifying the mailbox - how do you specify a subfolder? Do you use a / separator?
On 2014-01-06 3:33 PM, Marc Perkel marc@perkel.com wrote:
On 1/6/2014 12:27 PM, Charles Marcus wrote:
On 2014-01-06 3:20 PM, Marc Perkel marc@perkel.com wrote:
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?
For *all* messages? Or for certain messages?
Kind of an incomplete question.
Certain messages. I'm talking about the deliver utility - the -m option.
Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>] [-f <envelope sender>] [-m <mailbox>] [-e] [-k]
when specifying the mailbox - how do you specify a subfolder? Do you use a / separator?
Yeesh, no...
Use sieve and plus-addressing.
http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples
--
Best regards,
Charles
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 6 Jan 2014, Marc Perkel wrote:
On 1/6/2014 12:27 PM, Charles Marcus wrote:
On 2014-01-06 3:20 PM, Marc Perkel marc@perkel.com wrote:
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?
For *all* messages? Or for certain messages?
Kind of an incomplete question.
Certain messages. I'm talking about the deliver utility - the -m option.
Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>] [-f <envelope sender>] [-m <mailbox>] [-e] [-k]
when specifying the mailbox - how do you specify a subfolder? Do you use a / separator?
You have to experiment a bit. As far as I remember, there had been bug reports in some versions that maybe a mixture of "/" and the configured separator must be used, e.g.
prefix = shared. separator = .
try:
- -m shared.sub1.sub2.sub3
- -m shared.sub1/sub2/sub3
- -m shared/sub1/sub2/sub3
When I used Dovecot LDA, the first variant worked.
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUsusll3r2wJMiz2NAQKBqwf+KzT/ZtFMH77EowG9q+dz6eTFnoenDa4C pGIaDhLBVNJlqYZnbQP61HJHnKxXqIvx/zcnPaVbdsXDL+yjAVsY91/fENieQDwv JmG7hvcUeRQxAdi5oqwLm50chvpbNMMmovXcaM55D12/qDwrmS/I/miJEKN8fNNp FMG+aePFcrWDq+zWzXG8wAkMGQOCvLSGy4U470aRWUpaxEBpDd0D2Vh4aG2ovdGE tXaBTA6DiLOdh4ZgoocfFeCiQKbXR0gHkDGo8di9geKmBwad2rZg9rrIUm5JRW0v C++BhpW3o/w0vhZmKNK9U6C1T38m99e5XWGm6GXtAWir5dZIyJdD3w== =2m49 -----END PGP SIGNATURE-----
On 1/6/2014 11:28 PM, Steffen Kaiser wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 6 Jan 2014, Marc Perkel wrote:
On 1/6/2014 12:27 PM, Charles Marcus wrote:
On 2014-01-06 3:20 PM, Marc Perkel marc@perkel.com wrote:
If I want to user dovecot deliver into a folder that is not at the root level - how do I do that? How do I specify a folder in a folder?
For *all* messages? Or for certain messages?
Kind of an incomplete question.
Certain messages. I'm talking about the deliver utility - the -m option.
Usage: dovecot-lda [-c <config file>] [-a <address>] [-d <username>] [-p <path>] [-f <envelope sender>] [-m <mailbox>] [-e] [-k]
when specifying the mailbox - how do you specify a subfolder? Do you use a / separator?
You have to experiment a bit. As far as I remember, there had been bug reports in some versions that maybe a mixture of "/" and the configured separator must be used, e.g.
prefix = shared. separator = .
try:
- -m shared.sub1.sub2.sub3
- -m shared.sub1/sub2/sub3
- -m shared/sub1/sub2/sub3
When I used Dovecot LDA, the first variant worked.
Yes - I tried that and it worked with the period. However I think if I weren't using maildir format it might have failed. There should be an official way to do this.
Marc Perkel skrev den 2014-01-06 21:33:
when specifying the mailbox - how do you specify a subfolder? Do you use a / separator?
try create a folder in webmail, then see how its done in filesystem later, is this clear now ?
seperate chars is imho not hardcoded, thats why i answer as above
participants (4)
-
Benny Pedersen
-
Charles Marcus
-
Marc Perkel
-
Steffen Kaiser