Quote:
Originally Posted by clau_bolson
I have the same setup, but mail to unknown recipients is rejected BEFORE the message is passed to amavis.
I think there is a configuration error here.
Can you post the result of postconf-n ?
|
Here it is. Thanks for looking at it.
alias_database = $alias_maps
alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/aliases.webnames, hash:/etc/postfix/aliases.majordomo, hash:/etc/postfix/aliases.majordomo.reserved-students, hash:/etc/postfix/aliases.users, hash:/etc/postfix/aliases.mailman
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[scan.ourdomain.com]:10024
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
fast_flush_domains = $relay_domains
header_checks = pcre:/etc/postfix/header_checks
header_size_limit = 102400
home_mailbox = Maildir/
inet_interfaces = all
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail -f-
mailbox_size_limit = 0
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, mail.$mydomain, cc.$mydomain, imap.$mydomain
mydomain = ourdomain.com
mynetworks = <our_subnet>.0.0/16, 127.0.0.0/8, 10.0.80.11, 10.0.80.12, 10.0.80.15, 64.18.0.0/16, 10.0.80.22, 10.0.80.24, 172.31.0.5, 10.0.80.41, 172.31.255.254, 172.31.88.71, 172.31.88.72, 172.31.142.71
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
parent_domain_matches_subdomains = debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,smt pd_access_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.0.16/README_FILES
relay_domains = $mydomain, imap.ourdomain.com, cc.ourdomain.com, palantir.ourdomain.com, domain2.org, domain3.org
sample_directory = /usr/share/doc/postfix-2.0.16/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_note_starttls_offer = yes
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP for <our institution> no UCE permitted
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, reject
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, warn_if_reject REJECT, permit
smtpd_recipient_restrictions = check_recipient_maps, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:/etc/postfix/access,
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, reject_non_fqdn_sender, hash:/etc/postfix/access.spammers
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/smtp.ourdomain.com.crt
smtpd_tls_key_file = /etc/ssl/smtp.ourdomain.com.key
smtpd_tls_loglevel = 0
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
soft_bounce = no
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550