[Dovecot] Help with a generated sieve rule
Hi all,
Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1.
## Generated by RoundCube Webmail SieveRules Plugin ## require ["vacation","variables"];
set "subject" ""; if header :matches "subject" "*" { set "subject" "${1}"; }
# rule:[Treinamento] if anyof (true) { vacation :days 1 :subject "Ausência: ${subject}" text: Olá! Estou em treinamento externo durante o período de 21 a 25 de junho. Att, . ; }
mail.log:
Jun 18 10:07:02 netuno postfix/smtpd[10722]: 6372A16073: client=mic-062.a1.ind.br[192.168.0.4], sasl_method=PLAIN, sasl_username=marcio.merlone Jun 18 10:07:02 netuno postfix/cleanup[10724]: 6372A16073: message-id=<4C1B6F7A.6000703@a1.ind.br> Jun 18 10:07:02 netuno postfix/qmgr[4964]: 6372A16073: from=<marcio.merlone@a1.ind.br>, size=888, nrcpt=1 (queue active) Jun 18 10:07:02 netuno dovecot: deliver(queila.farias): sieve: msgid=<4C1B6F7A.6000703@a1.ind.br>: stored mail into mailbox 'INBOX' Jun 18 10:07:02 netuno postfix/local[10725]: 6372A16073: to=<queila.farias@a1.ind.br>, relay=local, delay=1, delays=0.96/0.01/0/0.05, dsn=2.0.0, status=sent (delivered to command: /usr/lib/dovecot/deliver) Jun 18 10:07:02 netuno postfix/qmgr[4964]: 6372A16073: removed
Thanks very much for any help, hint.
-- Marcio Merlone
Em 18-06-2010 10:23, Marcio Merlone escreveu:
Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1.
## Generated by RoundCube Webmail SieveRules Plugin ## require ["vacation","variables"];
set "subject" ""; if header :matches "subject" "*" { set "subject" "${1}"; }
# rule:[Treinamento] if anyof (true) { vacation :days 1 :subject "Ausência: ${subject}" text: Olá! Estou em treinamento externo durante o período de 21 a 25 de junho. Att, . ; }
Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That was my first message to her and failed. Odd.
-- Marcio Merlone
On Jun 18, 2010, at 7:57 AM, Marcio Merlone wrote:
Em 18-06-2010 10:23, Marcio Merlone escreveu:
Can some kind soul please help me find why this rule did not work,
what's wrong? I am using dovecot 1:1.2.10-0xk1.## Generated by RoundCube Webmail SieveRules Plugin ## require ["vacation","variables"];
set "subject" ""; if header :matches "subject" "*" { set "subject" "${1}"; }
# rule:[Treinamento] if anyof (true) { vacation :days 1 :subject "Ausência: ${subject}" text: Olá! Estou em treinamento externo durante o período de 21 a 25 de junho. Att, . ; }
Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That
was my first message to her and failed. Odd.
I understand that the vacation :days is kept by writing to a file.
Maybe you were unable to write to this file which killed delivery.
Changing to 0 ignored the file.
// Brad
Em 18-06-2010 12:24, Bradley Giesbrecht escreveu:
On Jun 18, 2010, at 7:57 AM, Marcio Merlone wrote:
Em 18-06-2010 10:23, Marcio Merlone escreveu:
Can some kind soul please help me find why this rule did not work, what's wrong? I am using dovecot 1:1.2.10-0xk1. (...) Bizarre. Just changed ":days 1" to ":days 0" and it now worked. That was my first message to her and failed. Odd. I understand that the vacation :days is kept by writing to a file. Maybe you were unable to write to this file which killed delivery. Changing to 0 ignored the file.
Which file is that?
-- Marcio Merlone
On Jun 18, 2010, at 9:15 AM, Marcio Merlone wrote:
Em 18-06-2010 12:24, Bradley Giesbrecht escreveu:
On Jun 18, 2010, at 7:57 AM, Marcio Merlone wrote:
Em 18-06-2010 10:23, Marcio Merlone escreveu:
Can some kind soul please help me find why this rule did not
work, what's wrong? I am using dovecot 1:1.2.10-0xk1. (...) Bizarre. Just changed ":days 1" to ":days 0" and it now worked.
That was my first message to her and failed. Odd. I understand that the vacation :days is kept by writing to a file.
Maybe you were unable to write to this file which killed delivery.
Changing to 0 ignored the file.Which file is that?
I'm working through this error in dovecot-deliver.log:
Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file
or directory
I have virtual users and need to changed this path. My vacation are
still sent so this may have nothing to do with your problem.
// Brad
On Fri, 2010-06-18 at 09:22 -0700, Bradley Giesbrecht wrote:
Error: file_dotlock_create(~/.dovecot.lda-dupes) failed: No such file
or directoryI have virtual users and need to changed this path.
participants (3)
-
Bradley Giesbrecht
-
Marcio Merlone
-
Timo Sirainen