Examining sieve scripts of other users out of a perl script

Sebastian Hagedorn Hagedorn at uni-koeln.de
Tue Sep 28 11:18:37 EDT 2004


-- Andreas Haase <andreas.haase at eastlink.de> is rumored to have mumbled on 
Dienstag, 28. September 2004 16:55 Uhr +0200 regarding Examining sieve 
scripts of other users out of a perl script:

> I want to display the sievescripts of some users, where I don't know the
> passwords. The admin account of the cyrus is available. One way would be
> to examine the wanted entries out of the file system, but is there another
> way for authenticating and reading the scripts?
>
> Any hints appreciated.

Depends on the authentication mechs your installation supports. Some of the 
SASL mechs (AFAIK PLAIN and DIGEST-MD5) allow you to authenticate as a 
different user:

Usage:
    sieveshell [--user=*user*] [--authname=*authname*] [--realm=*realm*]
    [--exec=*script*] *server*

So you could do

sieveshell --user=??? --authname=cyrus
--
Sebastian Hagedorn M.A. - RZKR-R1 (Flachbau), Zi. 18, Robert-Koch-Str. 10
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln / Cologne University - Tel. +49-221-478-5587
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040928/dc964ec5/attachment.bin


More information about the Info-cyrus mailing list