[postfix-users] Postfix SASL (auxprop) + Debian Lenny

Patrick Ben Koetter p at state-of-mind.de
Mi Dez 14 00:07:04 CET 2011


* Dennis Steinkamp <little.guitar at gmx.net>:
> dank Deiner Hilfestellung konnte ich zwar einen Schritt vorwärts tun, die 
> Symptome sind aber nach wie vor unverändert.
> 
> Um gleich mal deinen Tip aufzugreifen, ist hier erstmal die Ausgabe von 
> postconf -n
> 
> 
> -----------------------------------------------------------------------------------------
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> append_dot_mydomain = no
> biff = no
> broken_sasl_auth_clients = yes
> config_directory = /etc/postfix
> inet_interfaces = all
> mailbox_command = procmail -a "$EXTENSION"
> mailbox_size_limit = 0
> mydestination = myvserver.example.de, localhost.lightandshadow.tv, , 
> localhost
> myhostname = myvserver.example.de
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> myorigin = /etc/mailname
> readme_directory = no
> recipient_delimiter = +
> relayhost =
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
> smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
> smtpd_recipient_restrictions = permit_sasl_authenticated,    
> permit_mynetworks,    reject_unauth_destination
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = myvserver.example.de
> smtpd_sasl_security_options = noanonymous
> smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
> smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
> smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
> smtpd_use_tls = yes

Ich kürze und baue mal um:

# Globale Einstellungen
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
myhostname = myvserver.example.de
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
readme_directory = no
recipient_delimiter = +

# Local Domain
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
mydestination = 
        myvserver.example.de,
        localhost.lightandshadow.tv
        localhost

# SMTP Session Policy
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
smtpd_recipient_restrictions = 
        permit_sasl_authenticated,    
        permit_mynetworks,
        reject_unauth_destination

# SMTP AUTH Server
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous

# TLS Server
smtpd_tls_security_level = none
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

# TLS Client
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache


> !! Natürlich hab ich @example.de nicht wirklich als Domaine in meine 
> Konfiguration eingetragen ;) 
> 
> ----------------------------------------------------------------------------------
> 
> und der Auszug meiner mail.log zu dem Zeitpunkt des Verbindungsversuches 
> via telnet von einer "remote machine".
> 
> ... postfix/master[1491]: daemon started -- version 2.5.5, configuration 
> /etc/postfix
> ... postfix/smtpd[1648]: warning: SASL per-process initialization failed: 
> generic failure

Kann es sein, dass keine SASL Module installiert sind?

Mach mal das:

% aptitude search sasl2

% ls /usr/lib/sasl2

p at rick


-- 
state of mind ()

http://www.state-of-mind.de

Franziskanerstraße 15      Telefon +49 89 3090 4664
81669 München              Telefax +49 89 3090 4666

Amtsgericht München        Partnerschaftsregister PR 563



Mehr Informationen über die Mailingliste postfix-users