[Postfixbuch-users] reject_unverified_recipient_code

Jan Völkers voelkers at ppp.net
Di Nov 22 13:50:45 CET 2011


Am 22.11.2011 10:56, schrieb Mathias Jeschke:
> Was sagt denn "postconf -n" bzw. wie sieht Deine master.cf aus?

Das ist schonmal ain guter Hinweis: ich hab ja noch nen before-queue Filter.

Jetzt habe ich zusätzlich
address_verify_relay_transport = hash:/etc/postfix/transport in die 
main.cf eingetragen. Hat aber auch nix gebracht :-(

postconf -n:

mx:/etc/postfix# postconf -n
address_verify_negative_cache = no
address_verify_relay_transport = hash:/etc/postfix/transport
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
delay_warning_time = 1h
header_checks = pcre:/etc/postfix/header_checks
inet_interfaces = 127.0.0.1, a.b.c.d
mailbox_size_limit = 512000000
message_size_limit = 102400000
mynetworks = 127.0.0.0/8,
recipient_delimiter = +
relay_domains = /etc/postfix/relaydomains
relay_recipient_maps = 
proxy:mysql:/etc/postfix/mysql-relay.cf,hash:/etc/postfix/relay_recipients
smtp_tls_security_level = no
smtp_tls_session_cache_database = /var/lib/postfix/smtp_scache
smtpd_banner = Misuse will be punished.
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_sasl_authenticated, 
permit_mynetworks,    reject_unauth_destination, 
reject_non_fqdn_sender,    reject_non_fqdn_recipient, 
reject_unknown_recipient_domain,    reject_non_fqdn_hostname, 
reject_invalid_hostname,    reject_unauth_pipelining,
smtpd_recipient_restrictions = permit_sasl_authenticated, 
permit_mynetworks,    reject_invalid_hostname, 
reject_non_fqdn_hostname,    reject_non_fqdn_sender, 
reject_non_fqdn_recipient,    reject_unknown_sender_domain, 
reject_unknown_recipient_domain,    reject_unauth_pipelining, 
reject_unauth_destination,    reject_unverified_recipient, 
check_recipient_access 
hash:/etc/postfix/policyd_weight_recipient_whitelist, 
check_policy_service inet:127.0.0.1:12525,	permit
smtpd_sender_restrictions = permit_sasl_authenticated, 
permit_mynetworks,    reject_unauth_destination, 
reject_non_fqdn_sender,    reject_non_fqdn_recipient, 
reject_unknown_recipient_domain,    reject_unauth_pipelining,
smtpd_timeout = 600s
smtpd_tls_cert_file = /etc/ssl/certs/mail.voelkers.org-cert.pem
smtpd_tls_key_file = /etc/ssl/private/mail.voelkers.org-key.pem
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = /var/lib/postfix/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
unverified_recipient_reject_code = 550
virtual_alias_maps = 
proxy:mysql:/etc/postfix/mysql-virtual-alias-maps.cf,proxy:mysql:/etc/postfix/mysql-email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = 
proxy:mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_limit = 512000000
virtual_mailbox_maps = 
proxy:mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf,hash:/etc/postfix/spam.cf,
virtual_uid_maps = static:5000

master.cf:
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
#smtp      inet  n       -       -       -       -       smtpd
smtp      inet  n       -       -       -       20      smtpd
         -o smtpd_proxy_filter=127.0.0.1:10025
         -o smtpd_client_connection_count_limit=10
# After-filter SMTP server. Receive mail from the content filter
# on localhost port 10026.
#
127.0.0.1:10026 inet n  -       n       -        -      smtpd
         -o smtpd_authorized_xforward_hosts=127.0.0.0/8
         -o smtpd_client_restrictions=
         -o smtpd_helo_restrictions=
         -o smtpd_sender_restrictions=
         -o smtpd_recipient_restrictions=permit_mynetworks,reject
         -o smtpd_data_restrictions=
         -o mynetworks=127.0.0.0/8
         -o syslog_name=spampd
         -o receive_override_options=no_unknown_recipient_checks





Mehr Informationen über die Mailingliste Postfixbuch-users