Re: IOERROR: fstating sieve script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 14, 2009 at 11:50 AM, brian<bally.zijn@xxxxxxxxx> wrote:> Anybody?>> I tried adding the directories under /var/lib/imap/sieve and copying> the defaultbc to each. But I'm now getting the following in the log:>>  sieve runtime error for ...: Vacation can not be used with Reject or Vacation>
I'll try a bit more information. I must be missing something crucialin setting up these vacation responders. The accounts in question arevirtual domains. The mailboxes have been created under:
/var/lib/imap/domain/LETTER/DOMAIN/user/LETTER/
I need 2 separate autoresponders. I created a single script:--- snip ---require ["vacation"];vacation  :days 1  :subject "Out of office reply"  :addresses ["user_a@DOMAIN","user_b@DOMAIN","user_c@DOMAIN"]"msg here";
vacation  :days 1  :subject "Out of office reply"  :addresses ["user_d@DOMAIN"]"other msg here";--- snip ---
sieveshell placed the defaultbc inside /var/lib/imap/sieve/global/,which suggests that it will be evaluated for all mailboxes. I guessthat's fine, though I only need it, obviously, for those mailboxes. Inany case, it seems that sieve is ignoring the "global" dir and lookingunder:
/var/lib/imap/sieve/domain/LETTER/DOMAIN/user/LETTER/
I removed the global dir and ran:
sieveshell --authname=cyrus --user=user_a@DOMAIN localhost
After put & activate, I see that the defaultbc, etc. have been placedunder sieve/domain/LETTER/etc. However, when I send a mail to thisaddress, I receieve no reply and the log shows:
Aug 15 14:55:17 logi lmtpunix[32308]: sieve runtime error foruser_a@DOMAIN id <4A87026C.6010305@MY_DOMAIN>: Vacation can not beused with Reject or Vacation

In bc_eval.c:
res = do_vacation(actions, toaddr, fromaddr, xstrdup(subject),		  message, days, mime, handle);
if (res == SIEVE_RUN_ERROR)	*errmsg = "Vacation can not be used with Reject or Vacation";
This is an unhelpful error msg, IMHO. Does anyone understand what it means?----Cyrus Home Page: http://cyrusimap.web.cmu.edu/Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twikiList Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux