Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
mcdoogle
Posts: 178 Joined: 2003-07-15 13:36
Post
by mcdoogle » 2004-09-16 13:38
Ich hab meinen Postfix bisher ohne Probleme betrieben.
Leider ist nicht aufgefallen da alle mit Netscape arbeiten, dass Outlook Express scheinbar nicht verschicken kann.
Es scheint an der Authentifizierung zu liegen.
Kann mir bitte jemand helfen?
Das ist die entscheindende Passage aus der main.cf
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/virtualUsers, hash:/etc/postfix/localDomains
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
inet_interfaces = all
masquerade_domains = f-eckert.com
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_client_restrictions = reject_rbl_client relays.ordb.org
smtpd_sender_restrictions = reject_rhsbl_sender dsn.rfc-ignorant.org
#SMTPD Auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
#TLS Support
smtpd_use_tls = yes
# smtpd_tls_auth_only = yes
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_cert_file = /etc/postfix/cert.pem
# smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
program_directory = /usr/lib/postfix
#AMAVIS
content_filter = smtp-amavis:[127.0.0.1]:10024
duergner
Posts: 923 Joined: 2003-08-20 11:30
Location: Pittsburgh, PA, USA
Post
by duergner » 2004-09-16 14:10
Logs? Und statt der Config Datei ist ein postconf -n besser.
mcdoogle
Posts: 178 Joined: 2003-07-15 13:36
Post
by mcdoogle » 2004-09-16 15:07
O.K.
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_privs = responder
fast_flush_domains = $relay_domains
in_flow_delay = 0
inet_interfaces = all
local_recipient_maps = $alias_maps unix:passwd.byname
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = f-eckert.com
masquerade_exceptions = root
message_size_limit = 20971520
mydestination = $myhostname, localhost.$mydomain, $mydomain, smtp.$mydomain, localhost
mydomain = f-eckert.com
myhostname = mailman.f-eckert.com
mynetworks_style = host
newaliases_path = /usr/sbin/sendmail
queue_directory = /var/spool/postfix
relocated_maps = hash:/etc/postfix/relocated
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = reject_rbl_client relays.ordb.org
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_rhsbl_sender dsn.rfc-ignorant.org
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
und
Sep 16 13:18:52 h4740 postfix/smtpd[28373]: connect from p50845B3A.dip.t-dialin.net[80.132.91.58]
Sep 16 13:18:55 h4740 postfix/smtpd[28373]: NOQUEUE: reject: RCPT from p50845B3A.dip.t-dialin.net[80.132.91.58]: 554 <
oliver.bauriedl@t-online.de >: Relay access denied; from=<
olli@elitepix.de > to=<
oliver.bauriedl@t-online.de > proto=SMTP helo=<nb>
Sep 16 13:18:56 h4740 postfix/smtpd[28372]: connect from 220-136-75-216.dynamic.hinet.net[220.136.75.216]
Sep 16 13:18:56 h4740 postfix/smtpd[28373]: disconnect from p50845B3A.dip.t-dialin.net[80.132.91.58]
Hoffentlich koennt ich mir helfen!
vratislav
Posts: 118 Joined: 2002-05-05 12:05
Contact:
Post
by vratislav » 2004-09-17 09:00
Such mal nach Relay access denied
Da gibt es Tonnenweise was zu lesen.
Björn
mgr
Posts: 5 Joined: 2004-06-03 11:09
Location: Unterägeri, CH
Contact:
Post
by mgr » 2004-09-17 09:14
hallo,
SMTP-Authentifizierung im outlook eingeschaltet ?
zu finden in den Kontoeinstellungen (SystemsteuerungMailKontenbestehende Konto ändern
dann klick auf eigenschaften des Kontos)
im Tab "Server" ganz unten im Dialog
"Der Postausgangsserver erfordert Authentifizierung"...
gruss
mgr
mcdoogle
Posts: 178 Joined: 2003-07-15 13:36
Post
by mcdoogle » 2004-09-20 13:49
Eigentlich ist die Authentifizierung im Outlook angeschaltet.
Nur leider verwendet Outlook diese nicht.
Kann es evtl. damit zusammenhaengen dass mein Server die falschen Mechanissmen anbietet?
Welchen Mechanismus benutzt denn Outlook.
Ich hab mal ein Telnet auf meinen Server gemacht:
h4740:/# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mailman.f-eckert.com ESMTP Postfix
EHLO nixserver.de
250-mailman.f-eckert.com
250-PIPELINING
250-SIZE 20971520
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN
250-AUTH=PLAIN
250 8BITMIME
AUTH PLAIN xxxxxxxxxxxxx(ersetzt)xxxxxxxxx
235 Authentication successful
quit
221 Bye
Connection closed by foreign host.
Mein Server bietet also nur Mechanismus PLAIN an. Reicht das? Wie kann ich bei Debian testing mit postfix-tls 2 noch andere methoden aktivieren?
captaincrunch
Userprojekt
Posts: 7066 Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
Post
by captaincrunch » 2004-09-20 13:52
Ein ähnliches Problem hatte ich gestern. Zum Glück fiel mir früh genug ein, dass Outlook (Express, k.A., wie's beim "echten" aussieht) nur LOGIN unterstützt, und das dazu noch in perverser Art und Weise. Es erwartet als Prompt zuerst das Passwort, dann erst den Usernamen (man mag mich korrigieren, wenn ich damit falsch liege).
Keine Ahnung, wie Postfix das handhabt, aber da ich keine Lust hatte, an meinem Exim rumzuspielen, habe ich auf dem Client ganz simpel Thunderbird installiert. ;)
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
mcdoogle
Posts: 178 Joined: 2003-07-15 13:36
Post
by mcdoogle » 2004-09-21 09:31
Ich hab das Problem auch mit dem Outlook Express.
Das klingt nach einer vernünftigen Erklärung.
Leider wollen manche Windows Kunden das haben.
Also stellt sich die Frage:
Wie bekomme ich Postfix dazu AUTH Method LOGIN zu unterstützen?
Joe User
Project Manager
Posts: 11191 Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
Post
by Joe User » 2004-09-21 10:19
smtpd.conf
mcdoogle
Posts: 178 Joined: 2003-07-15 13:36
Post
by mcdoogle » 2004-09-21 13:58
Habs gefunden.
Es funktioniert!
Danke!
rawler
Posts: 5 Joined: 2004-09-30 00:38
Location: Hamburg
Contact:
Post
by rawler » 2004-09-30 00:42
ich glaub ich hab so in etwa das gleiche prob... könntest du mir dann sagen, was du an der smtp.conf verändert hast und wo die liegt?
mcdoogle
Posts: 178 Joined: 2003-07-15 13:36
Post
by mcdoogle » 2004-10-01 10:21
Die liegt in /etc/postfix/sasl/smtpd.conf
Da steht bei mir jetzt unteranderem
mech_list: PLAIN LOGIN
drin. Vorher hatte ich da nur PLAIN!