Hello,

I try to migrate to dovecot-lda from procmail, but some script can't run under lda cmusieve plugin.

dovecot version: dovecot-1.0(debian)

revelant config
dovecot.conf:

protocol lda {
  postmaster_address = [EMAIL PROTECTED]
  hostname = wizard.dunanet.hu
  mail_plugin_dir = /usr/lib/dovecot/modules/lda
  #sendmail_path = /usr/lib/sendmail
  auth_socket_path = /var/run/dovecot/auth-master
  mail_plugins = cmusieve
}

.forward
| "/usr/lib/dovecot/deliver"

.dovecot.sieve (revelant part)

require ["fileinto","notify"];
...
...
notify :method "mailto" :options "[EMAIL PROTECTED]" :id "test" :message;

if true {
        keep;
}
...

I can compile with sievec, deliver also can compile to .dovecot.sievec (no errors) i can decompile with sieved:

1935: NOTIFY METHOD({6}mailto)
            ID({5}willy) OPTIONS [EMAIL PROTECTED]
            PRIORITY(13)
            MESSAGE({17}$from$: $subject$)
1954: IF (ends at 1957)true
1957:JUMP 1960
1959: KEEP
full len is: 1960

But notification does not work..

Jul  3 17:50:38 WiZARD deliver(willy): Loading modules from directory: 
/usr/lib/dovecot/modules/lda
Jul  3 17:50:38 WiZARD deliver(willy): Module loaded: 
/usr/lib/dovecot/modules/lda/lib90_cmusieve_plugin.so
Jul  3 17:50:38 WiZARD deliver(willy): mbox: 
data=/home/willy/mail/:INBOX=/var/mail/willy
Jul  3 17:50:38 WiZARD deliver(willy): mbox: root=/home/willy/mail, 
index=/home/willy/mail, inbox=/var/mail/willy
Jul  3 17:50:38 WiZARD deliver(willy): cmusieve: Using sieve path: 
/home/willy/.dovecot.sieve
Jul  3 17:50:38 WiZARD deliver(willy): cmusieve: Executing script 
/home/willy/.dovecot.sievec
Jul  3 17:50:38 WiZARD postfix/smtpd[15234]: disconnect from 
donci.dunanet.hu[62.77.204.40]
Jul  3 17:50:38 WiZARD deliver(willy): msgid=<[EMAIL PROTECTED]>: saved mail to 
 INBOX
Jul  3 17:50:38 WiZARD deliver(willy): sieve runtime error: Notify: Generic 
Error
Jul  3 17:50:38 WiZARD postfix/local[15239]: B31B419746C: to=<[EMAIL 
PROTECTED]>, relay=local, delay=0.1, delays=0.07/0/0/0.02, dsn=2.0.0, status=sent 
(delivered to command: /usr/lib/dovecot/deliver)

I always get
        sieve runtime error: Notify: Generic Error

Fileinto, and redirect works fine, but notify does not.
I try  "dovecot-sieve-1-0-64a7986b5e55.tar.bz2" without success.

Please help debug "Generic Error".

Thanks,


Udv.: Willy
--
PGP GNUPG/1.0 ID = 5BFA0D36 Kupor Laszlo Attila <[EMAIL PROTECTED]>
Key fingerprint  = 3F68 9483 5B65 8E2F CD30  5326 50F9 5A33 5BFA 0D36

Reply via email to