Re: cyrus-imapd - sieveusehomedir: 1

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

 



Craig White wrote:
On Wed, 2005-02-02 at 10:05 -0500, Bob Chiodini wrote:

On Wed, 2005-02-02 at 07:28 -0700, Craig White wrote:

On Tue, 2005-02-01 at 13:07 -0500, Bob Chiodini wrote:

On Tue, 2005-02-01 at 09:03 -0700, Craig White wrote:

On Tue, 2005-02-01 at 09:35 -0600, Aleksandar Milivojevic wrote:

Craig White wrote:

put the following line in /etc/imapd.conf
#sieveusehomedir: 1

and restarted cyrus-imapd and this didn't go over very well

In /usr/share/doc/cyrus-imapd-2.2.10/install-sieve.html there is a mention that sieveusehomedir is incompatible with timsieved. Other references in that directory mention running sieve to possibly compile the script into byte code. I think something other than timsieved would have to run to process the script. Possibly from deliver.

Otherwise I see the same errors as you.  I'll look more into it when I
get some free time.


---- yeah - I have pretty much given up on the sieveusehomedir option since just putting the file there doesn't do much - it still has to be processed by sieveshell or some sieve process to bytecode it. This makes the location of the file less relevant - but since you can script the sieveshell stuff, I suppose you could put a script in the users home directory and run a shell script that invokes sieveshell in the users name, put (pulls it in in sieveshell lingo) activates it and bails

Craig


Craig,

That's pretty much how I'm doing it.

What about the password prompt, when running from a script?

---- yeah for one user, not a problem...

but so far my scripting hasn't worked for the one user (me)...
# cat sieve-update
#!/bin/sh
/usr/bin/sieveshell localhost -u craig -e /home/craig/sieve-
update.script

# cat sieve-update.script
delete lists
put /home/craig/lists.script lists
activate lists
quit

# ./sieve-update
connecting to localhost
Please enter your password:
Invalid command: /home/craig/sieve-update.script

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"

--
Aleksandar Milivojevic <amilivojevic@xxxxxx>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux