Current time: 05-04-2024, 10:49 AM Hello There, Guest! (LoginRegister)


Post Reply 
Mailfehler (SASL)
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #21
RE: [ERLEDIGT]Mailfehler
also eigentlich sollte alles stimmen (übrigens ist meines Wissens da immer ein Klartext-pw zu finden - auch mit RC7...

und wenn die Datei root:root gehört, dann stimmt's überein mit hier... :-)


was gibt's bei "postconf | grep sasl" und "dpkg -l | grep -i sasl" ?

/J
11-10-2008 06:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #22
RE: [ERLEDIGT]Mailfehler
Die Datei gehört Root:Root.
Der Fehler tritt nicht nur auf dem Rootserver sondern auch auf nem Vserver auf den ich für nen Freund betreue (ebenfalls RC6, der TLS Fehler war da auch).


server:~# postconf | grep sasl
broken_sasl_auth_clients = yes
lmtp_sasl_auth_enable = no
lmtp_sasl_mechanism_filter =
lmtp_sasl_password_maps =
lmtp_sasl_path =
lmtp_sasl_security_options = noplaintext, noanonymous
lmtp_sasl_tls_security_options = $lmtp_sasl_security_options
lmtp_sasl_tls_verified_security_options = $lmtp_sasl_tls_security_options
lmtp_sasl_type = cyrus
smtp_sasl_auth_enable = no
smtp_sasl_mechanism_filter =
smtp_sasl_password_maps =
smtp_sasl_path =
smtp_sasl_security_options = noplaintext, noanonymous
smtp_sasl_tls_security_options = $smtp_sasl_security_options
smtp_sasl_tls_verified_security_options = $smtp_sasl_tls_security_options
smtp_sasl_type = cyrus
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname
smtpd_recipient_restrictions = reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:12525, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_exceptions_networks =
smtpd_sasl_local_domain =
smtpd_sasl_path = smtpd
smtpd_sasl_security_options = noanonymous
smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
smtpd_sasl_type = cyrus
smtpd_sender_restrictions = reject_non_fqdn_sender, reject_unknown_sender_domain, permit_mynetworks, permit_sasl_authenticated
server:~#

server:~# dpkg -l | grep -i sasl
ii libsasl2 2.1.22.dfsg1-8 Authentication abstraction library
ii libsasl2-2 2.1.22.dfsg1-8 Authentication abstraction library
ii libsasl2-modules 2.1.22.dfsg1-8 Pluggable Authentication Modules for SASL
ii sasl2-bin 2.1.22.dfsg1-8 Administration programs for SASL users datab
server:~#
11-11-2008 01:25 AM
Find all posts by this user Quote this message in a reply
Belzebob Offline
Newbie
*

Posts: 8
Joined: Jul 2008
Reputation: 0
Post: #23
RE: [ERLEDIGT]Mailfehler
Hi, warum steht das auf erledigt? Habe alles gemacht, bzw. kontrolliert bei mir kommt immer noch:
Nov 16 15:16:22 domain postfix/smtpd[15962]: connect from http://www.domain.de.local[127.0.0.1]
Nov 16 15:16:22 domain postfix/smtpd[15962]: warning: SASL authentication failure: no secret in database
Nov 16 15:16:22 domain postfix/smtpd[15962]: warning: http://www.domain.de.local[127.0.0.1]: SASL DIGEST-MD5 authentication failed: authentication failure
Nov 16 15:16:22 domain postfix/smtpd[15962]: lost connection after AUTH from http://www.domain.de.local[127.0.0.1]
Nov 16 15:16:22 domain postfix/smtpd[15962]: disconnect from http://www.domain.de.local[127.0.0.1]

-> postconf | grep sasl" und "dpkg -l | grep -i sasl

Ergibt bei mir keine Ausgabe. Bei mir gehen aber auch nur Mails aus Typo3 mit der Extnsion Direct-Mail nicht. Die scheint nicht auf mail() zuzugreifen.
11-17-2008 12:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #24
RE: [ERLEDIGT]Mailfehler
@elitepilot:
Die Ausgaben der Befehle sehen gut aus.
Kannst mal sehen, ob du auch ne sasldb2 in /var/spool/postfix/etc/ hast? und was da drin steht... (erkennbare user?)

Sollte eigentlich ne Kopie sein von /etc/sasldb2 - postfix läuft bei debian 4 chrooted und daher müssen manche Dateien kopiert werden - sollte jedoch automatisch erfolgen.

@Belzebob:
schau mal, dass du ähnliche Ausgaben wie elitepilot bekommst (Pakete installieren...) - bzw. mehr über dein System schreiben...


/J
(This post was last modified: 11-17-2008 06:26 AM by joximu.)
11-17-2008 06:25 AM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #25
RE: Mailfehler (SASL)
in /var/spool/postfix/etc/ ist eine sasldb2 welche die gleiche Größe hat wie die in /etc/ .
Der User ist bei beiden Root.
In beiden Datein sind die Mailuser und deren Passwörter klar definiert und erkennbar.
(This post was last modified: 11-17-2008 12:07 PM by elitepilot.)
11-17-2008 12:05 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #26
RE: Mailfehler (SASL)
@elitepilot:
kannst du nochmals eruieren, wann genau die Meldung auftritt? beim Mailversand oder beim Abrufen via POP...
im zweiten Fall müsste ja courier diese Meldung verursachen...

/J

PS: kannst mir mal die ip des servers per pm senden?
(This post was last modified: 11-17-2008 06:05 PM by joximu.)
11-17-2008 05:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #27
RE: Mailfehler (SASL)
Diese Fehlermeldung tritt auf wenn man mit einem externen Mail programm Mails versenden bzw. empfangen will. Quasi der Login führt direkt zu der Fehlermeldung.
Das versenden und empfangen funktioniert trotzdem.
Hast PM.
(This post was last modified: 11-17-2008 10:08 PM by elitepilot.)
11-17-2008 10:07 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #28
RE: Mailfehler (SASL)
Betreffend Server (IP):
Die Antwort vom Server sieht erstmal gut aus
Quote:250-PIPELINING
250-SIZE
250-VRFY
250-ETRN
250-AUTH CRAM-MD5 PLAIN LOGIN DIGEST-MD5 NTLM
250-AUTH=CRAM-MD5 PLAIN LOGIN DIGEST-MD5 NTLM
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN

- ich nehme an, dass der Mailclient mit den MD5 oder NTLM Methoden versucht, aber diese nicht installiert sind... sollte jedoch mit ls /usr/lib/sasl2/ drin sein...

Was hast du in /usr/lib/sasl2/ ?

Was ergibt /usr/sbin/sasldblistusers2 ?

/J
11-17-2008 10:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
elitepilot Offline
Member
***

Posts: 352
Joined: Feb 2008
Reputation: 0
Post: #29
RE: Mailfehler (SASL)
server:~# ls /usr/lib/sasl2/
libanonymous.a libdigestmd5.so libntlm.so.2.0.22
libanonymous.la libdigestmd5.so.2 libplain.a
libanonymous.so libdigestmd5.so.2.0.22 libplain.la
libanonymous.so.2 liblogin.a libplain.so
libanonymous.so.2.0.22 liblogin.la libplain.so.2
libcrammd5.a liblogin.so libplain.so.2.0.22
libcrammd5.la liblogin.so.2 libsasldb.a
libcrammd5.so liblogin.so.2.0.22 libsasldb.la
libcrammd5.so.2 libntlm.a libsasldb.so
libcrammd5.so.2.0.22 libntlm.la libsasldb.so.2
libdigestmd5.a libntlm.so libsasldb.so.2.0.22
libdigestmd5.la libntlm.so.2

server:~# /usr/sbin/sasldblistusers2
elitepilot@domain.tdl: userPassword
elitepilot@domain2.tdl: userPassword
...

userPassword ist kein Akt der neutralisierung meinerseits sondern die tatsächliche Ausgabe.
11-17-2008 11:25 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #30
RE: Mailfehler (SASL)
alles soweit ok.

was sagt denn "/usr/sbin/saslpluginviewer" ?

ich weiss sonst nicht weiter - kann uch nur sagen, dass ich mich nie gross um sasl kümmern musste, es lief einfach.

keine saslauth-daemons am Laufen, keine smtpd.conf.

Schau auch mal da rein:
http://nico.schottelius.org/notizbuch-bl...on-failure
und
http://www.postfix.org/SASL_README.html#server_sasl


/J
11-17-2008 11:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)