Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist.sock not working or missing

2007-03-21 by Georg Horn

Am Mit den 21. M\ufffdrz 2007 um 15:39 Uhr schrieb Johan Boshoff:

> I have installed this plugin just as the instructions explains and
> rebuilt the sendmail.cf file so that all the extra input becomes
> available and then I started milter-greylist as explained and then I
> restarted sendmail.
> 
> Sendmail tells me that the socket specified is missing.  When I
> search for a milter-greylist.sock I can't find any.  How do I
> actually get this socket to appear so that sendmail can use this
> plugin?

Make sure that the directory where the socket shall live exists,
has the right permissions and is identical in greylist.conf and
sendmail.mc/cf. I have the following in my greylist.conf:

pidfile "/var/run/milter-greylist/milter-greylist.pid"
socket "/var/run/milter-greylist/milter-greylist.sock"
dumpfile "/var/run/milter-greylist/greylist.db"
user "smmsp"

And this one in sendmail.mc:

INPUT_MAIL_FILTER(`greymilter', `S=unix:/var/run/milter-greylist/milter-greylist.sock')

And ls -ld /var/run/milter-greylist gives me:

drwxr-xr-x 2 smmsp root 4096 Mar 21 16:51 /var/run/milter-greylist/

Bye,
Georg

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.