[Postfixbuch-users] Problem mit relay_domains und LMTP an cyrus-imapd...

Klaus Tachtler klaus at tachtler.net
Mo Feb 6 16:40:13 CET 2012


Hallo Liste,

ich stehe anscheinend auf dem Schlauch, also evtl. kann mir jemand  
einen kleinen Schups geben.

Ich habe einen Postfix, welche via relay-domains an cyrus_imapd auf  
einem weiteren Rechner via lmtp die e-Mails einliefert, was auch  
funktioniert.

Leider nimmt mein Postfix auch für <irgendjemad at tachtler.net> e-Mails  
an (250...).
Erst der cyrus-imapd stellt fest, das es für diesen user kein Postfach gibt!

Wo liegt mein Problem?

/etc/postfix/relay_domains
tachtler.net            lmtp:inet:[10.0.0.80]:24

# postconf -n
address_verify_map = btree:/var/spool/postfix/data/verify
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = pcre:/etc/postfix/body_checks
bounce_queue_lifetime = 3d
bounce_template_file = /etc/postfix/bounce.de-DE.cf
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = pcre:/etc/postfix/header_checks
html_directory = no
lmtp_generic_maps = btree:/etc/postfix/lmtp_generic_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = tachtler.net
maximal_queue_lifetime = 3d
message_size_limit = 20480000
mime_header_checks = pcre:/etc/postfix/mime_header_checks
mydestination = $myhostname, localhost.$mydomain, localhost,  
localhost.localdomain, vml000060.dmz.$mydomain, vml001060.xdmz.$mydomain
mydomain = tachtler.net
myhostname = mx1.tachtler.net
mynetworks = 127.0.0.0/8 10.0.0.0/24 10.0.1.0/24 88.217.171.167/32
myorigin = vml000060.dmz.tachtler.net
nested_header_checks = pcre:/etc/postfix/nested_header_checks
newaliases_path = /usr/bin/newaliases.postfix
parent_domain_matches_subdomains = debug_peer_list,      
fast_flush_domains,     mynetworks,     permit_mx_backup_networks,      
  qmqpd_authorized_clients,       relay_domains
permit_mx_backup_networks = 88.217.187.21/32
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_canonical_maps = btree:/etc/postfix/recipient_canonical_maps
relay_domains = btree:/etc/postfix/relay_domains
relocated_maps = btree:/etc/postfix/relocated_maps
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_canonical_maps = btree:/etc/postfix/sender_canonical_maps
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_generic_maps = btree:/etc/postfix/smtp_generic_maps
smtp_tls_loglevel = 1
smtp_tls_security_level = may
smtpd_client_connection_count_limit = 20
smtpd_client_message_rate_limit = 20
smtpd_client_recipient_rate_limit = 20
smtpd_discard_ehlo_keyword_address_maps = cidr:/etc/postfix/esmtp_access
smtpd_helo_required = yes
smtpd_recipient_restrictions = check_recipient_access  
btree:/etc/postfix/check_recipient_access_rfc,         
check_client_access cidr:/etc/postfix/check_client_access,         
check_helo_access btree:/etc/postfix/check_helo_access,         
check_sender_access btree:/etc/postfix/check_sender_access,         
check_recipient_access btree:/etc/postfix/check_recipient_access,       
   reject_non_fqdn_sender,        reject_non_fqdn_recipient,         
reject_unknown_sender_domain,        reject_unknown_recipient_domain,   
       permit_sasl_authenticated,        permit_mynetworks,         
