Page 1 of 1

Setup "Allow" whitelist in Postfix - without "local" user accounts

Posted: 30 Apr 2021 19:06
by zarkon555
I am trying to figure out how to setup a whitelist in Postfix to screen incoming emails before they get into the Mailscanner input queue...

I see how to do this in Postfix, when the email account is on the local machine, but in the case of EFA/Mailscanner, the email accounts are out on another server after all the EFA processing...

The "Automated Recipient Processing" feature will not work, as I want to redirect all outbound emails from EFA to a single gmail account...

Any ideas of how to accomplish this?
My list of approved incoming email addresses is very small so a simple lookup table and the right command for Postfix should do the trick.


Both are allowed, processed through EFA and then relayed to =>
All other incoming emails are dropped as early in the Postfix processing as possible to save resources

Thanks in advance for any comments.