keeney
27.07.03, 20:38
hi
ich moechte postfix mit smtp_auth ueber sasldb als auch cyrus-imap ueber sasldb laufen lassen.
cyrus-imap funktioniert soweit.
mail uebers lokale lan funktioniert auch (permit_mynetworks)
was nicht funktioniert ist, wenn ich ausserhalb des lans mails versenden moechte.
dann erhalte ich die fehlermeldung
Jul 27 20:28:25 [postfix/smtpd] warning: SASL authentication failure: no secret in database
Jul 27 20:28:25 [postfix/smtpd] warning: p3E9D0925.dip.t-dialin.net[62.157.9.37]: SASL CRAM-MD5 authentication failed
der user wurde mit saslpasswd2 -c keeney angelegt (der zusatz -a smtp macht irgendwie keinen unterschied)
, und cyrus-imap hat kein problem damit, lediglich postfix
ich hab die /etc/sasl2/sasldb mal vorsichtshalber auf 777 gesetzt (postfix:mail), sollte also fuer alle lesbar sein.
jetzt weiss ich nicht mehr weiter :/
folgendes eingerichtet ist bisher eingerichtet
postfix-2.0.11
cyrus-sasl-2.1.14
cyrus-imapd-2.1.14
soft_bounce = no
mydestination = $myhostname, localhost.$mydomain
mynetworks = 192.168.0.0/24, 127.0.0.0/8, 192.168.1.0/24
relayhost = mail.gmx.net
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_security_options = noplaintext
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject
smtpd_use_tls=yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 3
wobei mich an dieser stelle mal interessieren wuerde, was der smtpd macht, und was der smtp, also wo der unterschied ist
/etc/sasl2/smtp.conf
pwcheck_method: sasldb
/etc/postfix/saslpass
# remotehost user:password
mail.gmx.net keeney@gmx.de:****
ich haette ausserdem noch n kompletten smtpd-log hier, falls der von noeten ist (smtpd -v).
ich moechte postfix mit smtp_auth ueber sasldb als auch cyrus-imap ueber sasldb laufen lassen.
cyrus-imap funktioniert soweit.
mail uebers lokale lan funktioniert auch (permit_mynetworks)
was nicht funktioniert ist, wenn ich ausserhalb des lans mails versenden moechte.
dann erhalte ich die fehlermeldung
Jul 27 20:28:25 [postfix/smtpd] warning: SASL authentication failure: no secret in database
Jul 27 20:28:25 [postfix/smtpd] warning: p3E9D0925.dip.t-dialin.net[62.157.9.37]: SASL CRAM-MD5 authentication failed
der user wurde mit saslpasswd2 -c keeney angelegt (der zusatz -a smtp macht irgendwie keinen unterschied)
, und cyrus-imap hat kein problem damit, lediglich postfix
ich hab die /etc/sasl2/sasldb mal vorsichtshalber auf 777 gesetzt (postfix:mail), sollte also fuer alle lesbar sein.
jetzt weiss ich nicht mehr weiter :/
folgendes eingerichtet ist bisher eingerichtet
postfix-2.0.11
cyrus-sasl-2.1.14
cyrus-imapd-2.1.14
soft_bounce = no
mydestination = $myhostname, localhost.$mydomain
mynetworks = 192.168.0.0/24, 127.0.0.0/8, 192.168.1.0/24
relayhost = mail.gmx.net
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
smtp_sasl_security_options = noplaintext
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject
smtpd_use_tls=yes
smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/newreq.pem
smtpd_tls_cert_file = /etc/postfix/newcert.pem
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 3
wobei mich an dieser stelle mal interessieren wuerde, was der smtpd macht, und was der smtp, also wo der unterschied ist
/etc/sasl2/smtp.conf
pwcheck_method: sasldb
/etc/postfix/saslpass
# remotehost user:password
mail.gmx.net keeney@gmx.de:****
ich haette ausserdem noch n kompletten smtpd-log hier, falls der von noeten ist (smtpd -v).