PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix für lokale und relay-Zustellung



TryMyVeryBest
08.06.10, 08:10
Moin zusammen,
bislang hat unser Postfix brav alle Mails auf korrekte Zustelladressen geprüft und an unseren Lotus Domino Server weitergereicht.

Nun stehe ich vor der Aufgabe, eine teilweise lokale Zustellung zu konfigurieren und verstehs einfach nicht.

Workflow soll ungefähr so sein:

Mail an die Domäne domain.tld geht ein -> ist die main-Domäne
Postfix validiert die Zustelladresse -> mail wird angenommen
Postfix prüft, ob lokal zugestellt werden kann -> an dieser Stelle raffe ich es schon nicht mehr ...
Postfix stellt wenn möglich lokal an cyrus zu
Wenn Postfix nicht lokal zustellen kann wird die Mail relayd an den Domino-Server.

Hier die Ausgabe von postconf -n ... vielleicht weiß ja jemand Rat.

alias_maps = hash:/etc/aliases, ldap:/etc/postfix/ldapalias_maps_folder.cf, ldap:/etc/postfix/ldapalias_maps.cf
biff = no
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
disable_vrfy_command = yes
fallback_transport = smtp:lanmail.hdkbn.org
fast_flush_domains = $relay_domains
home_mailbox =
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_interfaces = 80.237.230.10, 80.237.230.11, 127.0.0.1, 10.12.20.137
inet_protocols = all
local_recipient_maps = $alias_maps, ldap:/etc/postfix/ldaplocal_recipient_maps.cf, ldap:/etc/postfix/ldap_domino_aliases.cf
mail_owner = postfix
mail_spool_directory =
mailbox_command =
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
mailbox_transport_maps = $alias_maps, ldap:/etc/postfix/ldaplocal_recipient_maps.cf
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains = !ext.hdkbn.org hdkbn.org, ldap:/etc/postfix/ldapmasquerade_domains.cf
masquerade_exceptions = root
message_size_limit = 20971520
message_strip_characters = \0
mydestination = $myhostname, localhost.$mydomain, $mydomain, ldap:/etc/postfix/ldapmydestination.cf
myhostname = mailgw.hdkbn.org
mynetworks = 127.0.0.0/8, 80.237.230.8/29, 10.12.20.136/30, [::1]/128, [fe80::%eth0]/64, [fe80::%eth1]/64, 10.0.0.0/8, 192.168.0.0/16, 80.237.159.61/32
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
rbl_reply_maps = hash:/etc/postfix/imss_rbl_reply
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = hash:/etc/postfix/relay_domains
relay_recipient_maps = ldap:/etc/postfix/ldap_domino_aliases.cf, hash:/etc/postfix/relay_backupmx
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtp_enforce_tls = no
smtp_sasl_auth_enable = no
smtp_sasl_security_options = noanonymous
smtp_tls_enforce_peername = yes
smtp_tls_note_starttls_offer = yes
smtp_tls_per_site = ldap:/etc/postfix/ldapsmtp_tls_per_site.cf
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
smtpd_client_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_rbl_client irgendwas.r.mail-abuse.com,
reject_rbl_client nochwas.q.mail-abuse.com,
reject_rbl_client ix.dnsbl.manitu.net,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client combined.njabl.org
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_auth_destination,
permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:postgrey/socket,
reject
smtpd_sasl_auth_enable = yes
smtpd_sender_restrictions = ldap:/etc/postfix/ldapaccess.cf
smtpd_tls_CApath = /etc/ssl/certs
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/servercerts/servercert.pem
smtpd_tls_key_file = /etc/ssl/servercerts/serverkey.pem
smtpd_tls_loglevel = 2
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600
smtpd_use_tls = yes
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = ldap:/etc/postfix/ldaptransport_maps.cf
unknown_local_recipient_reject_code = 550
unknown_relay_recipient_reject_code = 550
virtual_alias_domains = ldap:/etc/postfix/ldapvirtual_alias_domains.cf
virtual_alias_maps = ldap:/etc/postfix/ldapuser_recipient_maps.cf,
ldap:/etc/postfix/ldapvalias_maps_both.cf,
ldap:/etc/postfix/ldapvalias_maps_member.cf,
ldap:/etc/postfix/ldapvalias_maps_folder.cf,
ldap:/etc/postfix/ldapvalias_maps_forward.cf