Home Forums OS X Server and Client Discussion Mail Installing Sieve scripts for users

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #366552
    hiredman
    Participant

    Under 10.4.3 I have sieve set-up and working and I have successfully tested, installed and activated scripts using sieveshell. The problem is that as admin I’d like to be able to implement scripts for other people without them having to do it, but sieveshell assumes that you are going to login into the account to install the script.

    In short: How can I install scripts for others without having to keep track of everyone’s password?

    I noticed that sieveshell differentiates between user and authuser from the command line but I don’t think that does what I want it to. The solution doesn’t need to use sieveshell but I’m trying to avoid the whole squirrelmail install if possible.

    =Tod

    #366555
    hiredman
    Participant

    Okay, the reason sievescript wasn’t working correctly was that my admin account was not a cyrusadmin account. So when I attempted to authenticate using:
    sieveshell -u joeuser -a superadmin localhost
    I would be prompted for my password twice and then logged into the account for superadmin because the password didn’t qualify me to access joeuser’s account only mine.
    The solution is to edit /etc/imapd.conf
    from this: admins cyrusimap
    to this: admins cyrusimap superadmin
    After stopping/starting Mail Services the sieveshell worked as expected.

    Hope I save someone a few hours somewhere.
    =Tod

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed