Bypass EFA for single recipient

Questions and answers about how to do stuff
Post Reply
mobamobamoba
Posts: 9
Joined: 31 May 2017 13:39

Bypass EFA for single recipient

Post by mobamobamoba » 06 Aug 2020 11:46

Does anyone know how I could bypass Mailscanner for one recipient, i.e. person@mydomain.com skips all checks and is forwarded directly to my Exchange Server without even being logged in EFA? I'm asking because I'm backing up a family member's Gmail account (via Gmail's forwarding service) and I don't want to filter any of it since I really don't care what the email is or if it's spam or not as it's solely for archive purposes in case of an accidental deletion.

My Postfix skills are not awesome nor is my regex :) so any help would be appreciated - thanks!

User avatar
shawniverson
Posts: 3456
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Bypass EFA for single recipient

Post by shawniverson » 07 Aug 2020 09:33

Yeah, that would be posfix for sure. You might use a milter map to bypass MailScanner entirely.

http://www.postfix.org/postconf.5.html# ... ilter_maps

Post Reply