special_use folders

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Apr 13 13:39:20 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 12 Apr 2015, Roman Gelfand wrote:

> My setup is postfix mail gateway/spamassassin on one machine and dovecot
> mail box server on another machine.
>
> Will the following configuration work?
>
> 1.  On the mail gateway, I install dovecot-lmtp and use it to deliver
> locally spam.
> 2.  On the mailbox server, I configure special use junk folder to point
> mail gateway's spam folder via nfs.
>
> If this is correct, how can I configure special use folder to point to a
> path (variable based on email) which is different from default path?
>
> If there is a different way to handle this, I would interested.

If you use Maildir or something like that, you probably can symlink the 
NFS path into each user's Maildir.

You cannot configure a "filesystem path" to point to a mailbox, as far as 
I know. Maybe there is a plugin for that. But you could create a new 
namespace for the NFS storage and use the config

   mailbox Junk {
     special_use = \Junk
   }

in that namespace.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVSvHCHz1H7kL/d9rAQJxXgf+KvqVSR+bZZ0koCfquVR8fllU0TjbmS9h
QcZ/9WH4OYpQrqU+T1c6NjHrVa693pTeDH6lQkzeeA/ZC7Fv33z9TcSf3dZtX9Vs
71vJ/o2gTGODJS9Hdjs41O/75FaKc+S71ueNX6DMb8rZ6CiFhki4HLrnxKQdxBgA
62O1Xl4uWhI1iGwY+VI4tH+eMBUQkLPUT40iLuUNCj/xJQII5dU9yGUBZU7ljRuK
p2ZLqXLoggYt795VhXuyauYf+mkO5JcOpoe1EN1OTWf2KxKQ7BenqeV3Kv7h0sII
qtZHGWPb/a2yn2GknTOtpXRVQa9gdD0/igNb5ci6+OBq7IpLOxnzzw==
=PcWW
-----END PGP SIGNATURE-----


More information about the dovecot mailing list