Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-15 Thread Stephan Bosch
On 11/15/2013 8:41 AM, Steffen Kaiser wrote: Hi Stephan, about #3 how about the variable extension? I never used it so far, but it should work Congratulations! You fell into the same trap I did when I first saw this problem. :) Consider this header: To: u...@dept.example.com,

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-15 Thread Yanko Hernández Álvarez
This should solve the first two: require fileinto; require relational; if address :is :domain To dept.example.com { fileinto Dept; } if allof ( address :value ne :domain To dept.example.com, anyof ( address :matches :domain To *.example.com, address :is :domain To

[Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Yanko Hernández Álvarez
Hello: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. I need to classify my outgoing messages in three folders: 1- To my department (@dept.example.com) 2- To my company

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Robert Schetterer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 14.11.2013 19:17, schrieb Yanko Hernández Álvarez: Hello: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. I need

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Muzaffer Tolga Ozses
Maybe you can do it with postdrop? On 14 Nov 2013 20:18, Yanko Hernández Álvarez yhdezalva...@gmail.com wrote: Hello: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. I

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Yanko Hernández Álvarez
Am 14.11.2013 19:17, schrieb Yanko Hernández Álvarez: Hello: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. I need to classify my outgoing messages in three folders:

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Stephan Bosch
On 11/14/2013 7:17 PM, Yanko Hernández Álvarez wrote: Hello: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. Outgoing? Sieve is currently only applicable to incoming

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Benny Pedersen
Yanko Hernández Álvarez skrev den 2013-11-14 19:17: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. before you loose your hair aswell, have you consider trying roundcube

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 14 Nov 2013, Yanko Hernández Álvarez wrote: I'm loosing my mind trying to classify my outgoing messages with sieve-test (2.0.9, centos 6.4). It came to the point I think it's not even possible with a sieve script. I need to classify my

Re: [Dovecot] Sieve script problem (don't know if is it possible to do this)

2013-11-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 14 Nov 2013, Stephan Bosch wrote: 1- To my department (@dept.example.com) 2- To my company (@example.com, @anyotherdept.example.com) (anyotherdept.example.com as in a way to say any other domain that ends with 'example.com', but not