Hi all! Os : Fedora 6 Dovecot version : 1.0-0.1.rc7 Dovecot-sieve version: 1.0.2-6 (this is a problem?) Config : # dovecot -n # /etc/dovecot.conf protocols: imaps pop3s disable_plaintext_auth: yes login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_extra_groups: mail default_mail_env: maildir:/var/mail/vhosts/%d/%n mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep imap_client_workarounds(pop3): outlook-idle pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh auth default: mechanisms: plain digest-md5 login passdb: driver: passwd-file args: /etc/dovecot/passwd userdb: driver: passwd-file args: /etc/dovecot/users socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail protocol lda { postmaster_address = postmaster at neobytesolutions.com mail_plugins = cmusieve auth_socket_path = /var/run/dovecot/auth-master log_path = /var/log/dovecot-deliver.log #sieve_global_path = /etc/dovecot/globalsieverc } deliver is used correctly by postfix. Feb 21 15:03:56 europa postfix/pipe[22173]: 73CA62788F8: to=<vazi at neobytesolutions.com.europa>, relay=dovecot, delay=0.32, delays=0.17/0/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service) .dovecot.sieve compile correctly into .dovecot.sievec But I keep getting this error in dovecot-deliver.log: deliver(vazi at neobytesolutions.com.europa): Info: sieve runtime error: Fileinto: Generic Error deliver(vazi at neobytesolutions.com.europa): Error: sieve_execute_bytecode(/var/spool/mail/sieve-scripts/vazi at neobytesolutions.com.europa//.dovecot.sievec) failed What is the problem? Thank you, Varadi Zoltan
On 2/21/2008, Varadi Zoltan (zoltan at lightdesignworks.com) wrote:> Dovecot version : 1.0-0.1.rc7 > Dovecot-sieve version: 1.0.2-6 (this is a problem?)First problem is the version... it is WAY too old... You need to upgrade to a release version (current is 1.0.10), or mayeb even the newer 1.1, which is almost at RC1 stage... -- Best regards, Charles
> .dovecot.sieve compile correctly into .dovecot.sievec > > But I keep getting this error in dovecot-deliver.log: > > deliver(vazi at neobytesolutions.com.europa): Info: sieve runtime error: > Fileinto: > Generic Error > deliver(vazi at neobytesolutions.com.europa): Error: > sieve_execute_bytecode(/var/spool/mail/sieve-scripts/vazi at neobytesolutions.com.europa//.dovecot.sievec) > failed > > What is the problem? >Dovecot/Sieve tends to throw this error in the log if a message is delivered to a user that is over quota. In that case you should see this message followed by a "user over quota" message in the log (and an "e-mail undeliverable" reply would normally be sent to the sender). The messages vary a bit in different versions though. Other than that I don't know what could cause it. Also the errors are better the newer the version of dovecot (upgrading may help in that regard). Regards, Mikkel
> mikkel at euro123.dk wrote: > >> Also the errors are better the newer the version of dovecot (upgrading >> may >> help in that regard). >> > > I'd upgraded to version dovecot-1.0.10-0_66. > Now I get more logs in dovecot-deliver.log, but things still not work: > > deliver(vazi at neobytesolutions.com.europa): Feb 22 13:09:30 Info: > msgid=<47BEAC97.5050503 at lightdesignworks.com>: Couldn't open mailbox > .Junk: > Invalid mailbox name > deliver(vazi at neobytesolutions.com.europa): Feb 22 13:09:30 Info: sieve > runtime > error: Fileinto: Generic Error > deliver(vazi at neobytesolutions.com.europa): Feb 22 13:09:30 Error: > sieve_execute_bytecode(/var/spool/mail/sieve-scripts/vazi at neobytesolutions.com.europa//.dovecot.sievec) > failed > > The .Junk folder exists. It is in the root of the virtual users mail > directory: > /var/spool/mail/vhosts/neobytesolutions.com.europa/vazi/.Junk > > Here is the sieve script: > > require ["fileinto"]; > if header :contains "subject" ["test"] { > fileinto ".Junk"; > } >Hi First of all I think that you should post to the dovecot list instead of me in private. This way I'm the only one to see your post and I'm not sure that I can help. Also other users may benefit from your experience if it's available online. When you post to doveco at dovecot.org a copy is sent to me anyway. I'm not sure that I can help. I think you should check your permissions on the folder. And I think you should try with: fileinto "Junk"; Instead of: fileinto ".Junk"; (without the preceding dot that is) The preceding dot will automatically be added to the folder name by dovecot so it may create confusion if you use it too. Dovecot always uses the dot-prefix on folder names in the file system but this isn't really part of the IMAP/Sieve folder name that you wanna use. Regards, Mikkel