Hi
For test i run setup with postgrey like:

...
smtpd_restriction_classes=greylist
greylist=check_policy_service { inet:127.0.0.1:12345, timeout=4s, default_action=DUNNO }

smtpd_recipient_restrictions =
check_recipient_access inline:{{foo.bar.ltd=greylist}},
...

It works ok - but for one/two domains its ok
With a larger number of domains, management cant be not userfriendly
I dont have graylisting for every domain.

I thinking aboyt mysql something like that:
...
smtpd_recipient_restrictions =
check_recipient_access mysql:/etc/postfix/mysql_greylist.cf
...

mysql_greylist.cf:
...
SELECT action FROM greylist_domains WHERE domain_name = '%s'
...

Theoreticly its ok.

But I have some questions
Is there any other - more sensible approach to the topic? Or how to optimize it even more? Or are there any ready-made, proven and still developed solutions to avoid reinventing the wheel?

--

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to