Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

header_checks PREPEND

Status
Not open for further replies.

zivota

Technical User
Jan 24, 2005
8
CA
Hi,

I am trying to run header_checks after AMAVISD and into Postfix re-injected path. Idea is to check for "X-Spam-Flag: YES" and PREPEND value "X-MS-Exchange-Organization-SCL: 1" so that MS Exchange 2007 can read SCL value and deliver mail into Junk Folder. I am not sure what I did wrong but thing just doesn't prepend values.

Here is my reinjected smtp daemon from master file

127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-o header_checks=regexp:/etc/postfix/maps/header_checks
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o receive_override_options=no_unknown_recipient_checks,no_milters,no_address_mappings
-o header_checks=regexp:/etc/postfix/maps/header_checks
-o local_header_rewrite_clients=
-o smtpd_milters=
-o local_recipient_maps=
-o relay_recipient_maps=



And here is content of header_checks map

/^X-Spam-Flag: YES/ PREPEND X-MS-Exchange-Organization-SCL: 1



Any idea where to look for the clue?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top