Re: Log in to user mailbox as admin

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

 



> On 3/16/21 7:21 AM, Neil Price wrote:
>> Is there any way to do this in cyrus-imap? Something like the
>> equivalent of Dovecot's  "auth_master_user_separator"
>
> Most Cyrus command line tools which interact with mailboxes will accept
> both the -a and -u flags, which mean Authenticate as and Authorize as,
> and each takes a userid as their arguments.
>
> For example, this is from the manpage for imtest(8):
>
>     *imtest*  [*-t*  /keyfile/  ] [*-p*  /port/  ] [*-m*  /mechanism/  ]
>          [*-a*  /userid/  ] [*-u*  /userid/  ] [*-k*  /num/  ] [*-l*
> /num/  ]
>          [*-r*  /realm/  ] [*-f*  /file/  ] [*-n*  /num/  ] [*-s*  ] [*-q*
>  ]
>          [*-c*  ] [*-i*  ] [*-z*  ] [*-v*  ] [*-I*  /file/  ] [*-x*
> /file/  ]
>          [*-X*  /file/  ] [*-w*  /passwd/  ] [*-o*  /option/=/value/
> ]/hostname ... /
>
>     |-a||userid|
>
>         Userid to use for authentication; defaults to the current user.
>         This is the userid whose password or credentials will be
>         presented to the server for verification.
>
>     |-u||userid|
>
>         Userid to use for authorization; defaults to the current user.
>         This is the userid whose identity will be assumed after
>         authentication.
>
> So if I use this command I will connect to my own Inbox as the Admin user:
>
>     imtest -a admin -u nic imap.example.com
>
> Cheers,
>      -nic

And, depending on what is required exactly, you may also want to have a
look at the "proxyservers" option in imapd.conf.

Regards,
Simon


------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T855cd3af79064722-Me54d4b8ede1cfde1aa8fc722
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux