Auxprop SQL & Virtual Domains

Jesper K. Pedersen jkp at
Tue Apr 26 11:49:36 EDT 2005

On Tue, 26 Apr 2005 15:29:34 +0100 (BST)
Peter Muir <peter at> wrote:

> Hi,
> I'm using cyrus-imapd (version 2.2.12, cyrus-sasl version 2.1.20) with
> the sql auxprop plugin to connect to a mysql database.  This works
> well.
> I would like to use the virtual domains feature of cyrus 2.2 with the 
> 'userid' method but cannot find a way of passing the domain name
> supplied, it seems to only pass the username - i.e. if I log in as 
> peter at, then %u expands to peter.  Can I
> a) get %u to expand to peter at
> or
> b) is there another variable that expands to

%r is your realm - that is for example your

So use %u@%r to get your desired result

Best regards,
Jesper K. Pedersen
Carpe Aptenodytes!
Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list