--- cyrus-imapd-2.2-2.2.13.orig/debian/examples/editsieve +++ cyrus-imapd-2.2-2.2.13/debian/examples/editsieve @@ -0,0 +1,252 @@ +#!/bin/bash +# +# This script is copyright 2006 Sven Mueller +# Released under the terms of the GNU General public license +# (GPL) version 2 +# Before distributing changed versions of the script, please ask +# the original author to include your changes into the original +# distribution files. Thanks. +# +umask 077 + +# generic defaults + +DEFAULTDOMAIN=incase.de +DEFAULTHOST=localhost +DEFAULTCONFDIR="${HOME}/.editsieve" + +# report usage help +function usage () { + echo "Usage: $0 -h" + echo " $0 --help" + echo " $0 [-c ] [-n ] [-d |--domain ] " + echo " [-p ] [-s ] " + echo "Parameters:" + echo " -h|--help : Display this help" + echo " -c | --confdir : Directory to store configuration and other" + echo " data in (like the user's sieve script)." + echo " The directory will be created if necessary." + echo " Default: ${DEFAULTCONFDIR}" + echo " -d |--domain : Specify domain for the user." + echo " Default: ${DEFAULTDOMAIN}" + echo " -n