Hallo,
leider kann mein mailserver keine Mails empfangen. Ich bin soweit nach http://forum.webhostlist.de/fo…onfixx-postfix-sasl2.htmlvorgegangen, bekomme aber einen Mail delivery failure, wenn ich an eine eMail meiner Domian senden will. Laut log ist der Fehleder der folgende:
Code
Jun 3 08:37:48 v220100351282828 postfix/smtpd[20625]: connect from mail-in-08.arcor-online.net[151.189.21.48]
Jun 3 08:37:48 v220100351282828 postfix/smtpd[20625]: NOQUEUE: reject: RCPT from mail-in-08.arcor-online.net[151.189.21.48]: 554 5.7.1 <emailname@meinedomainhier.de>: [B][COLOR=Red]Relay access denied[/COLOR][/B]; from=<adressedioegesendethat@arcor.de> to=<emailname@meinedomainhier.de> proto=ESMTP helo=<mail-in-08.arcor-online.net>
Jun 3 08:37:48 v220100351282828 postfix/smtpd[20625]: disconnect from mail-in-08.arcor-online.net[151.189.21.48]
Jetzt weiß ich nicht, was hier misskonfiguriert,deshalb schicke ich euch mal den Auszug aus einigen meiner configs:
/etc/postfix/confixx_virtualUsers und /etc/postfix/confixx_localDomains sind leere Dateien.
/etc/postfix/sasl/smtpd.conf:
Code
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
saslauthd_path: /var/run/saslauthd/mux
autotransition:true
/etc/postfix/main.cfg:
Code
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = v220100351282828.yourvserver.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydestination = v220100351282828, localhost, localhost.localdomain, v220100351282828.yourvserver.net
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
mailbox_command=/usr/bin/procmail
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
### CONFIXX POSTFIX ENTRY ###
virtual_maps = hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
### /CONFIXX POSTFIX ENTRY ###
Alles anzeigen
Was ich bisher gemacht habe:
- Das etch Image mit confixx neu-installiert
- in confixx ein pop3-postfach angelegt
- in confixx eine email-adresse angelegt
- Installieren: apt-get install postfix-tls sasl2-bin libsasl2 libsasl2-modules
-
Code
Alles anzeigen[B]Unter /etc/pam.d/ ein File smtp erstellen mit folgendem Inhalt und in die Postfix Umgebung kopieren:[/B] auth required /lib/security/pam_unix_auth.so account required /lib/security/pam_unix_acct.so password required /lib/security/pam_unix_passwd.so session required /lib/security/pam_unix_session.so mkdir /var/spool/postfix/etc/pam.d cp /etc/pam.d/smtp /var/spool/postfix/etc/pam.d/ [B]Erstellen eines Verzeichnisses für saslauthd in der chroot-Umgebung von Postfix:[/B] mkdir -p /var/spool/postfix/var/run cd /var/run mv saslauthd/ /var/spool/postfix/var/run ln -s /var/spool/postfix/var/run/saslauthd/ saslauthd adduser postfix sasl /etc/init.d/saslauthd start /etc/init.d/postfix reload
Das ganze führt aber leider immernoch zum Fehleder der obigen Log. Was läuft hier schief?
Danke und Gruß