Created
May 8, 2016 14:15
-
-
Save marcelog/e4846851608abf5c7be893a089c27b94 to your computer and use it in GitHub Desktop.
Part of: http://marcelog.github.io/articles/configure_postfix_forward_email_regex_subject_transport_relay.html Setting up the header_checks file in Postfix so we can route emails based on the subject
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/^[sS]ubject:.*Confirmation*/ FILTER smtp:smtp.arelay.com | |
/^[sS]ubject:.*Reminder*/ FILTER smtp:smtp.arelay.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@marcelog
Hi, I'm trying to do almost the same thing but I'm getting an error could you please help me out
/^X-SMTPAPI:/ FILTER smtp:smtp.gateway1.com
/^X-RESEND:/ FILTER smtp:smtp.gateway2.com