Corey Chandler wrote:
Corey Chandler wrote:
I'm attempting to have a world-facing MX act as a catchall for an endpoint server inside my network. The endpoint server has a catchall in place for all unmatched user entries.

*snip*
postconf -n output:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
canonical_maps = pcre:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_interfaces = all
local_recipient_maps =
local_transport = error:local mail delivery is disabled
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 15728640
myhostname = mailgate1.OURDOMAINcom
mynetworks = 192.168.0.0/16, 127.0.0.0/8, 10.0.0.0/8
myorigin = OURDOMAIN.com
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
relay_domains = * LIST OF DOMAINS WE SERVICE*
relay_recipient_maps = hash:/etc/postfix/relay_recipients
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_loglevel = 1
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unlisted_recipient reject_unauth_destination check_sender_access hash:/etc/postfix/roleaccountreject_invalid_hostname reject_non_fqdn_hostname reject_non_fqdn_sender reject_non_fqdn_recipient reject_unauth_destination reject_unauth_pipelining reject_unknown_address reject_rbl_client psbl.surriel.com reject_rbl_client dnsbl.ahbl.org reject_rbl_client bl.spamcop.net reject_rhsbl_sender rhsbl.ahbl.org reject_rbl_client zen.spamhaus.org permit
smtpd_tls_cert_file = /etc/postfix/server.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
soft_bounce = yes
transport_maps = hash:/etc/postfix/relay_recipients
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:/etc/postfix/virtual


While I've got my postconf output up here, I'm also attempting to have this gateway rewrite all addresses of the form u...@server.example.com to u...@example.com before looking for a match in the transport / relay recipient table. Is there a way to achieve this within Postfix?

-- CJC

Reply via email to