Postfix SMTP-AUTH und 1und1

2005-02-10 Diskussionsfäden Marek Opielka
Hallo,

seit Tagen sitzte ich an der Konfiguration von Postfix.
Nach verschiedenen anleitungen im Interne hatte ich versucht es ein mal
mit pwcheck und jetzt sasl.

Das ist die Fehlermeldung:
-
Feb 10 11:38:33 localhost postfix/pickup[4936]: B49D781D0: uid=1000
from=marek
Feb 10 11:38:33 localhost postfix/cleanup[5047]: B49D781D0:
message-id=[EMAIL PROTECTED]
Feb 10 11:38:33 localhost postfix/qmgr[4937]: B49D781D0:
from=[EMAIL PROTECTED], size=628, nrcpt=1 (queue active)
Feb 10 11:38:34 localhost postfix/smtp[5048]: warning: SASL
authentication failure: No worthy mechs found
Feb 10 11:38:34 localhost postfix/smtp[5048]: B49D781D0: Authentication
failed: cannot SASL authenticate to server
smtp.1und1.de[212.227.15.167]: no mechanism available
Feb 10 11:38:34 localhost postfix/smtp[5048]: warning: SASL
authentication failure: No worthy mechs found
Feb 10 11:38:34 localhost postfix/smtp[5048]: B49D781D0:
to=[EMAIL PROTECTED], relay=smtp.1und1.de[212.227.15.153], delay=1,
status=deferred (Authentication failed: cannot SASL authenticate to
server smtp.1und1.de[212.227.15.153]: no mechanism available)
--


Meine main.cf:

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate delayed mail warnings
#delay_warning_time = 4h

myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = opielka.org, localhost.localdomain,
localhost.localdomain, localhost
relayhost = smtp.1und1.de
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a $EXTENSION
mailbox_size_limit = 0
recipient_delimiter = +

smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtp_sasl_security_options = noanonymous

In der /etc/postfix/saslpasswd steht:
smtp.1und1.de p-x:x

Mit:

debian:/etc/postfix# postmap saslpasswd

habe die die saslpasswd.db generiert.

Wenn ich jetzt eine Mail von Mutt aus versenden möchte bekomme ich die
obrige Fehlermeldung.

Ich komme einfach schon seit Tagen nicht weiter, für ein Tipp wäre ich
sehr dankbar.

Gruß
Marek Opielka





Re: Postfix SMTP-AUTH und 1und1

2005-02-10 Diskussionsfäden Marek Opielka
* Marek Opielka wrote on 10 Feb 2005:

 Hallo,
 
 seit Tagen sitzte ich an der Konfiguration von Postfix.

Ich bin jetzt noch ein mal meine Konfiguration durchgegangen.
Als Quelle habe ich:

http://www.linuxwiki.de/Postfix/SmtpAuth?highlight=%28postfix%29

benutzt.
Hoffe, dass es jemanden hilft falls er damit auch Probleme hat. 

Gruß
-- 
Marek Opielka
Gerbergasse 7
66954 Pirmasens
Tel: +49 (63 31) 20 36 65
Mobil: +49 (160) 96 66 86 59
E-Mail: [EMAIL PROTECTED]
Blog: http://www.livejournal.com/users/mareko/
Homepage: http://www.opielka.org



Re: Postfix SMTP-AUTH und 1und1

2005-02-10 Diskussionsfäden Marek Opielka
* [EMAIL PROTECTED] wrote on 10 Feb 2005:

Hallo Frank,

 Hast du auch postfix-tls installiert? Ohne das geht es nicht.

Ja, ist bei mir installiert.

 
 Nimm auch noch folgende Optionen:
 
 broken_sasl_auth_clients = yes
 smtp_sasl_mechanism_filter = plain, login
 
 Außerdem solltest du als Relay-Server den auth.smtp.kundenserver.de nutzen, 
 der kann die Authentisierung.
 

Das habe ich jetzt auch verändert. 
Vielen Dank für deine Antwort.

Gruß
-- 
Marek Opielka
E-Mail: [EMAIL PROTECTED]
Blog: http://www.livejournal.com/users/mareko/
Homepage: http://www.opielka.org



Re: Postfix SMTP-AUTH und 1und1

2005-02-10 Diskussionsfäden Andreas Hergesell
Hi Marek,

Am Donnerstag, 10. Februar 2005 13:15 schrieb Marek Opielka:
 * Marek Opielka wrote on 10 Feb 2005:
  Hallo,
 
  seit Tagen sitzte ich an der Konfiguration von Postfix.

 Ich bin jetzt noch ein mal meine Konfiguration durchgegangen.
 Als Quelle habe ich:

 http://www.linuxwiki.de/Postfix/SmtpAuth?highlight=%28postfix%29

 benutzt.

Ich hab folgende Anleitung benutzt. Hat wunderbar funktioniert.

http://faq.1und1.de/hosting/mail_ums/clients/10.html

 Hoffe, dass es jemanden hilft falls er damit auch Probleme hat.

Das heißt es geht jetzt?


 Gruß

Viele Grüße

Andreas



Re: Postfix SMTP-AUTH und 1und1

2005-02-10 Diskussionsfäden Marek Opielka
* Andreas Hergesell wrote on 10 Feb 2005:

Hallo Andreas,

 Das heißt es geht jetzt?

ja es geht jetzt. Ich muss aber sagen, dass ich nicht genau weiß wo
der Fehler gelegen hatte. Wie schon geschrieben seit Tagen/Nächten
sitzte ich schon dran und habe heute noch ein mal alle
Konfigurationsdateien gelöscht und sie neu erstellt. Villeicht war
ich einfach übermüdet und hatte eine Kleinigkeit übersehen. 

Ich danke dir für deine Anwort.

Gruß
-- 
Marek Opielka
E-Mail: [EMAIL PROTECTED]
Blog: http://www.livejournal.com/users/mareko/
Homepage: http://www.opielka.org