IOERROR fstating sieve
nybbles2byte at gmail.com
Fri Apr 9 14:54:10 EDT 2010
I just wanted to confirm for anyone else wishing to remove these error messages that the simple solution is to:
su to cyrus
Change dir to the dir. you are going to put the file, in my case: cd /var/spool/mail/sieve/
Create a blank text file, I used "touch blank-filter.txt"
Create the byte code file: sievec blank-filter.txt blank-filter.bc
I then created a symlink: ln -s blank-filter.bc defaultbc
Once that is done anywhere you need defaultbc just symlink to the symlink you just created. This makes it very easy to change the default filter for all accounts from blank to something else if you ever wish to.
What I haven't figured out is how to automatically create the default file (or symlink in my case) when a mailbox is created but I can write some scripting for that which is the final step.
I'm wondering if there are some hooks for that or if I just have to write the code in the same place where I create the mailbox.
Saturday, April 3, 2010, 2:53:23 PM, you wrote:
>> Hello Reinaldo,
>> I'm not having any success with removing this error. If create the file
>> that it says is missing I get this error:
>> lmtpunix: sieve runtime error for mydomain.com id
>> <20100403063500.97552A0629 at mail.mydomain.com>: Run error
>> I created the file with: "sudo -u cyrus touch defaultbc"
>> If I restart cyrus with sieve commented out I still get the errors plus:
>> lmtpunix: IOERROR: mapping
>> /var/spool/mail/sieve/domain/K/mydomain.com/C/cron/defaultbc file for
>> sievescript: No such device
> The "bc" in defaultbc stands for byte code. This is not a plain text file.
> Use "sievec" to create the defaultbc.
Nybbles2Byte mailto:nybbles2byte at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Info-cyrus