On Wed, 2005-02-02 at 10:26 -0600, Aleksandar Milivojevic wrote:
me scratches head and thinks it's time for coffee
The arguement for '-e' is the script itself, not the file containing the script:
sieveshell localhost -u craig -e "delete lists; put /home/craig/lists.script lists; activate lists"
--- afraid coffee has let me down today...
# /usr/bin/sieveshell localhost -u craig -e "delete lists; \ put /home/craig/lists.script lists; activate lists" connecting to localhost Please enter your password: delete <name> - delete script.
#was all on one line and I manually added \ because of mail wrap.
but script is definitely there...
# sieveshell localhost -u craig connecting to localhost Please enter your password:
list
.sieve lists <- active script lists_pseudo
quit
My bad, again... ";" isn't command separator... Don't know what is (if anything is). But if you type it multiline (as shown below), it worked:
smartsieve localhost -u craig -e "delete lists put /home/craig/lists.script lists activate lists"
-- Aleksandar Milivojevic <amilivojevic@xxxxxx> Pollard Banknote Limited Systems Administrator 1499 Buffalo Place Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7