Postfix: Relay access denied

lblbw

New Member
Hallo,

ich habe oben genanntes Problem mit einem bei einem Freund eingerichteten Mailserver.

Das sagt die Log-Datei:
Jul 11 17:46:52 h1405886 postfix/smtpd[10646]: connect from static.7.36.46.78.clients.your-server.de[78.46.36.7]
Jul 11 17:46:52 h1405886 postfix/smtpd[10646]: NOQUEUE: reject: RCPT from static.7.36.46.78.clients.your-server.de[78.46.36.7]: 554 5.7.1 <info@xxxxxxx>: Relay access denied; from=<[email protected]> to=<info@xxxxxxx> proto=ESMTP helo=<netbeat.fm>
Jul 11 17:46:52 h1405886 postfix/smtpd[10646]: disconnect from static.7.36.46.78.clients.your-server.de[78.46.36.7]

Das ist die main.cf:
# 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/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls=yes
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = 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 = xxxxxxx.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = xxxx.xxxxx.net, localhost.xxxxxxxx.net, localhost
relayhost =
mynetworks = 192.168.1.0/24, 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/vms-forwardings.cf, mysql:/etc/postfix/vms-email2email.cf
virtual_mailbox_domains = mysql:/etc/postfix/vms-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/vms-mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
allow_untrusted_routing = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination


Das sind bis auf den myhostname und mydestination die gleiche Konfiguration, wie bei einem bereits funktionierenden Mailserver.
Ich bedanke mich schon mal im vorraus!
 
Warum extra nen neuen Thread aufmachen? sh. Anhang.

Wenns "Relay access denied" bei eingehenden Mails heisst, dann ist postfix der ansicht, für die Domain xxxxxxx nicht zuständig zu sein und rejected die Mail. Wie und wo du die fehldende Domain in die Postfix Config einträgst steht in der man page ( Postfix manual - smtpd(8) )
 

Attachments

  • sufu.jpg
    sufu.jpg
    137 KB · Views: 271
Back
Top