Hello,

I'm pretty sure Postfix will not handle that by itself. IIRC you have a 
corresponding feature in Amavisd-new ("pen pal") that will store recipient 
addresses of outgoing messages into a DB (redis, memory or SQL) and use that 
info when a reply is coming in. 
Never tried it, though.

patpro

August 30, 2021 1:01 PM, "Sebastian Hyrwall" <s...@keff.org> wrote:

> Hi
> 
> Hope someone can help me with this. Feels like it should be simple.
> 
> I would like to whitelist any sender that a user on my mail server has sent 
> an email to. Overriding
> some spamchecks,greylisting etc, depending on where it is in the 
> smtpd_recipient_restrictions
> order.
> 
> For example,
> 
> s...@keff.org sends an email to postfix-users@postfix.org . The server 
> handling keff.org puts
> postfix-users@postfix.org in a whitelist.
> 
> Any emails from postfix-users@postfix.org is now whitelisted and bypasses 
> most spam checks.
> 
> Is there any way of doing this? Maybe i've missed something obvious.
> 
> The reason I thought of trying this is because I recently had emails sent to 
> a completely legit
> domain that happened to reside on some shared server which got dnsbl listed 
> everywhere.
> 
> Thank you
> 
> // Sebastian H

Reply via email to