PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SMTP Auth, Postfix



flho5
31.05.08, 16:13
Hallo.
Ich habe nach http://www.splitbrain.org/blog/2008-01/31-setup_postfix_and_dovecot_on_debian_etch meinen Mailserver konfiguriert. Jedoch ohne SMTP Auth. Wie schaffe ich es nun, das es klappt.

Folgende Konfigdatei habe ich:

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# setup for local generated mails
append_dot_mydomain = yes
masquerade_domains = f5m.eu
myorigin = f5m.eu

# general stuff
myhostname = f5m.eu
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = localhost,
localhost.localdomain,
f5m.eu,
webratte.net,
f5m.de
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

# helo restrictions
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
reject_invalid_hostname,
permit

# sender restrictions
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit

# recipient restriction
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination

#enable SMTP auth for relaying
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth

# deliver with dovecot
dovecot_destination_recipient_limit = 1
mailbox_transport = dovecot
local_recipient_maps =


Habe einen vServer und Debian 4.0

//Edit:
Habe mal http://www.greatnet.de/cms/front_content.php?client=1&lang=1&idcat=42&idart=640 getestet klappte aber nicht ganz...

Badboy2000
01.06.08, 12:24
Hi,
bin da auch nicht der Postfix Profi, hab mich vor einiger Zeit mal damit auseinander gesetzt.

Versuch doch mal in der Postfix Config folgendes einzutragen:

smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes

Und entferne mal folgendes dafür:

smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth


Wenn du jetzt noch den saslauthd geconft hast dürfte alles laufen.

flho5
01.06.08, 17:49
Ok, habe das mit # auskommentiert...
Wie konfiguriere ich sasl richtig?
Wie stelle ich user ein?

flho5
01.06.08, 21:31
So! Nochmal danke an Bayboy2000. Nun klappt alles!!