On Wed, Nov 13, 2024 at 12:46:10PM +0100, natan via Postfix-users wrote:
>
> main.cf:
> ...
> smtpd_recipient_restrictions =
> ....
> check_recipient_access hash:/etc/postfix/special_domains,
> ....
Add:
smtpd_restriction_classes = greylist
greylist = check_policy_service ...
smtpd_recipient_restrictions =
...
check_recipient_access inline:{
{@domain.ltd = greylist},
{@otherdomain.ltd = greylist},
}
Use a file-based (indexed) table if you prefer, or a database, ...
the "inline:" table is simplest for how-to examples.
--
Viktor.
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]