Erik Norgaard wrote: > Vladimir Dvorak wrote: > >> Erik, we both are about to solve the problem. ;-) Yes, you are probably >> right. When I cyradm -u cyrus, I have in maillog: >> >> Sep 14 09:08:37 devel imap[9491]: badlogin: localhost.localdomain >> [127.0.0.1] plaintext [EMAIL PROTECTED] SASL(-13): user not found: >> checkpass failed >> >> When I add [EMAIL PROTECTED], it will manage 'localdomain' users and I >> will be on the same place (probably, for now not tried). :-( Erik, how >> can I log as cyrus without domain ? > > > Please post your imapd.conf (remove comments) - I posted mine > yesterday. Check the content of the admins entry, does it specify > domain? > > I think that cyradm authenticates against sasldb and not system > password (or maybe falls back on system password) - this I understand > - is to separate ordinary users and administrators - but can also be > quite annoying. > > If you have added an entry to sasldb with saslpasswd2 then it could be > for the "devel" realm. > > You can try to rename sasldb and see what happens, then if it doesn't > work create it with new entries where you make sure not to specify realm: > > # saslpasswd2 cyrus > > Also, reading above there may be a difference between: > > # cyradm -u cyrus > > and > > # cyradm -u cyrus localhost > > Cheers, Erik > config is in attachement
configdirectory: /var/lib/cyrus defaultpartition: default partition-default: /var/spool/cyrus/mail-new partition-news: /var/spool/cyrus/news newsspool: /var/spool/news altnamespace: no unixhierarchysep: yes admins: cyrus allowanonymouslogin: no popminpoll: 1 autocreatequota: 0 umask: 077 sieveusehomedir: false sievedir: /var/spool/sieve hashimapspool: true allowplaintext: yes sasl_auto_transition: no tls_cert_file: /etc/cyrus-global.pem tls_key_file: /etc/cyrus-global.key 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 sasl_pwcheck_method: auxprop sasl_auxprop_plugin: sql sasl_sql_engine: mysql sasl_mech_list: PLAIN LOGIN sasl_sql_user: mysqluser sasl_sql_passwd: xyxyxy sasl_sql_database: hosting sasl_sql_hostnames: localhost sasl_sql_select: SELECT password FROM email WHERE address = '[EMAIL PROTECTED]' virtdomains: yes
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"