Postfix | get the original rcpt to into your header

You have a cascade of postfixes and aliases your mails are traversing through and are losing the original recipient address? Simply add a header line with first servers postfix. Tune your main.cf and add something like the ‘detect_recipients‘ line here: smtpd_recipient_restrictions = check_recipient_access regexp:/etc/postfix/specials/denied_recipients, check_recipient_access regexp:/etc/postfix/specials/allowed_recipients, check_recipient_access regexp:/etc/postfix/specials/detect_recipients, check_recipient_access regexp:/etc/postfix/specials permit_mynetworks, reject_unauth_destination Your detect_recipients file: […]

USE GMAIL WITH YOUR OWN REPLY-TO

You can tweak your gmail account to add a customized REPLY-TO on every mail you send via this account: Open your gmail account settings. Select Accounts and Import Go to Send as Click Add another address Type in your name and the reply-to address you wish to use and select Use as alias Press Next […]