problem with virtualdomain
Benjamin Donnachie
benjamin at py-soft.co.uk
Mon Jun 4 08:26:32 EDT 2007
JOYDEEP wrote:
> Thanks for your kind response. yes I am logged in as cyrus.
> here is /etc/hosts
> ------------------------------
> 127.0.0.1 opendingo.com
>
> 127.0.0.2 lvps87-230-8-228.dedicated.hosteurope.de lvps87-230-8-228
>
> 127.0.0.1 lvps87-230-8-228.opendingo.com
> 127.0.0.1 localhost
> ------------------------------------------
Cyrus-imapd does a reverse lookup of the IP address you are connecting
from, discards the first part and then uses the rest as your domain.
If your are connecting over localhost, I can only guess that it is
getting opendingo.com in response, discarding opendingo and logging you
in as cyrus at com. Hence only allowing you to administer the com domain.
Temporarily replace your /etc/hosts file with:
127.0.0.1 localhost
and try again with cyradm --user cyrus localhost
Or is it possible to stick with virtdomains: userid ?
>From http://www.lnxsys.ca/docs/postfix-cyrus-FC2/
virtdomains: [userid|yes]
With virtdomains: userid, the userid with @domain determines who the
person is and what mailbox they should get. With yes, either the @domain
or the IP address is used to determine this
Ben
More information about the Info-cyrus
mailing list