[postfix-users] smtpd_proxy_filter und Amavis -> postfix/submission/smtpd[24419]: fatal: smtp:[127.0.0.1]:10026: valid hostname or network address required

Jakob-Matthias Böttger jakob.boettger at mailbox.org
Mi Aug 6 09:10:06 CEST 2014


Hallo zusammen,

Ich hänge irgendwo in einem Denkfehler. Amavis ist zwecks DKIM
signierung auf 10024 und 10026 eingerichtet. Mittels content_filter
funktioniert es auch soweit. Stelle ich aber nun z.B. submission auf
smtpd_proxy_filter=smtp:[127.0.0.1]:10026 bekomme ich

postfix/submission/smtpd[24419]: fatal: smtp:[127.0.0.1]:10026: valid
hostname or network address required
postfix/master[19921]: warning: process /usr/lib/postfix/smtpd pid 24419
exit status 1
postfix/master[19921]: warning: /usr/lib/postfix/smtpd: bad command
startup -- throttling

im Anhang die postconf -nf und postconf Mf Resultate mit der unter
content_filter funktionierender Ćonfig


Beste Grüße

Jakob
-------------- nächster Teil --------------
alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
dovecot_destination_recipient_limit = 1
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = a1.domain.net, localhost, localhost.localdomain
myhostname = a1.domain.net
mynetworks = 127.0.0.0/8 [::1]/128 [fe80::]/10 123.456.789.0/24 123.456.798.0/24
    [2a01:123:123:4567::]/64
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
owner_request_special = no
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps
    $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains
    $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
    $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +-
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
relayhost =
smtp_bind_address = 123.123.123.456
smtp_bind_address6 = [2a01:123:123:4567::10]
smtp_dns_support_level = dnssec
smtp_tls_security_level = dane
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = Mailsystem at $myhostname with ESMTP capabilities
smtpd_client_message_rate_limit = 100
smtpd_client_restrictions = check_client_access
    mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_recipient_restrictions = check_recipient_access
    mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_non_fqdn_sender,
    reject_non_fqdn_recipient, reject_unknown_recipient_domain,
    reject_unknown_sender_domain, permit_sasl_authenticated, permit_mynetworks,
    check_policy_service inet:127.0.0.1:12525, check_policy_service
    inet:127.0.0.1:10023, reject_unverified_recipient,
    reject_unauth_destination, permit
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
    defer_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = check_sender_access
    mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_tls_cert_file = /etc/ssl/domain_net_chain.pem
smtpd_tls_dh1024_param_file = /etc/postfix/dh/dh_1024.pem
smtpd_tls_dh512_param_file = /etc/postfix/dh/dh_512.pem
smtpd_tls_eecdh_grade = strong
smtpd_tls_key_file = /etc/ssl/private/domain_net.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_preempt_cipherlist = yes
transport_maps = hash:/var/lib/mailman/data/transport-mailman,
    proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
    proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf,
    hash:/var/lib/mailman/data/virtual-mailman
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000

-------------- nächster Teil --------------
smtp       inet  n       -       -       -       -       smtpd
submission inet  n       -       -       -       25      smtpd
    -o smtpd_enforce_tls=yes
    -o syslog_name=postfix/submission
    -o smtpd_tls_security_level=encrypt
    -o smtpd_sasl_auth_enable=yes
    -o smtpd_etrn_restrictions=reject
    -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    -o content_filter=amavis:[127.0.0.1]:10026
pickup     unix  n       -       -       60      1       pickup
    -o smtpd_proxy_filter=
    -o content_filter=amavis:[127.0.0.1]:10026
cleanup    unix  n       -       -       -       0       cleanup
qmgr       unix  n       -       n       300     1       qmgr
tlsmgr     unix  -       -       -       1000?   1       tlsmgr
rewrite    unix  -       -       -       -       -       trivial-rewrite
bounce     unix  -       -       -       -       0       bounce
defer      unix  -       -       -       -       0       bounce
trace      unix  -       -       -       -       0       bounce
verify     unix  -       -       -       -       1       verify
flush      unix  n       -       -       1000?   0       flush
proxymap   unix  -       -       n       -       -       proxymap
proxywrite unix  -       -       n       -       1       proxymap
smtp       unix  -       -       -       -       -       smtp
relay      unix  -       -       -       -       -       smtp
showq      unix  n       -       -       -       -       showq
error      unix  -       -       -       -       -       error
retry      unix  -       -       -       -       -       error
discard    unix  -       -       -       -       -       discard
local      unix  -       n       n       -       -       local
virtual    unix  -       n       n       -       -       virtual
lmtp       unix  -       -       -       -       -       lmtp
anvil      unix  -       -       -       -       1       anvil
scache     unix  -       -       -       -       1       scache
maildrop   unix  -       n       n       -       -       pipe flags=DRhu
    user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient}
    ${user} ${nexthop} ${sender}
uucp       unix  -       n       n       -       -       pipe flags=Fqhu
    user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail     unix  -       n       n       -       -       pipe flags=F user=ftn
    argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp      unix  -       n       n       -       -       pipe flags=Fq.
    user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n       n       -       2       pipe flags=R
    user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop}
    ${user} ${extension}
mailman    unix  -       n       n       -       -       pipe flags=FR
    user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop}
    ${user}
dovecot    unix  -       n       n       -       -       pipe flags=DROhu
    user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d
    ${user}@${nexthop}
amavis     unix  -       -       -       -       2       smtp
    -o smtp_data_done_timeout=1200
    -o smtp_send_xforward_command=yes
127.0.0.1:10025 inet n   -       -       -       -       smtpd
    -o content_filter=
    -o smtpd_proxy_filter=
    -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 receive_override_options=no_unknown_recipient_checks,no_header_body_checks



Mehr Informationen über die Mailingliste postfix-users