<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/21/2014 01:58 PM, Nic Bernstein wrote:<br>
<blockquote cite="mid:53556A70.3060006@onlight.com" type="cite">
<pre wrap="">Folks,
I've just added a sieve script like this to file some automated messages
into a specific client-related mailbox:
#
# Sieve script to put customer Rancid messages into specific client
folders
#
require "fileinto";
if header :contains ["from"] <a class="moz-txt-link-rfc2396E" href="mailto:rancid@example.com">"rancid@example.com"</a> {
fileinto "tech.support.rancid-example-com";
stop;
}
if header :contains ["from"] <a class="moz-txt-link-rfc2396E" href="mailto:rancid@example.net">"rancid@example.net"</a> {
fileinto "tech.support.rancid-example-net";
stop;
}
### End Script ###
Our shared folder hierarchy looks like this:
tech (\HasChildren)
tech.support (\HasChildren)
tech.support.rancid-example-com (\HasNoChildren)
tech.support.rancid-example-net (\HasNoChildren)
However, when sieve runs the script, I get this error:
Apr 21 12:13:27 ujiji cyrus/lmtpunix[18149]: sieve runtime error
for id \
<20140421171322.0BAB12955C6@monitor>: Fileinto: Mailbox does not
exist
I suspect that altnamespace is the culprit, but if that's the case, what
would the proper name for the destination mailbox be? Would it be
"Shared Folders.tech.support.rancid-example-com"? Not sure what to do here.
Thanks in advance for any and all help,
-nic
</pre>
</blockquote>
<br>
To follow up to my own message, for the benefit of future searchers,
the answer is "Yes, the proper target for sieve scripts for shared
mailboxes, when altnamespace is on, is to prepend whatever the `<b>sharedprefix:</b>'
value is." as in my example above.<br>
<br>
Cheers,<br>
-nic<br>
<pre class="moz-signature" cols="72">--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight llc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
219 N. Milwaukee St., Ste. 2A         v. 414.272.4477
Milwaukee, Wisconsin 53202                 f. 414.290.0335
</pre>
</body>
</html>