readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
mydomain = exampledomain.com
myorigin = exampledomain.com
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
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 = Postfix5.domain1
delay_warning_time = 1h
message_strip_characters = \0
program_directory = /usr/lib/postfix
inet_interfaces = all
masquerade_domains =
mydestination =
defer_transports =
#Mynetworks = hash:/etc/postfix/network_table
mynetworks = 127.0.0.0/8, 192.168.0.1, DMZIP1,DMZIP2,DMZIP3
mynetworks_style = subnet
disable_dns_lookups = no
relayhost = [DMZIP1]
mailbox_command =
mailbox_transport = cyrus
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
#smtpd_sender_restrictions = permit_mynetworks
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination,check_sender_access hash:/etc/postfix/sender_access
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = yes
smtpd_use_tls = no
smtp_use_tls = no
smtp_enforce_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 26214400
local_recipient_maps =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
I can send out e-mail to
tester@exampledomain.com
exampledomain.com being my real domain the message goes to Postfix server in DMZIP1 which forwards the message to Postfix5. The message however is not delivered locally as expected but instead Postfix5 tries to forward the message back to DMZIP1 and then goes into a loop until multiple hops are exceeded and the message is dropped.
So the server behind DMZIP1 has no problem routing the message to Postfix5 however he receives to deliver it to tester who has a mailbox there configured via Cyrus.
Postfix5 ip in this case is 192.168.0.1 and also the server is able to send out e-mails from outlook client connected to it. The e-mails go out via DMZIP1 without problem.
I did read a book on the subject but still can`t find the solution why the server is not accepting the message for local delivery.