Hi! I don't seeme to get a round setting up virtual domains. I am running a Suse 9.2 box, with: cyrus-imapd-2.2.8-6.5 sendmail-8.13.1-5 cyrus-sasl-2.1.19-7.2 mysql-4.0.21-4.2
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') 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.toomas [EMAIL PROTECTED] Now sending mail to [EMAIL PROTECTED] works just fine. Authentication over imap works fine as well for both users. But when I send mail to not default domain [EMAIL PROTECTED], then I get errors: /var/log/maillog Mar 12 19:09:18 service sendmail[10396]: j2CH9ISO010396: from=<tom****>, size=1108, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=Daemon0, relay=some_domain [***.***.***.***] Mar 12 19:09:18 service sendmail[10398]: j2CH9ISO010396: to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=cyrusv2, pri=121108, relay=localhost, dsn=5.1.1, stat=User unknown /var/log/messages Mar 12 19:09:18 service lmtpunix[10367]: accepted connection Mar 12 19:09:18 service lmtpunix[10367]: lmtp connection preauth'd as postman Mar 12 19:09:18 service master[10399]: about to exec /usr/lib/cyrus/bin/lmtpd 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 engine 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... Regards, Toomas --- 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