Lefteris Tsintjelis:
> Is it possible to add points to clients based on valid SPF (-/~all)
> and/or valid MX records? For example, give points to a client if
> it is a valid MX, and/or, give points again if listed in SPF with
> -all, give less points if valid client but SPF is ~all etc.

That is fundamentally not how postscreen works. postscreen whitelists
the client, not the combination (client + SMTP commands). Its purpose
is to block bad clients with zero overhead for whitelisted clients,
not doing things that require inspecting commands from all SMTP sessions.

I suggest that you do complex access policies with a policy plugin
or content filter. Any DNS lookups by postscreen will be cached in
your local resolver, so it is OK to make those queries a second time.

Besides, I would not allow postscreen to do DNS lookups other than
DNSBL/DNSWL servers. Looking up information from random DNS servers
would mak postscreen a performance bottleneck.

        Wietse

Reply via email to