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

Questions and answers about how to do stuff
Post Reply
zarkon555
Posts: 3
Joined: 04 Jun 2020 17:11

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

Post by zarkon555 » 30 Apr 2021 19:06

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.

Example:
walt@xy.com
joe@xyz.com

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

Thanks in advance for any comments.

-Walt

Post Reply