Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Run MG on tcp socket

2009-05-14 by Emmanuel Dreyfus

On Thu, May 14, 2009 at 08:24:53AM -0000, Florin Grosu wrote:
> /usr/local/bin/milter-greylist -f /conf -p 12345
> This command doesn't do the work though.
> 
> Everywhere on the net I've seen only local setup for the greylist (same
> machine as mail server). Is it possible to have the mail and the
> greylist on different servers? If yes, where am I wrong?

Yes, it is possible. Milter-greylist hands the -p argument to 
libmilter's smfi_setconn(), which actually use it. It means that the
socket specification is the same for any milter. IIRC, you can use
a TCP socket by using -p 'inet:12345@192.0.2.1'

The @192.0.2.1 is the local address and is optionnal (default to 0.0.0.0).
You can have a IPv6 socket using inet6 instead of inet.

-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.