On Mon, Jan 15, 2007 at 12:03:40PM +0200, Alexander Suslov wrote: > Good day, > > Came across several troubles with cyrus > 1. Met a lot written about "no user in db" in auth.log trouble, but > could not find any solution. Everything seems to work, but... > this is sasl issue. > 2. SMTP connection takes some time, not long, but longer than before > Cyrus installation. Again everything seems to work, but after the > short pause. > > 3. Sendmail can't check user availability during the connection. So, > while getting mail for non-existing user it first gets the letter, > then while putting it to cyrus finds that no such user, and tryes to > send error message back. Usually it remains in mqueue for ever. > we dont use virtual domains. authentication methodes are external and login/plain over starttls. cyrus.conf ... SERVICES { ... smmap cmd="smmapd" listen="/var/imap/socket/smmap" prefork=1 ... } sendmail.mc ... define(`confCACERT_PATH', `/etc/ssl/CA/ca')dnl define(`confCACERT', `/etc/ssl/CA/cacert.pem')dnl define(`confSERVER_CERT', `/etc/ssl/CA/certs/1F.pem') define(`confSERVER_KEY', `/etc/ssl/CA/certs/1F.key.pem') define(`confCLIENT_CERT', `/etc/ssl/CA/certs/1F.pem') define(`confCLIENT_KEY', `/etc/ssl/CA/certs/1F.key.pem') define(`confCRL', `/etc/ssl/CA/crl/crl.pem') TRUST_AUTH_MECH(`EXTERNAL PLAIN LOGIN') define(`confAUTH_MECHANISMS', `EXTERNAL PLAIN LOGIN') define(`confAUTH_OPTIONS', `p') ... define(`confLOCAL_MAILER', `cyrusv2') FEATURE(`preserve_local_plus_detail') MAILER(local) MAILER(cyrusv2) MAILER(smtp) LOCAL_CONFIG Kcyrus socket -T<TMPF> local:/var/imap/socket/smmap LOCAL_RULESETS SLocal_localaddr R$* $: . $| $1 R. $| $+ < @ $=w . > $>cyrus_verifyuser $1 R. $| $- + $+ < @ $=w . > $>cyrus_verifyuser $1 R. $| $- + $+ $>cyrus_verifyuser $1 R. $| $+ $>cyrus_verifyuser $1 R. $| $* $: $1 Scyrus_verifyuser R$+ $: $1 $| $(cyrus $1 $: $) R$+ $| $#error $@ 5.1.1 $: "550 User unknown." R$+ $| $*<TMPF> $#error $@ 4.3.0 $: "451 Temporary failure or quota exceeded." R$+ $| $* $: $1 > My configuration > FreeBSD 6.1-RELEASE > cyrus-imapd-2.3.1 > cyrus-sasl-2.1.21_2 > sendmail 8.13.6 > > Cyrus working with sendmail > sasl_pwcheck_method: auxprop > > in sendmail.mc: > define(`CYRUS_MAILER_PATH', /usr/local/cyrus/bin/deliver) > define(`confLOCAL_MAILER', `cyrusv2') > MAILER(`cyrusv2') > http://groups-beta.google.com/group/cyrus-sendmail > i've tried to find the solutions myself, but found none. > If somebody can help me? > /swp