automated delivery of sieve scripts for new users
jwade at oakton.edu
Wed Feb 2 13:54:27 EST 2005
Craig White wrote:
> 1 - Is there a way to automatically set a sieve script to new users
> created on a system?
I believe this is a part of the latest autocreate patch from the
University of Athens.
> 2 - Is there a way to insert sieve scripts without having to type a
> password at the console (for automation)?
Athough it kind of goes against the Cyrus blackbox mentality, you should
be able to just do the following in a script as the cyrus user.
1. Create the user's sieve directory
2. Copy your script into the directory with a .script extension.
3. Use sievec to compile the script (i.e. /usr/lib/cyrus-imapd/sievec
4. Symbolically link the script to make it active: ln -s <scriptname>
We have certainly done these steps during conversions. (Note binary
compilation is only required with the latest versions of Cyrus.)
Hope this helps,
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus