On 1/9/2013 5:43 PM, Wietse Venema wrote:
check_recipient_access = hash:/etc/postfix/maps/mailing_lists
reject_unverified_recipient,
...
That will do it.
Glad to know I'm on the right track. I'm still doing something wrong.
Naturally I tried to get fancy - I'm using cdb (which I use for other
maps as well).
A test results in:
postmap -q ng...@nginx.org cdb:/etc/postfix/maps/mailing-list-targets
OK
So I THINK my map is set correctly. Yet I'm still seeing:
Jan 9 17:51:57 bubba postfix/cleanup[24369]: EED1E40402A4:
message-id=<20130110015157.eed1e4040...@mail.amfes.com>
Jan 9 17:51:58 bubba postfix/qmgr[23232]: EED1E40402A4:
from=<double-bou...@amfes.com>, size=230, nrcpt=1 (queue active)
Jan 9 17:51:59 bubba postfix/smtp[24528]: EED1E40402A4:
to=<ng...@nginx.org>, relay=mail.nginx.org[206.251.255.65]:25,
delay=1.4, delays=0.02/0.01/1.3/0.02, dsn=5.7.1,
status=undeliverable-but-not-cached (host mail.nginx.org[206.251.255.65]
said: 554 5.7.1 <ng...@nginx.org>: Recipient address rejected:
envelope-sender address is not listed as subscribed for the mailing
list. You are either not subscribed or From: address differ from
envelope address (in reply to RCPT TO command))
Jan 9 17:51:59 bubba postfix/qmgr[23232]: EED1E40402A4: removed
Configuration:
postconf -n
address_verify_map = btree:${data_directory}/verify
address_verify_negative_cache = no
address_verify_poll_count = 5
address_verify_poll_delay = 5s
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
bounce_template_file = /etc/postfix/bounce.cf
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 10m
dovecot_destination_recipient_limit = 1
fax_destination_recipient_limit = 1
html_directory = no
inet_interfaces = all
inet_protocols = all
mailbox_size_limit = 0
maildrop_destination_recipient_limit = 1
message_size_limit = 700000000
mydestination = localhost.amfeslan.local, localhost
mydomain = amfeslan.local
myhostname = mail.amfes.com
mynetworks = 127.0.0.0/8 192.168.0.0/24 192.168.56.0/24
myorigin = amfes.com
printfax_destination_recipient_limit = 1
proxy_interfaces = 24.120.114.53
readme_directory = no
recipient_bcc_maps = hash:/etc/postfix/maps/recipient_bcc
recipient_canonical_maps = hash:/etc/postfix/maps/canonical-maps
recipient_delimiter = +
sender_bcc_maps = hash:/etc/postfix/maps/sender_bcc
smtpd_authorized_xclient_hosts = 127.0.0.1 192.168.0.0/24
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_unknown_recipient_domain,
check_sender_access cdb:/etc/postfix/maps/mailing-list-targets,
reject_unverified_recipient, permit_sasl_authenticated,
permit_mynetworks, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = reject_unlisted_sender
smtpd_tls_CAfile = /etc/postfix/tls/cakey.pem
smtpd_tls_cert_file = /etc/postfix/tls/cert.pem
smtpd_tls_key_file = /etc/postfix/tls/key.pem
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
soft_bounce = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/maps/transport
virtual_alias_maps =
pcre:/etc/postfix/maps/virtual-maps,ldap:/etc/postfix/maps/ldap-aliases.cf
virtual_gid_maps = static:8
virtual_mailbox_base = /var/mail
virtual_mailbox_domains = cdb:/etc/postfix/maps/virtual-domains
virtual_mailbox_maps = ldap:/etc/postfix/maps/ldap-virtual.cf
virtual_transport = lmtp:unix:private/dovecot-lmtp
virtual_uid_maps = static:5000
--
Daniel