[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hilfe: postfix -> strato klappt nicht


Hallo Tom, hallo Liste,

wenn ich folgendes wie unter dem vorgeschlagenen Link steht einfuege:

smtp_sasl_security_options = noanonymous

kommt:

Apr  6 23:26:39 www postfix/smtp[96568]: warning: unsupported SASL client implementation: cyrus
Apr  6 23:26:39 www postfix/smtp[96568]: fatal: SASL library initialization
Apr  6 23:26:40 www postfix/master[95008]: warning: process /usr/local/libexec/postfix/smtp pid 96568 exit status 1
Apr  6 23:26:40 www postfix/master[95008]: warning: /usr/local/libexec/postfix/smtp: bad command startup -- throttling

Wenn ich dann noch folgendes einfuege:

smtp_sasl_type = dovecot

kommt:

Apr  6 23:28:41 www postfix/smtp[96589]: warning: unsupported SASL client implementation: dovecot
Apr  6 23:28:41 www postfix/smtp[96589]: fatal: SASL library initialization



Lasse ich beides raus, kommt die Fehlermeldung vom Strato Server aus der 1. Mail.


Folgendes steht in meiner main.cf. MySQL ist entsprechend konfiguriert.

smtpd_banner = $myhostname ESMTP $mail_name (FreeBSD) 
biff = no
append_dot_mydomain = no
myorigin = $mydomain
mydestination = localhost $mydomain
mynetworks = 127.0.0.0/8, 192.168.6.0/24
mailbox_size_limit = 0 
recipient_delimiter = + 
message_size_limit = 52428800 
smtpd_helo_required = yes 
disable_vrfy_command = yes 
strict_rfc821_envelopes = yes 
inet_protocols = ipv4

smtp_tls_loglevel = 2
smtpd_tls_loglevel = 2

relayhost=smtp.strato.de
#smtp_use_tls = yes
#smtp_enforce_tls = yes
#smtp_sasl_mechanism_filter = login
#smtp_sasl_auth_enable = yes 
smtpd_sasl_auth_enable=yes
#smtp_sasl_type = dovecot
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/sasl_passwd
sender_canonical_maps = hash:/usr/local/etc/postfix/sender_canonical
#smtpd_sasl_security_options = 
smtpd_sasl_security_options = noanonymous
#smtp_sasl_security_options = noanonymous
#smtpd_sasl_local_domain = $mydomain
#smtp_tls_enforce_peername = no
#broken_sasl_auth_clients = yes
#smtpd_sasl_path = smtpd

virtual_mailbox_domains = proxy:mysql:$config_directory/mysql_cf/virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:$config_directory/mysql_cf/virtual_mailbox_maps.cf
virtual_alias_maps = proxy:mysql:$config_directory/mysql_cf/virtual_alias_maps.cf 
virtual_mailbox_base = /var/mail/accounts 
virtual_minimum_uid = 500 
virtual_uid_maps = static:500 
virtual_gid_maps = static:500 
virtual_transport = dovecot 
dovecot_destination_recipient_limit = 1

smtpd_sasl_auth_enable = yes 
smtpd_sasl_exceptions_networks = $mynetworks 
broken_sasl_auth_clients = yes
smtpd_sasl_path = private/auth
smtpd_tls_cert_file = /usr/local/etc/ssl/mail-cert.pem 
smtpd_tls_key_file = /usr/local/etc/ssl/mail-key.pem
smtpd_tls_security_level = may 
smtpd_use_tls = yes 
smtpd_tls_auth_only = yes 
show_user_unknown_table_name = no

smtpd_helo_restrictions = 
        permit_sasl_authenticated, 
        permit_mynetworks, 
        reject_invalid_hostname, 
        reject_unauth_pipelining, 
        reject_non_fqdn_hostnam


# E-Mail-Client
smtpd_client_restrictions =
  permit_mynetworks,
  permit_sasl_authenticated,
  permit

# Absender
smtpd_sender_restrictions =
        permit_mynetworks, 
        permit_sasl_authenticated, 
        reject_unknown_sender_domain, 
        reject_non_fqdn_sender, 
        reject_sender_login_mismatch, 
        permit

# Empfaenger 
smtpd_recipient_restrictions =
        permit_mynetworks, 
        permit_sasl_authenticated, 
        reject_unknown_recipient_domain, 
        reject_non_fqdn_recipient, 
        reject_invalid_hostname, 
        reject_non_fqdn_sender, 
        reject_non_fqdn_recipient, 
        reject_unknown_sender_domain, 
        reject_unknown_recipient_domain,
        reject_unauth_destination,
        reject_unauth_pipelining,
        permit

# E-Mail
smtpd_data_restrictions =
        permit_mynetworks, 
        reject_unauth_pipelining, 
        reject_multi_recipient_bounce, 
        permit


Postfix ist mit dovecot SASL compiliert. Habe ich geprueft.
Was ist eigentlich der Unterschied zwischen   smtp_xxx  und smtpd_xxx Parametern?

Gruss,
Peter

P.S: Mein System: 

9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@xxxxxxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/GENERIC  amd64


-- 
UUGRN e.V. http://www.uugrn.org/
http://mailman.uugrn.org/mailman/listinfo/uugrn
Wiki: https://wiki.uugrn.org/UUGRN:Mailingliste
Archiv: http://lists.uugrn.org/