lmtunix verify_user(user.karu) failed

Toomas Vann tom at bns.ee
Sat Mar 12 11:43:18 EST 2005


I don't seeme to get a round setting up virtual domains.
I am running a Suse 9.2 box, with:

No I have two DNS names set for this ip to test virtual domain support.

What I have done is I have made a new sendmail.cf from linux.mc, added
to it :

define(`confLOCAL_MAILER', `cyrusv2')

I used cyrusv2.m4 from http://anfi.homeunix.net/sendmail/cyrusv2.html

I have added following to /etc/mail/mailertable:
service.domain              cyrusv2:/var/lib/imap/socket/lmtp
microsoft.domain              cyrusv2:/var/lib/imap/socket/lmtp

Imapd.conf looks like this:

configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus
allowanonymouslogin: no
altnamespace: yes
sendmail: /usr/sbin/sendmail
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: auxprop
lmtp_overquota_perm_failure: no
virtdomains: userid
defaultdomain: service.domain
servername: service.domain
duplicatesuppression: yes
sasl_mech_list: login plain
sasl_sql_engine: mysql
sasl_sql_user: mail
sasl_sql_passwd: secret
sasl_sql_hostnames: localhost:3306
sasl_sql_database: mail
sasl_sql_select: SELECT password FROM account WHERE login = '%u' and
domain = '%r'
sasl_sql_verbose: yes

Now i have made two users to cyrus-imapd:
user.karu at microsoft.domain

Now sending mail to toomas at service.domain works just fine.
Authentication over imap works fine as well for both users.
But when I send mail to not default domain karu at microsoft.domain, then I
get errors:


Mar 12 19:09:18 service sendmail[10396]: j2CH9ISO010396: from=<tom****>,
size=1108, class=0, nrcpts=1,
msgid=<5610ADDCFC4278438BD7C0BD75CA9D1456F19A at some_domain>, proto=ESMTP,
daemon=Daemon0, relay=some_domain [***.***.***.***]
Mar 12 19:09:18 service sendmail[10398]: j2CH9ISO010396:
to=<karu at microsoft.domain>, delay=00:00:00, xdelay=00:00:00,
mailer=cyrusv2, pri=121108, relay=localhost, dsn=5.1.1, stat=User


Mar 12 19:09:18 service lmtpunix[10367]: accepted connection
Mar 12 19:09:18 service lmtpunix[10367]: lmtp connection preauth'd as
Mar 12 19:09:18 service master[10399]: about to exec
Mar 12 19:09:18 service lmtpunix[10367]: verify_user(user.karu) failed:
Mailbox does not exist
Mar 12 19:09:18 service lmtpunix[10399]: executed
Mar 12 19:09:18 service lmtpunix[10399]: sql auxprop plugin using mysql
Mar 12 19:09:19 service lmtpunix[10367]: verify_user(user.postmaster)
failed: Mailbox does not exist
Mar 12 19:09:19 service lmtpunix[10367]: verify_user(user.postmaster)
failed: Mailbox does not exist
Mar 12 19:10:19 service master[9643]: process 10367 exited, status 0

Well one thing I have left out to mention is that auxprop sql support is
taken from and Alt Linux rpm package , casus Suse does not have its own.

Can anyone give me some sort of a pointer how to fix this...


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