[Dovecot] dovecot sieve notify mailto

Kupor Laszlo willy at dunanet.hu
Tue Jul 3 19:10:58 EEST 2007


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 = postmaster at wizard.dunanet.hu
   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 "9141141 at sms1.pgsm.hu" :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 {20}9141141 at sms1.pgsm.hu
             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=<Pine.LNX.4.62.0707031750280.28802 at donci.dunanet.hu>: 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=<willy at wizard.dunanet.hu>, 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 <willy at dunanet.hu>
Key fingerprint  = 3F68 9483 5B65 8E2F CD30  5326 50F9 5A33 5BFA 0D36


More information about the dovecot mailing list