stupid problems with virtual domains
bebop33 at gmx.de
bebop33 at gmx.de
Sun May 8 19:46:53 EDT 2005
Hi folks,
i desperately need some advice after spending some days with this:
i compiled cyrus imap with
./configure --prefix=/srv/cyrus --with-cyrus=/srv/cyrus
--with-cyrus-user=imapd --with-sasl=/srv/sasl2 --with-statedir=/srv/var
--mandir=/usr/local/man --with-snmp=no
(not to interfere with a running distri-rpm) on suse 9.0/i386 patched.
first to note: the master-stuff goes to /usr/cyrus, not to /srv/cyrus, but
that's fine as i found out.
auth is via sasldb2 and doing fine.
the weird thing is its ignorance concerning virtual domains. i manage to
create (and access) inboxes like user.me, user.foo at bar but fail to do 'cm
user.foo at bar.tld' with permission denied. same with me at bar and me at foo.com in
the sasldb2, imtest is auth'ing fine for both, but a '. create inbox'
succeeds for me at bar only. i'm not really getting through the debugging and
error-reporting stuff, so i can' tell much more.
i'd appreciate your advice, pls. see my current config below
chris
i tried a couple of things already, besides this, like the defaultdomain,
escaping the dots and so on. in some cases, like with cyradm -u ce at mux.tld i
also get some auth-errors due to the (lack of) binding the server to an
interface, but i consider these as desperate trial-and-error-errors.
# cat /etc/imapd.conf
configdirectory: /srv/var/imap.cf
partition-default: /srv/var/spool/imap
admins: mailadmin
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
virtualdomains: on
servername: mux
loginrealms: localhost mux mux.tld mux-it.tld
# grep -v '#' /etc/cyrus.conf
START {
recover cmd="/usr/cyrus/bin/ctl_cyrusdb -r"
}
SERVICES {
imaps cmd="imapd -s" listen="imaps" prefork=0
pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp"
prefork=1
}
EVENTS {
checkpoint cmd="ctl_cyrusdb -c" period=30
delprune cmd="cyr_expire -E 3" at=0400
tlsprune cmd="tls_prune" at=0400
}
# sasldblistusers2
mailadmin at mux: userPassword
ce at mux: userPassword
ce at mux.tld: cmusaslsecretOTP
ce at mux-it.tld: cmusaslsecretOTP
mailadmin at mux: cmusaslsecretOTP
ce at mux: cmusaslsecretOTP
ce at mux.tld: userPassword
ce at mux-it.tld: userPassword
# grep ctl_cyrusdb /var/log/messages | awk -F: '{ print $3 " " $4 }'
03 mux master[3720] about to exec /usr/cyrus/bin/ctl_cyrusdb
03 mux ctl_cyrusdb[3720] checkpointing cyrus databases
03 mux ctl_cyrusdb[3720] archiving database file
03 mux ctl_cyrusdb[3720] archiving log file
03 mux ctl_cyrusdb[3720] archiving database file
03 mux ctl_cyrusdb[3720] archiving log file
03 mux ctl_cyrusdb[3720] done checkpointing cyrus databases
# grep imap /var/log/messages | ridoftime
mux imap[3294]: skiplist: recovered /srv/var/imap.cf/user/b/mux.seen (0
records, 144 bytes) in 0 seconds
mux imap[3294]: seen_db: user mux opened /srv/var/imap.cf/user/b/mux.seen
mux imap[3294]: open: user mux opened INBO
--
+++ Neu: Echte DSL-Flatrates von GMX - Surfen ohne Limits +++
Always online ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list