Postfix mit SMTP-AUTH

Dieter Franzke lists at eyenovation.de
Mon Jan 26 07:53:15 CET 2004


Moin,
mein postfix zickt etwas rum.
Hab ihn eingerichtet, dass er Atuthentifizierung über sasl macht.
Im lokalen Netz klappt das auch (mynetworks auf 127.0.0.0/8) von allen 
Rechnern im Netz.
Extern bekomme ich die AUTH-Mechs gar nicht angeboten.

-----snip  intern ----

[dieter at musicman] <~> $ telnet prometheus2 smtp
Trying 192.168.10.254...
Connected to prometheus2.proxy501.no-ip.com.
Escape character is '^]'.
220 prometheus2.proxy501.no-ip.com ESMTP Postfix
EHLO musicman
250-prometheus2.proxy501.no-ip.com
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250 8BITMIME

-----snap - intern --------------

----snip-extern------
Trying 80.144.90.16...
Connected to smtp.blabla.blub
Escape character is '^]'.
220 prometheus2.blablablubb ESMTP Postfix
EHLO webmailer
250-Requested mail action okay, completed
250-SIZE 10240000
250 8BITMIME
------ snap ---------------------

und die Authentifizierung über sasl findet auch nicht statt.

postconf -n sagt:
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
body_checks = pcre:/usr/local/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
header_checks = pcre:/usr/local/etc/postfix/header_checks
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
max_use = 10
mime_header_checks = regexp:/usr/local/etc/postfix/mime_header_checks
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.
$mydomain, www.$mydomain, ftp.$mydomain
mydomain = proxy501.no-ip.com
myhostname = prometheus2.proxy501.no-ip.com
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,       
permit_mynetworks,      reject_invalid_hostname,        
reject_unknown_recipient_domain,     reject_unauth_pipelining,       
reject_unauth_destination,      check_recipient_access 
pcre:/usr/local/etc/postfix/recipient_checks.pcre,    
check_helo_access pcre:/usr/local/etc/postfix/helo_checks.pcre, 
permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550


ciao

Dieter



-- 
"Diskutiere nie mit Idioten. Sie ziehen Dich auf ihr Niveau herunter,
und schlagen Dich dann durch Erfahrung."




More information about the Linux mailing list