Re: Postfix policy servers

"Peter Bowyer" <[email protected]>
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <02f501c477c2$bcc0f6e0$0a46a8c0@pbdesktop>
Andreas Metzler <[email protected]> wrote:
> defer condition = ${if match \
>
{${readsocket{/path/to/socket}{request=smtpd_access_policy\nsender=$sender_a
ddress\nrecipient=$local_part@$domain\nclient_address=$sender_host_address\n
\n}}}\
> {DEFER_IF_PERMIT}{true}{false}}
>
> A exiscan wrapper could only simplify this marginally, unless it
> limited itself to a subset of the policy-daemon featureset. IMHO.

It's probably just a matter of perception, but I'd say the average user (and
we're not average users, remember) would understand (and be able to adjust)
more easily if the syntax looked something like this:

defer message = Try again later
  greylist = DEFER_IF_PERMIT

and have Exiscan worry about what parameters to pass over.

You'd need a config item which defined 'greylist' as a call to a Postfix
policy server on host:port or whatever.

NB: I know nothing about the internals of Exiscan (or Exim, for that
matter), so what I'm suggesting is quite likely very difficult to do..)

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.