[Dovecot] Duplicate supression mechanism
Hello,
In a Dovecot 2.0.6 server I have an account x@domain and an alias y@domain -> x@domain.
When I send an email to x@domain with carbon copy to y@domain, X receives two messages on mailbox. Dovecot2 has any feature of duplicate suppression ?
Thanks
Thiago Henrique adminlinux.com.br
On 18.1.2013, at 17.36, 3.listas@adminlinux.com.br <listas@adminlinux.com.br> wrote:
In a Dovecot 2.0.6 server I have an account x@domain and an alias y@domain -> x@domain.
When I send an email to x@domain with carbon copy to y@domain, X receives two messages on mailbox. Dovecot2 has any feature of duplicate suppression ?
With v2.1 + Pigeonhole 0.3.1+ you can use vnd.dovecot.duplicate extension.
Timo Sirainen wrote:
On 18.1.2013, at 17.36, 3.listas@adminlinux.com.br <listas@adminlinux.com.br> wrote:
In a Dovecot 2.0.6 server I have an account x@domain and an alias y@domain -> x@domain.
When I send an email to x@domain with carbon copy to y@domain, X receives two messages on mailbox. Dovecot2 has any feature of duplicate suppression ?
With v2.1 + Pigeonhole 0.3.1+ you can use vnd.dovecot.duplicate extension.
Dovecot 2.1.10 and Pigeonhole 0.3.3 with the following SIEVE rules
require ["duplicate", "fileinto", "mailbox", "regex","vacation","variables"];
if duplicate { fileinto :create "Trash/Duplicate"; }
results in .dovecot.sieve.log Error:
sieve: info: started log at Jan 28 04:44:17. main script: line 3: error: require command: unknown Sieve capability `duplicate'. main script: line 5: error: unknown test 'duplicate' (only reported once at first occurence). main script: error: validation failed.
What is wrong?
Regards Daniel
On 1/22/2013 1:04 PM, Timo Sirainen wrote:
On 18.1.2013, at 17.36, 3.listas@adminlinux.com.br <listas@adminlinux.com.br> wrote:
In a Dovecot 2.0.6 server I have an account x@domain and an alias y@domain -> x@domain.
When I send an email to x@domain with carbon copy to y@domain, X receives two messages on mailbox. Dovecot2 has any feature of duplicate suppression ? With v2.1 + Pigeonhole 0.3.1+ you can use vnd.dovecot.duplicate extension.
Ehmm, not that one. That is the official submission and that is not what Dovecot currently implements. You should use this as a reference for now:
http://hg.rename-it.nl/dovecot-2.1-pigeonhole/raw-file/tip/doc/rfc/spec-bosc...
Don't forget to add vnd.dovecot.duplicate to sieve_extensions.
Regards,
Stephan.
Stephan Bosch wrote:
Don't forget to add vnd.dovecot.duplicate to sieve_extensions.
Where should I add this?
Regards Daniel
On 1/28/2013 7:42 PM, Daniel Parthey wrote:
Stephan Bosch wrote:
Don't forget to add vnd.dovecot.duplicate to sieve_extensions. Where should I add this?
http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
Usually, this stuff is located in /etc/dovecot/conf.d/90-sieve.conf, depending on your particular distribution.
Regards,
Stephan.
Il 28/01/2013 19:42, Daniel Parthey ha scritto:
Stephan Bosch wrote:
Don't forget to add vnd.dovecot.duplicate to sieve_extensions.
Where should I add this?
In conf.d/90-sieve.conf uncomment "sieve_extensions" and add:
sieve_extensions = +vnd.dovecot.duplicate
This is my default sieve rules:
# cat sieve/default.sieve
require ["vnd.dovecot.duplicate", "fileinto", "mailbox"];
if header :contains "X-Spam-Status" "Yes" { fileinto "Spam"; }
if duplicate { fileinto "Trash"; }
Ciao
Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ on LinkedIn -> http://www.linkedin.com/in/alessice Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
Hi Stephan, Hi Alessio,
Alessio Cecchi wrote:
Il 28/01/2013 19:42, Daniel Parthey ha scritto:
Stephan Bosch wrote:
Don't forget to add vnd.dovecot.duplicate to sieve_extensions. http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration
Thanks a lot, this does the job:
plugin { sieve_extensions = +vnd.dovecot.duplicate }
We do not use the config from the distro, so I did not recognize that plugin { sieve_extensions = ... } existed at all, since "doveconf" did not show anything about it, as long as it was not set in the config.
Can "doveconf" somehow display all available options of the sieve plugin?
Regards Daniel
participants (5)
-
3.listasï¼ adminlinux.com.br
-
Alessio Cecchi
-
Daniel Parthey
-
Stephan Bosch
-
Timo Sirainen