Page 1 of 1

Confixx, postfix - kein SMTP

Posted: 2007-03-02 12:37
by Anonymous
Hallo Forum,
das Thema ist zwar sehr überpräsent hier, aber ich bekomme es trotzdem nicht hin. Hier erstmal die Systeminfos:

Debian 3.1
postfix 2.1.5-9
confixx

Mein Problem ist das nach einem upgrade des Systems kein Mailversand per smtp Server möglich ist. Unter /var/log/syslog ist folgendes zufinden:

Code: Select all

Mar  2 12:23:35 vserver postfix/smtpd[1960]: connect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:37 vserver postfix/smtpd[1960]: warning: SASL authentication problem: unknown password verifier 
Mar  2 12:23:37 vserver postfix/smtpd[1960]: warning: p54B979E0.dip.t-dialin.net
[84.185.121.224]: SASL LOGIN authentication failed
Mar  2 12:23:38 vserver postfix/smtpd[1960]: disconnect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:39 vserver postfix/smtpd[1960]: connect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:41 vserver postfix/smtpd[1960]: warning: SASL authentication failure: client didn't issue valid NTLM response
Mar  2 12:23:41 vserver postfix/smtpd[1960]: warning: p54B979E0.dip.t-dialin.net
[84.185.121.224]: SASL NTLM authentication failed
Mar  2 12:23:42 vserver postfix/smtpd[1960]: disconnect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:43 vserver postfix/smtpd[1960]: connect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:44 vserver postfix/smtpd[1960]: warning: SASL authentication failure: no secret in database
Mar  2 12:23:44 vserver postfix/smtpd[1960]: warning: p54B979E0.dip.t-dialin.net
[84.185.121.224]: SASL CRAM-MD5 authentication failed
Mar  2 12:23:45 vserver postfix/smtpd[1960]: disconnect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:46 vserver postfix/smtpd[1960]: connect from p54B979E0.dip.t-dialin.net[84.185.121.224]
Mar  2 12:23:47 vserver postfix/smtpd[1960]: warning: SASL authentication problem: unknown password verifier 
Mar  2 12:23:47 vserver postfix/smtpd[1960]: warning: p54B979E0.dip.t-dialin.net
[84.185.121.224]: SASL LOGIN authentication failed
Mar  2 12:23:48 vserver postfix/smtpd[1960]: disconnect from p54B979E0.dip.t-dialin.net[84.185.121.224]
In der /etc/postfix/sasl/smtpd.conf steht folgendes:

Code: Select all

#pwcheck_method: auxprop
#mech_list: PLAIN LOGIN
#auxprop_plugin: sasldb

pwcheck_method: pam
Die auskommentierten Zeilen stehen dort noch, weil dies ein Versuch von mir, über die sasldb das System zum funktionieren zu bekommen. Vor dem Upgrade war die pwcheck_method in der smtpd.conf aber pam.

Hier noch ein Auszug aus der main.cf:

Code: Select all

maximal_queue_lifetime = 1d
default_privs = mail
undisclosed_recipients_header = To: undisclosed-recipients:; 
mail_spool_directory = /var/mail
sender_canonical_maps = hash:/etc/postfix/sender_canonical
#masquerade_exceptions = root
#masquerade_classes = envelope_sender, header_sender, header_recipient
readme_directory = /usr/share/doc/packages/postfix/README_FILES
sample_directory = /usr/share/doc/packages/postfix/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
manpage_directory = /usr/share/man
newaliases_path = /usr/sbin/sendmail
mailq_path = /usr/bin/mailq
inet_interfaces = all
masquerade_domains = 
mydestination = $myhostname, localhost.$mydomain
defer_transports = 
disable_dns_lookups = no
#relayhost = 
content_filter = 
mailbox_transport = 
smtpd_client_restrictions = 
smtpd_helo_required = no
smtpd_helo_restrictions = 
strict_rfc821_envelopes = no
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
broken_sasl_auth_clients = yes
#smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, re
ject
smtpd_use_tls = no
smtpd_enforce_tls = no
#smtpd_tls_auth_only = yes
smtpd_tls_loglevel = 1
smtpd_tls_cert_file = /etc/apache/ssl.crt/confixx.crt
smtpd_tls_key_file = /etc/apache/ssl.key/confixx.key
tls_random_source = dev:/dev/urandom
##smtpd_sasl_security_options = noanonymous
Außerdem hätte ich noch eine Frage. Wie kann man es vernünftig und schnell testen ob der Mail Versand richtig funktioniert?

Vielen Dank schonmal für die Hilfe.

MfG
BjA

Re: Confixx, postfix - kein SMTP

Posted: 2007-03-02 15:30
by Anonymous
Scheint jetzt zu funktionieren. Habe es nach dieser Anleitung gemacht:

http://www.rootforum.org/forum/viewtopi ... fixx+smtpd

Danke an die Autoren.

MfG
BjA