Re: [exim] exim + postgrey on multiple incoming hosts

Top Page
Delete this message
Reply to this message
Author: Klemens Puritscher
Date:  
To: Peter Bowyer
CC: Exim users mailing list
Subject: Re: [exim] exim + postgrey on multiple incoming hosts
Peter Bowyer wrote:
> >
> > My problem is, that I have more than one incoming mx host.
> > So I want use the "--inet" option of postgrey.
>
> When Simon wrote his how-to, Exim's ${readsocket functionality only
> worked with unix-domain sockets. Recent versions now support
> internet-domain sockets as well - so you might be able to modify the
> ${readsocket call in the how-to in order to connect to a remote TCP
> socket.
>
> The 2 syntaxes for readsocket are
>
> ${readsocket{/socket/name}{request string}}
> ${readsocket{inet:some.host:1234}{request string}}
>
> You need to use the second one. The manual page for more info is
>
> http://www.exim.org/exim-html-4.66/doc/html/spec_html/ch11.html#
> SECTexpop
>
> Or contact Simon to see if he's updated his recipe....


Thank you very much for your reply!

> (Note that postgrey has some Exim-specific tweaks, which might not
> suit the inet socket solution)


Ok. I'm going to test it.

Klemens