mikkel@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@neobytesolutions.com.europa): Feb 22 13:09:30 Info: msgid=47BEAC97.5050503@lightdesignworks.com: Couldn't open mailbox .Junk: Invalid mailbox name deliver(vazi@neobytesolutions.com.europa): Feb 22 13:09:30 Info: sieve runtime error: Fileinto: Generic Error deliver(vazi@neobytesolutions.com.europa): Feb 22 13:09:30 Error: sieve_execute_bytecode(/var/spool/mail/sieve-scripts/vazi@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@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
participants (1)
-
mikkel@euro123.dk