OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
enable_original_recipient = yes, but no X-Original-To header added?

From: Darren Pilgrim (postfixbitfreak.org)
Date: Mon Jul 03 2006 - 05:07:11 CDT


The server in question is Postfix 2.2.10 set up for virtual-only domains
delivered via the extensions-enabled maildrop transport given in
MAILDROP_README. The entire configuration works correctly in terms of
address rewriting and mail delivery. The Return-Path and Delivered-To
headers are being added, but the X-Original-To header isn't present.
The configuration has enable_original_recipient = yes and the man page
says cleanup will add the header, so I'm stumped.

Output of postconf -n (forgive the line-wrap):

alias_maps =
body_checks = pcre:${config_directory}/body_checks.re
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
disable_vrfy_command = yes
dont_remove = 1
enable_original_recipient = yes
in_flow_delay = 0
inet_interfaces = $myhostname
local_recipient_maps =
mailq_path = /usr/local/bin/mailq
mydestination =
mydomain = $myhostname
myhostname = mail.twinthornes.com
mynetworks = 65.75.198.144/28, 127.0.0.0/8
myorigin = $myhostname
newaliases_path = /usr/local/bin/newaliases
parent_domain_matches_subdomains =
recipient_delimiter = +
sample_directory = /usr/local/etc/postfix/dist
sendmail_path = /usr/local/sbin/sendmail
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = check_client_access
hash:${config_directory}/client_access, permit
smtpd_discard_ehlo_keywords = ETRN
smtpd_error_sleep_time = 0
smtpd_hard_error_limit = 5
smtpd_helo_required = yes
smtpd_helo_restrictions = check_helo_access
hash:${config_directory}/helo_access, reject_non_fqdn_hostname, permit
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
reject_unlisted_recipient, permit_sasl_authenticated, permit_mynetworks,
      reject_spf_invalid_sender, reject_unauth_destination, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_sender_restrictions = check_sender_access
hash:${config_directory}/sender_access, reject_non_fqdn_sender,
reject_unlisted_sender, permit
smtpd_tls_CAfile = /usr/local/etc/sslcerts/cacert.pem
smtpd_tls_cert_file = /usr/local/etc/sslcerts/mail.twinthornes.com.pem
smtpd_tls_loglevel = 1
smtpd_tls_session_cache_database =
btree:/var/spool/postfix/private/smtpd_tls_session_cache
smtpd_use_tls = yes
soft_bounce = yes
spf_mark_only = no
spf_received_header = yes
unknown_local_recipient_reject_code = 550
virtual_alias_maps = hash:${config_directory}/vmail/alias
virtual_mailbox_domains = hash:${config_directory}/vmail/domain
virtual_mailbox_maps = hash:${config_directory}/vmail/mailbox
virtual_transport = maildrop

--
Darren Pilgrim