reject_rbl_client zen.spamhaus.org,        reject_rbl_client  
ix.dnsbl.manitu.net,        reject_rbl_client bl.spamcop.net,         
reject_rbl_client dnsbl.njabl.org,        reject_rhsbl_client  
multi.uribl.com,        check_client_access  
btree:/etc/postfix/check_client_access_policyd_weight,         
check_policy_service inet:127.0.0.1:12525,        check_policy_service  
unix:postgrey/socket,        reject_unverified_recipient,         
permit_mx_backup,        reject_unauth_destination,        permit
smtpd_tls_CAfile = /geheim/chain.pem
smtpd_tls_cert_file = /geheim/crt.crt
smtpd_tls_key_file = /geheim/key.key
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
transport_maps = btree:/etc/postfix/transport_maps,  
btree:/etc/postfix/relay_domains
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 577
unverified_sender_reject_code = 577
virtual_alias_domains = btree:/etc/postfix/virtual_alias_domains
virtual_alias_maps = btree:/etc/postfix/virtual_alias_maps
[root at vml000060 postfix]# cat /etc/postfix/relay_domains
tachtler.net            lmtp:inet:[10.0.0.80]:24
[root at vml000060 postfix]# postconf -n
[root at vml000060 postfix]# postconf -n
address_verify_map = btree:/var/spool/postfix/data/verify
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = pcre:/etc/postfix/body_checks
bounce_queue_lifetime = 3d
bounce_template_file = /etc/postfix/bounce.de-DE.cf
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
header_checks = pcre:/etc/postfix/header_checks
html_directory = no
lmtp_generic_maps = btree:/etc/postfix/lmtp_generic_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
masquerade_domains = tachtler.net
maximal_queue_lifetime = 3d
message_size_limit = 20480000
mime_header_checks = pcre:/etc/postfix/mime_header_checks
mydestination = $myhostname, localhost.$mydomain, localhost,  
localhost.localdomain, vml000060.dmz.$mydomain, vml001060.xdmz.$mydomain
mydomain = tachtler.net
myhostname = mx1.tachtler.net
mynetworks = 127.0.0.0/8 10.0.0.0/24 10.0.1.0/24 88.217.171.167/32
myorigin = vml000060.dmz.tachtler.net
nested_header_checks = pcre:/etc/postfix/nested_header_checks
newaliases_path = /usr/bin/newaliases.postfix
parent_domain_matches_subdomains = debug_peer_list,      
fast_flush_domains,     mynetworks,     permit_mx_backup_networks,      
  qmqpd_authorized_clients,       relay_domains
permit_mx_backup_networks = 88.217.187.21/32
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
recipient_canonical_maps = btree:/etc/postfix/recipient_canonical_maps
relay_domains = btree:/etc/postfix/relay_domains
relocated_maps = btree:/etc/postfix/relocated_maps
sample_directory = /usr/share/doc/postfix-2.6.6/samples
sender_canonical_maps = btree:/etc/postfix/sender_canonical_maps
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_generic_maps = btree:/etc/postfix/smtp_generic_maps
smtp_tls_loglevel = 1
smtp_tls_security_level = may
smtpd_client_connection_count_limit = 20
smtpd_client_message_rate_limit = 20
smtpd_client_recipient_rate_limit = 20
smtpd_discard_ehlo_keyword_address_maps = cidr:/etc/postfix/esmtp_access
smtpd_helo_required = yes
smtpd_recipient_restrictions = check_recipient_access  
btree:/etc/postfix/check_recipient_access_rfc,         
check_client_access cidr:/etc/postfix/check_client_access,         
check_helo_access btree:/etc/postfix/check_helo_access,         
check_sender_access btree:/etc/postfix/check_sender_access,         
check_recipient_access btree:/etc/postfix/check_recipient_access,       
   reject_non_fqdn_sender,        reject_non_fqdn_recipient,         
reject_unknown_sender_domain,        reject_unknown_recipient_domain,   
       permit_sasl_authenticated,        permit_mynetworks,         
reject_rbl_client zen.spamhaus.org,        reject_rbl_client  
ix.dnsbl.manitu.net,        reject_rbl_client bl.spamcop.net,         
reject_rbl_client dnsbl.njabl.org,        reject_rhsbl_client  
multi.uribl.com,        check_client_access  
btree:/etc/postfix/check_client_access_policyd_weight,         
check_policy_service inet:127.0.0.1:12525,        check_policy_service  
unix:postgrey/socket,        reject_unverified_recipient,         
permit_mx_backup,        reject_unauth_destination,        permit
smtpd_tls_CAfile = /etc/pki/postfix/certs/CAcert_chain.pem
smtpd_tls_cert_file = /etc/pki/postfix/certs/CAcert-class3-wildcard.crt
smtpd_tls_key_file = /etc/pki/postfix/private/tachtler.net.key
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
transport_maps = btree:/etc/postfix/transport_maps,  
btree:/etc/postfix/relay_domains
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_local_recipient_reject_code = 550
unverified_recipient_reject_code = 577
unverified_sender_reject_code = 577
virtual_alias_domains = btree:/etc/postfix/virtual_alias_domains
virtual_alias_maps = btree:/etc/postfix/virtual_alias_maps

Danke schon in Voraus!

Grüße
Klaus.

--

------------------------------------------------
e-Mail  : klaus at tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net
------------------------------------------------




Mehr Informationen über die Mailingliste Postfixbuch-users