My setup is postfix mail gateway/spamassassin on one machine and dovecot mail box server on another machine.
Will the following configuration work?
- On the mail gateway, I install dovecot-lmtp and use it to deliver locally spam.
- 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.
Thanks in advance
On 04/12/2015 08:08 PM, 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?
- On the mail gateway, I install dovecot-lmtp and use it to deliver locally spam.
- 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.
Thanks in advance
Do you have some special motivation here? It's not quite clear in your post. Why would you want to store junk mail on the gateway box and not just deliver it along with everything else? If you do need to have a folder in separate storage, that can be done with namespaces, see http://wiki2.dovecot.org/Namespaces
-----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?
- On the mail gateway, I install dovecot-lmtp and use it to deliver locally spam.
- 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-----
participants (3)
-
Gedalya
-
Roman Gelfand
-
Steffen Kaiser