Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme beim einrichten von Cyrus-Imap/sasl
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
capser
n00b
n00b


Joined: 14 Apr 2005
Posts: 55

PostPosted: Tue Aug 08, 2006 11:11 am    Post subject: Probleme beim einrichten von Cyrus-Imap/sasl Reply with quote

Hallo so langsam weiss ich echt nicht mehr weiter und ich hoffe ihr koennt mir eventuell ein wenig weiterhelfen...

Habe nach anleitung vom gentoo wiki mailserver versucht einen mailserver einzurichten. Installiert ist auch alles, nur ich schaffe es einfach nicht mich ordentlich anzumelden... bzw komme garnicht erst rein.

Denn sobald ich alle Dienste gestartet habe und mich per cyradm anmelden will kommt folgende Fehlermeldung :

Code:
cyradm --user cyrus --server localhost --auth login
IMAP Password:
              Login failed: authentication failure at /usr/lib/perl5/site_perl/5.8.6/i386-linux/Cyrus/IMAP/Admin.pm line 118
cyradm: cannot authenticate to server with login as cyrus


Habe schon ziemlich viel an den Konfigdateien probiert und auch schon mehrmals von vorne angefangen, komme aber leider nicht weiter... in den Log dateien steht beim anmeldeversuch von der Konsole, so wie ichs oben beschrieben habe, oder aber wenn ich mir über web-cyradm die konten angucken will jewals folgende Fehlermeldungen :

imapd.log :
Code:
Aug  8 13:00:58 sop001 master[20036]: about to exec /usr/lib/cyrus/imapd
Aug  8 13:00:58 sop001 master[20036]: about to exec /usr/lib/cyrus/imapd
Aug  8 13:00:58 sop001 imaplocal[20036]: executed
Aug  8 13:00:58 sop001 imaplocal[20036]: executed
Aug  8 13:00:59 sop001 imaplocal[20036]: accepted connection
Aug  8 13:00:59 sop001 imaplocal[20036]: accepted connection
Aug  8 13:01:06 sop001 imaplocal[20036]: badlogin: localhost [127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass failed
Aug  8 13:01:06 sop001 imaplocal[20036]: badlogin: localhost [127.0.0.1] plaintext cyrus SASL(-13): authentication failure: checkpass failed
Aug  8 13:02:09 sop001 master[19882]: process 20036 exited, status 0
Aug  8 13:02:09 sop001 master[19882]: process 20036 exited, status 0


und in der auth.log:

Code:
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: begin transaction
Aug  8 13:01:06 sop001 imaplocal[20036]: begin transaction
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin create statement from userPassword cyrus sop001.cust.intares.net
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin create statement from userPassword cyrus sop001.cust.intares.net
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin doing query SELECT password FROM accountuser WHERE username='cyrus';
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin doing query SELECT password FROM accountuser WHERE username='cyrus';
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin create statement from cmusaslsecretPLAIN cyrus host.domain.de
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin create statement from cmusaslsecretPLAIN cyrus host.domain.de
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin doing query SELECT password FROM accountuser WHERE username='cyrus';
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin doing query SELECT password FROM accountuser WHERE username='cyrus';
Aug  8 13:01:06 sop001 imaplocal[20036]: commit transaction
Aug  8 13:01:06 sop001 imaplocal[20036]: commit transaction
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin Parse the username cyrus
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin try and connect to a host
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'
Aug  8 13:01:06 sop001 imaplocal[20036]: sql plugin trying to open db 'mail' on host 'localhost'


Alle ports sind soweit offen und auf den ersten blick würde ich ja sagen das einfach nur das passwort falsch ist, aber kann das sein? ich meine ich habe das Passwort wirklich mehr mal neu angelegt und versucht zu testen aber immer der gleiche fehler, oder liegt es an der verschlüsselungsmethode... weiss leider wirlich nicht mehr weiter... hier nochmal meine Config Dateien. Wäre wirklich dankbar wenn mir da jemand weiterhlefen koennte...

cyrus.conf :
Code:
# $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/files/cyrus.conf,v 1.4 2004/07/18 04:02:23 dragonheart Exp $

# Standard standalone server configuration.

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/imap/socket.
SERVICES {
  # Add or remove based on preferences.
  imap          cmd="imapd" listen="213.183.193.xxx:imap" prefork=0
  imaplocal     cmd="imapd" listen="127.0.0.1:imap" prefork=0
  pop3          cmd="pop3d" listen="213.183.193.xxx:pop3" prefork=0

  # Don't forget to generate the needed keys for SSL or TLS
  # (see doc/html/install-configure.html).
  #imaps                cmd="imapd -s" listen="imaps" prefork=0
  #pop3s                cmd="pop3d -s" listen="pop3s" prefork=0

  sieve         cmd="timsieved" listen="213.183.193.161:sieve" prefork=0

  # at least one LMTP is required for delivery
  #lmtp         cmd="lmtpd" listen="lmtp" prefork=0
  lmtpunix      cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

  # this is only necessary if using notifications
  #notify       cmd="notifyd" listen="/var/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.
  delprune      cmd="ctl_deliver -E 3" period=1440

  # This is only necessary if caching TLS sessions.
  tlsprune      cmd="tls_prune" period=1440
}


und imapd.conf
Code:
postmaster:             postmaster
servername:             sop001.cust.intares.net

configdirectory:        /var/imap
partition-default:      /var/spool/imap
sievedir:               /var/imap/sieve

# Don't use an everyday user as admin.
admins:                 cyrus

hashimapspool:          yes
allowanonymouslogin:    no
allowplaintext:         yes

virtdomains: userid
defaultdomain: cust.intares.net

autocreatequota: 25000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost

sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sql

## possible values for sasl_auxprop_plugin 'mysql', 'pgsql', 'sqlite'.
sasl_sql_engine: mysql
sasl_mech_list: PLAIN

## change below to suit your setup.
sasl_sql_user: xxx
sasl_sql_passwd: xxx
sasl_sql_database: mail
sasl_sql_hostnames: localhost
sasl_sql_select: SELECT password FROM accountuser WHERE username='%u'

sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
unixhierarchysep: yes


Danke und gruss[/quote]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum