Relayhost und Konfiguration auf dem entsprechenden Host
Posted: 2004-04-07 18:30
Ich habe 2 Server und möchte alle Mails des Servers1 zu Server2 senden. Auf Server1 hinterlege ich den entsprechenden relayhost Eintrag. Aber ich packe es nicht, dass mein Server2 die Mails auch relayed. Ein Eintrag in relay_hosts hat leider nicht geholfen. Könnt Ihr mir weiterhelfen? :roll:
Anbei Auszug der main.cf auf Server2
Anbei Auszug der main.cf auf Server2
Code: Select all
header_checks = regexp:/etc/postfix/header_checks
readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/confixx_virtualUsers, hash:/etc/postfix/confixx_localDomains
relay_domains = hash:/etc/postfix/relay_domains, $mydestination
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = xxx
mydomain = xxx.de
masquerade_domains =
disable_dns_lookups = no
message_size_limit = 40960000
content_filter = smtp-amavis:[127.0.0.1]:10024
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unauth_de
alias_maps = hash:/etc/aliases, hash:/etc/aliases.d/mailman
smtpd_sasl_local_domain = server1
smtpd_sasl_auth_enable=yes
smtpd_sasl_security_optons= noanonymous