Am 20.11.2014 um 15:50 schrieb Brandon Metcalf:
> so I do use dovecot as the transport in postfix but I haven't found in
> the docs a way to do this still.  any pointers greatly appreciated.  

depending what exact you like to goal you need i.e variables subaddress
regex envelope extensions

http://wiki2.dovecot.org/Pigeonhole/Sieve/Configuration

...

plugin {
...
   # The location of the user's active script:
   sieve = ~/.dovecot.sieve

   # If the user has no personal active script (i.e. if the file
   # indicated in sieve= does not exist), use this one:
   sieve_global_path = /var/lib/dovecot/sieve/default.sieve

...
Executing Multiple Scripts Sequentially

The Dovecot Sieve plugin allows executing multiple Sieve scripts
sequentially. The extra scripts can be executed before and after the
user's private script. For example, this allows executing global Sieve
policies before the user's script. This is not possible using the
sieve_global_path setting, because that is only used when the user's
private script does not exist. The following settings in the plugin
section of the Dovecot config file control the execution sequence:

sieve_before =

    Path to a script file or a directory containing script files that
need to be executed before the user's script. If the path points to a
directory, all the Sieve scripts contained therein (with the proper
.sieve extension) are executed. The order of execution is determined by
the file names, using a normal 8bit per-character comparison.
...

http://wiki2.dovecot.org/Pigeonhole/Sieve/Examples

more examples

http://www.tty1.net/blog/2011/sieve-tutorial_en.html
http://www.unixwitch.de/de/sysadmin/tools/sieve
https://sys4.de/de/blog/2013/02/07/mailarchiv-mit-dovecot-und-postfix-sortiert-nach-datum-mailadressen-und-ein-ausgehend-unterordnern/
https://sys4.de/de/blog/2014/10/29/email-forward-mit-sieve-ohne-spf-dmarc-und-dkim-konflikte/
https://sys4.de/de/blog/2014/08/05/probleme-mit-sieve-reject/


more questions relating this ,should go to the dovecot list

Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

Reply via email to