Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
Op 17-9-2010 10:27, Dieter Knopf schreef: Hello, I just migrated from Postfix/Courier/Maildrop to Postfix/Dovecot/Deliver/Sieve and don't unterstand the right syntax for sieve :( I searched and found many small examples and many links to the RFC, but nothing was usefull for me (or i didn't

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
Op 17-9-2010 12:18, Stephan Bosch schreef: # Filter TO if (hasaddr(n...@domain.tld)) { to $M/.foo/ } if address :is :comparator i;ascii-casemap [|to|, |cc|,| resent-to|, |resent-cc|] [n...@domain.tld] { fileinto foo; } Iew! Not sure where these '|' chars came from, but

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
Op 17-9-2010 12:18, Stephan Bosch schreef: require subaddress; /* for the :domain part (last script) */ Shameful. No, you don't need to require this. The :domain part is part of the core language. Let's just say it was early. :) Regards, Stephan.

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/17 Stephan Bosch step...@rename-it.nl:  Op 17-9-2010 12:18, Stephan Bosch schreef: [...] THANKS for the big help. Converting it now :-) But have another problem with the fileinto-command :( I alway get a failed to find namespace for mailbox 'foo' but/home/vmail/domain.tld/name/.foo/

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Patrick Westenberg
Dieter Knopf schrieb: I alway get a failed to find namespace for mailbox 'foo' but/home/vmail/domain.tld/name/.foo/ exist. I tried it with: fileinto foo; and fileinto .foo; This works for me: fileinto :create INBOX.foo; :create will create this folder if it does not exist. Patrick

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/17 Patrick Westenberg p...@wk-serv.de: This works for me: fileinto :create INBOX.foo; :create will create this folder if it does not exist. Thanks, works fine now :-) One small issue: My mail client (kmail) always want to open the INBOX.dovecot.sieve (because there is a

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Patrick Westenberg
Dieter Knopf schrieb: One small issue: My mail client (kmail) always want to open the INBOX.dovecot.sieve (because there is a .dovecot.sieve file for the filter). (Client show it as dovecot/sieve folder) Is there a way to hide this? I never had this problem because I use home directories.

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Dieter Knopf
2010/9/17 Patrick Westenberg p...@wk-serv.de: User specific sieve files are placed in the home directories while mails are stored in the given mail_location (can be a subdirectory of the home directory) Thanks. I tested something and set a sieve-config outside my maildirs: # dovecot -n |grep

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Patrick Westenberg
Dieter Knopf schrieb: Sorry for the question, just found it out, I didn't knew that all files needs a .sieve extensions. include :global foo; with a file foo.sieve works fine :-) Good to know ;)

Re: [Dovecot] Too stupid for sieve (former maildrop user)

2010-09-17 Thread Stephan Bosch
On 9/18/2010 1:10 AM, Patrick Westenberg wrote: Dieter Knopf schrieb: Sorry for the question, just found it out, I didn't knew that all files needs a .sieve extensions. include :global foo; with a file foo.sieve works fine :-) Good to know ;) Good point. I now clarified this in the wiki.