Cyrus imap a sasl2

Petr Vyhnal konfera na simerion.net
Pondělí Červen 23 12:29:43 CEST 2008


Zdravim,

nevim jak na OpenSuSE nebo Mandrive, ale pod Debianem musite byt jako 
user cyrus, takze bych zkusil "su - cyrus" a pak se uvidi ;-)

rudiik

Jarda napsal(a):
> Zdravím,
>
> mám nainstalovaný cyrus-imap + cyrus-sasl v obvyklé konfiguraci, ale na 
> nové manrdivě 2008.1 dostávám po spuštění cyradm toto:
>
> [root na srv3 ~]# cyradm srv3
> Login disabled.
> cyradm: cannot authenticate to server with  as root
> [root na srv3 ~]#
>
>
> Určitě jde o nějaké mé triviální přehlédnutí, ale po 12 hodinách tvrdého 
> zápasu už nevidím a neslyším. Porovnával jsem konfiguráky s předchozím 
> serverem na opensuse 10,2 a vypadají stejně, taktéž konfigurace sasl2.
>
> konfiguráky:
>
> cyrus.conf
> # standard standalone server implementation
>
> START {
>   # do not delete this entry!
>   recover       cmd="ctl_cyrusdb -r"
>
>   # this is only necessary if using idled for IMAP IDLE
> #  idled                cmd="idled"
> }
>
> # UNIX sockets start with a slash and are put into /var/lib/imap/sockets
> SERVICES {
>   # add or remove based on preferences
>   imap          cmd="imapd" listen="imap" prefork=0
>   imaps         cmd="imapd -s" listen="imaps" prefork=0
>   pop3          cmd="pop3d" listen="pop3" prefork=0
>   pop3s         cmd="pop3d -s" listen="pop3s" prefork=0
>   sieve         cmd="timsieved" listen="sieve" prefork=0
>
>   # these are only necessary if receiving/exporting usenet via NNTP
> #  nntp         cmd="nntpd" listen="nntp" prefork=3
> #  nntps                cmd="nntpd -s" listen="nntps" prefork=1
>
>   # at least one LMTP is required for delivery
> #  lmtp         cmd="lmtpd" listen="lmtp" prefork=0
>   lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=0
>
>   # this is only necessary if using notifications
>   notify        cmd="notifyd" listen="/var/lib/imap/socket/notify" 
> proto="udp" prefork=1
> }
>
> EVENTS {
>   # this is required
>   checkpoint    cmd="ctl_cyrusdb -c" period=30
>
>   # this is only necessary if using duplicate delivery suppression,
>   # Sieve or NNTP
>   delprune      cmd="cyr_expire -E 3" at=0400
>
>   # this is only necessary if caching TLS sessions
>   tlsprune      cmd="tls_prune" at=0400
> }
> -------------------------------------------------------------------------------
>
>
> imap.conf
> configdirectory: /var/lib/imap
> partition-default: /var/spool/imap
> admins: root cyrus
> allowanonymouslogin: no
> sieveusehomedir: no
> sievedir: /var/lib/imap/sieve
> sendmail: /usr/sbin/sendmail
> hashimapspool: true
> sasl_pwcheck_method: saslauthd
> sasl_mech_list: PLAIN
> #tls_cert_file: /etc/ssl/cyrus-imapd/cyrus-imapd.pem
> #tls_key_file: /etc/ssl/cyrus-imapd/cyrus-imapd.pem
>
> # If enabled, lmtpd will convert the recipient address
> # to lowercase (default is disabled):
> lmtp_downcase_rcpt: yes
>
> # uncomment if you want to auto create the INBOX folder
> # upon first authentication of a new user. If you want
> # to set a quota, change "-1" to some positive value.
> #autocreatequota: 5000000000
> ----------------------------------------------------------------------------
>
> smtpd.conf od sals2
> # SASL library configuration file for postfix
> # all parameters are documented into:
> # /usr/share/doc/cyrus-sasl/options.html
>
> # The mech_list parameters list the sasl mechanisms to use,
> # default being all mechs found.
> mech_list:         plain login
>
> # To authenticate using the separate saslauthd daemon, (e.g. for
> # system or ldap users). Also see /etc/sysconfig/saslauthd.
> pwcheck_method:    saslauthd
> #saslauthd_path:    /var/lib/sasl2/mux
>
> # To authenticate against users stored in sasldb.
> #pwcheck_method:    auxprop
> #auxprop_plugin:    sasldb
> #sasldb_path:       /var/lib/sasl2/sasl.db
>
> ----------------------------------------------------------------------------------
>
> případně mohu dodat další informace. Budu vděčnej za každé nakopnutí
>
>
> Jarda
>
> _______________________________________________
> Linux mailing list
> Linux na linux.cz
> http://www.linux.cz/mailman/listinfo/linux
>
>   




Další informace o konferenci Linux