• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

smtp_sasl_auth

Status
Für weitere Antworten geschlossen.
Hallo,

ich habe einen Mailserver der mit suse 9.1, postfix, fetchmail und qpopper läuft.
Das sich jetzt mein relayhost geändert hat muss ich mich dort nun authentifizieren.
Habe dass dann nach dieser anleitung gemacht:
http://www.linux-club.de/viewtopic.php?t=34704

Leider funzt das so nicht. In meiner /var/log/mail steht folgendes:

Code:
warning: SASL authentication failure: No worthy mechs found
...
(Authentication failed: cannot SASL authenticate to server xxx: no mechanism availible)

Hab ich noch irgendwas nicht beachtet?

Gruß Latz
 
prüfe mal welche sasl-Module du installiert hast.
==>
rpm -qa | grep sasl

evtl mal die anderen nachinstallieren

Code:
apt search sasl
cyrus-sasl - Implementation of Cyrus SASL API
cyrus-sasl-crammd5 - cyrus-sasl plugin for the CRAMMD5 mechanism
cyrus-sasl-debuginfo - Debug information for package cyrus-sasl
cyrus-sasl-devel - Cyrus SASL API Implementation, Libraries and Header Files
cyrus-sasl-digestmd5 - cyrus-sasl plugin for the DIGESTMD5 mechanism
cyrus-sasl-gssapi - cyrus-sasl plugin for the GSSAPI mechanism
cyrus-sasl-otp - cyrus-sasl plugin for the OTP mechanism
cyrus-sasl-plain - cyrus-sasl plugin for the PLAIN mechanism
cyrus-sasl-saslauthd - The SASL Authentication Server
cyrus-sasl-saslauthd-debuginfo - Debug information for package cyrus-sasl-saslauthd
cyrus-sasl-sqlauxprop - cyrus-sasl SQL auxprop plugin
 
Hab alle installiert die es gab:

Code:
cyrus-sasl-2.1.18-33.8
cyrus-sasl-devel-2.1.18-29
cyrus-sasl-gssapi-2.1.18-29
cyrus-sasl-plain-2.1.18-29
cyrus-sasl-crammd5-2.1.18-29
cyrus-sasl-digestmd5-2.1.18-29
cyrus-sasl-otp-2.1.18-29

Geht leider auch nicht

Gruß Latz
 
na dann, übliches Procedere: mehr input liefern ;)

wie hast du vorher deine AUTH zum email abholen eingestellt gehabt?
welches AUTH Verfahren will dein neuer relayhost ?

ggfls poste die Konfig-Files (OHNE Kommentaare!) vom postfix
 
Hier die main.cf:

Code:
41:command_directory = /usr/sbin
47:daemon_directory = /usr/lib/postfix
73:myhostname = mail.provider.de
81:mydomain = provider.de
165:mydestination = $myhostname, localhost.$mydomain, provider.de
222:unknown_local_recipient_reject_code = 450
265:mynetworks = 10.3.201.0/24  127.0.0.0/8
389:alias_maps = hash:/etc/aliases
582:debug_peer_level = 2
600:debugger_command =
601:     PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
602:     xxgdb $daemon_directory/$process_name $process_id & sleep 5
617:sendmail_path = /usr/sbin/sendmail
622:newaliases_path = /usr/bin/newaliases
627:mailq_path = /usr/bin/mailq
633:setgid_group = maildrop
637:manpage_directory = /usr/share/man
641:sample_directory = /usr/share/doc/packages/postfix/samples
645:readme_directory = /usr/share/doc/packages/postfix/README_FILES
646:mail_spool_directory = /var/mail
647:canonical_maps = hash:/etc/postfix/canonical
648:virtual_maps = hash:/etc/postfix/virtual
649:relocated_maps = hash:/etc/postfix/relocated
650:transport_maps = hash:/etc/postfix/transport
651:sender_canonical_maps = hash:/etc/postfix/sender_canonical
652:masquerade_exceptions = root
653:masquerade_classes = envelope_sender, header_sender, header_recipient
654:masquerade_domains =
655:mydestination = $myhostname, localhost.$mydomain, provider.de
656:disable_dns_lookups = no
657:relayhost = [xxx.can20.de]
658:content_filter = smtp-amavis:[127.0.0.1]:10024
659:mailbox_command =
660:mailbox_transport =
661:smtpd_sender_restrictions = hash:/etc/postfix/access
662:smtpd_client_restrictions =
663:smtpd_helo_required = no
664:smtpd_helo_restrictions =
665:strict_rfc821_envelopes = no
666:smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
667:smtp_sasl_auth_enable = yes
668:smtpd_sasl_auth_enable = no
669:smtpd_use_tls = no
670:smtp_use_tls = no
671:alias_maps = hash:/etc/aliases
672:mailbox_size_limit = 0
673:message_size_limit = 51200000
674:virtual_alias_maps = hash:/etc/postfix/virtual
675:maximal_queue_lifetime = 1d
676:recipient_canonical_maps = hash:/etc/postfix/recipient_canonical
677:myorigin = $mydomain
678:defer_transports =
679:html_directory = /usr/share/doc/packages/postfix/html
680:smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

AUTH Verfahren = AUTH Login?

Gruß Latz
 
Hmm,

schau Dir mal dies an : http://www.tuxhausen.de/postfix_smtp_auth-3.html

Was das Authverfahren angeht sollte das wohl PLAIN LOGIN sein wenn mich nicht alles täuscht.

Du kannst es auch mit DIGESTMD5 versuchen, dann muß das Passwort aber in der /etc/sasldb2 stehen und dort allerdings auch im Klartext.

So long

ThomasF
 
Status
Für weitere Antworten geschlossen.
Oben