Postfix Relay access denied

XXcD

New Member
Hallo,
ich habe ein kleines Problem.
Ich habe einen eigenen Mailserver eröffnet und jetzt kann ich extern keine Emails senden.

Also ich kann alle Emails empfangen und intern per z.b. PHP emails senden.
Aber wenn ich über Outlook auf ein anderes Email Postfach ne Email senden will bekomme ich immer diese Fehlermeldung: Relay access denied

So sieht meine main.cf aus:
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 = s***.silver.fastwebserver.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
mydomain = ***********.de
myorigin = $mydomain
mydestination = **********.de, s***.silver.fastwebserver.de, localhost.silver.fastwebserver.de, localhost
relayhost = 
mynetworks = 127.0.0.0/8 168.100.189.0/28
mailbox_size_limit = 0
transport_maps=mysql:/etc/postfix/transport.cf
virtual_mailbox_maps=mysql:/etc/postfix/mysql_virt.cf
virtual_uid_maps=mysql:/etc/postfix/uids.cf
virtual_gid_maps=mysql:/etc/postfix/gids.cf
virtual_mailbox_base=/var/spool/postfix/virtual
virtual_maps=mysql:/etc/postfix/virtual.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_minimum_uid=100
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
recipient_delimiter = +
inet_interfaces = all
local_recipient_maps =

Vielleicht kann mir ja einer sagen woran das liegen könnte.
 
Ok was muss denn da alles drin stehen damit es funktioniert.
Also ich meine jetzt bei smtpd_recipient_restrictions.
 
Code:
smtpd_recipient_restrictions =
    permit_mynetworks

sollte zumindest auftauchen, meine ganzen sehen so aus:

Code:
smtpd_helo_required = yes
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions =
    reject_unlisted_recipient,
    permit_mynetworks,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_sender,
    reject_unknown_sender_domain,
    reject_non_fqdn_recipient,
    reject_unknown_recipient_domain,

lg Basti
 
Back
Top