Matthew Palmer wrote:
On Wed, Mar 02, 2005 at 01:14:14PM +1100, Matthew Davidson wrote:

I have set up /etc/imapd.conf for virtual domains with a global admin user as per the docs. However, when I try to set up a mailbox associated with a particular domain thus:

# saslpasswd2 -c [EMAIL PROTECTED]
# cyradm --user cyrus localhost
localhost.localdomain> cm [EMAIL PROTECTED]
createmailbox: Permission denied

Is the result.


Check the logs; cyrus (at least the old 1.5 which I'm still using) is pretty
good at logging why things failed.  Also, the global admin user may still
need cm perms on the specific vdomain, although that I'm not so sure of.


I bumped up the verbosity in /etc/defaults/cyrus21 to no avail. Couldn't see any message relating to the "permission denied" in /var/log/mail.err, /var/log/mail.info, /var/log/mail.log, or /var/log/mail.warn. In fact no messages at all except when restarting cyrus, or authenticating via cyradm.


I can't see any way of assigning rights to a particular domain. As far as I can make out from the docs, in Cyrus a user is a user is a user, and domains exist only as the "@somewhere.tld" string in usernames, at least as far as account creation and administration are concerned. I'm not even daring to aspire to actually sending and receiving mail at this stage.

Intensive Googling suggests that I am the only person on Earth to have had this problem, which happens to me more than one would expect, so in desperation, here is my /etc/imapd.conf (minus comments), in the hope that someone can spot something obvious that I'm missing:

----

configdirectory: /var/lib/cyrus
defaultpartition: default
partition-default: /var/spool/cyrus/mail
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
virtdomains: yes
defaultdomain: mydomain.net.au
altnamespace: no
unixhierarchysep: no
admins: cyrus
allowanonymouslogin: no
popminpoll: 1
autocreatequota: 0
umask: 077
sieveusehomedir: false
sievedir: /var/spool/sieve
hashimapspool: true
allowplaintext: yes
sasl_pwcheck_method: auxprop
sasl_auto_transition: no
tls_ca_path: /etc/ssl/certs
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify

----

Matthew.

--
Alma Technology
http://www.almatech.net.au
(02) 6658 1607 ... 0419 242 316
--
"...running an application in a browser is no longer like writing
with a brick tied to [your] pencil." - Mitch Kapor
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to