Re: 4.8 mit postfix

From: Andreas Totlis <usenet(at)esct.org>
Date: Tue, 5 Aug 2003 15:29:45 +0200

On Tue, Aug 05, 2003 at 01:49:38PM +02009413, Jan Siml wrote:
> Hallo Andreas,
>
> >> >> ist evtl. ein wenig OT, aber vielleicht kann mir trotzdem
> >> >> jemand einen Tip geben.
> >> >> Ich habe hier ein laufende Installation mit postfix(1.1.11,1)
> >> >> und bisher
> >> >
> >> > Warum setzt Du denn solch eine alte Postfix-Version ein?
> >
> > Ich war damals froh das Mail überhaupt funktionierte. Die Umstellung
> > wenn man von Windows kommt ist nicht ohne.
>
> Das mag wohl sein. Aber es gibt so schön viel Doku hier ;) Das ist doch
> das schöne. Man kann und darf sich (kostenlos) in allem weiterbilden.

Das Argument ist nicht zu verachten :)

 
> > Allerdings habe ich im Moemnt noch ein Problem.
> > aus dem maillog:
> > status=deferred (Authentication failed: SASL authentication failed;
> > server xxx.xxxxx.de[215.10.171.4] said: 535 Error: authentication failed)
>
> Diese Zeile allein hilft leider nicht den Sachverhalt zu bewerten.
> Könntest Du die zeilen drumherum vielleicht auch mal mitschicken. Der
> Output von "postconf -n" ist auch nie verkehrt.

Habe postfix reload gemacht und anschl. versucht eine Mail zu schicken:

Aug 5 15:08:31 baldur postfix/master[34034]: reload configuration
Aug 5 15:10:45 baldur postfix/pickup[35035]: ACD92F4: uid=1001 from=<usenet(at)esct.org>
Aug 5 15:10:45 baldur postfix/cleanup[35098]: ACD92F4: message-id=<20030805131045.GM13484(at)baldur.asgard>
Aug 5 15:10:45 baldur postfix/qmgr[35036]: ACD92F4: from=<usenet(at)esct.org>, size=433, nrcpt=1 (queue active)
Aug 5 15:10:51 baldur postfix/smtp[35100]: ACD92F4: to=<usenet(at)esct.org>, relay=xxxx.xxxxxxxt.de[215.10.171.4],
delay=6, status=deferred (Authentication failed: SASL authentication failed; server
xxx.xxxxxx.de[215.10.171.4] said: 535 Error: authentication failed)

postconf -n:

command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
mail_owner = postfix
mailbox_command = /usr/local/bin/procmail -d andreas
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, $mydomain, localhost.$mydomain
mydomain = asgard
myhostname = baldur.asgard
myorigin = $myhostname
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = provider.hostname.de <-- hier steht ein richtiger Eintrag
sample_directory = /usr/local/etc/postfix
sender_canonical_maps = hash:/usr/local/etc/postfix/sender_canonical
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 450

> Die Frage ist, ob sasldb auch als Auth-Methode eingestellt ist. Man kann
> mit SASL ja auch gegen passwd authentifizieren und vieles mehr. Was steht
> bei Dir denn in /usr/local/lib/Sendmail.conf? Wenn Du sasldb nutzen
> möchtest, sollte da "pwcheck_method: sasldb" stehen.

Ähhemm, das file kann ich nirgends finden(auch nicht unter
/usr/local/lib). Ich habe unter /etc/mail/ eine sendmail.cf.

Unter /etc/ liegt ein file auth.conf, das hat wohl nichts damit zu
tun ...

> Hast Du denn auch alle Parameter, die SASL betreffen die main.cf von
> Postfix gestopft?

Aus /usr/local/etc/postfic/main.cf:

...

#SMTP mit SASL-Authentification verwenden
smtp_sasl_auth_enable = yes
#Die Paßwörter stehen in der Datei /etc/postfix/smtp_auth
smtp_sasl_password_maps = hash:/usr/local/etc/postfix/smtp_auth

#Zusatz-Optionen: Keine anonyme-Anmeldung verwenden
smtp_sasl_security_options = noanonymous

Ich habe auch das file smtp_auth erzeugt und via postmap smtp_auth
umgewandelt.

Andreas -

To Unsubscribe: send mail to majordomo.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 05 Aug 2003 - 15:29:57 CEST

search this site