Jose Borges Ferreira:
> That is great!
> Can you consider override smtpd_service_name based on the reply ?
> This would allow to have different smtpd profiles depending on some
> criteria defined in the policy daemon .

The result of a postscreen test is either 'pass' which is cached,
or some flavor of 'fail' which is not cached.

The purpose the cache is to skip tests for 'good' hosts that connect

What you are asking for requires either that a test happens for
every connection, or the ability to store configuration overrides
in the postscreen cache. The first is not a good idea, and the
latter just adds complexity.

If you want client-dependent service, you can use a firewall redirect
rule: redirect different clients to smtpd instances that listen on
different TCP ports.


Reply via email to