On Wed, 2004-10-20 at 23:23, Kevin J. Cummings wrote: > > If you start the milter whilst sendmail is not running, are there > > definitely no log messages in /var/log/maillog? > > Not until an email comes in. service says that the PIDfile exists, but > no process is running. > > When an email comes in I see: > > Oct 17 09:37:47 kjc386 sendmail[2296]: i9HDblkJ002296: Milter > (spf-milter): error connecting to filter: Connection refused by > /var/spf-milter/spf-milter.sock > Oct 17 09:37:47 kjc386 sendmail[2296]: i9HDblkJ002296: Milter > (spf-milter): to error state > Oct 17 09:37:47 kjc386 sendmail[2296]: i9HDblkJ002296: Milter: > initialization failed, temp failing commands > > And the email is then bounced (temporarily) by sendmail. > > > Does the socket get created in /var/spf-milter? > > Not sure, I haven't looked whilest it was dead. It certainly exists > after I restart it. It shouldn't be there when the milter is dead, but it should be there when it's just started, before sendmail is started. Could be an "unsafe socket" problem; make sure that none of the directories / /var /var/spf-milter are world-writable. > At the time I downloaded it, I was just looking for an RPM of > spf-milter, and that's the one I found.... I was looking to upgrade to > a more up-to-date SPF implementation than I had been running. > > What is the name of Jef Poskanzer's milter, and where might I find it, > and is there an RPM for it? Jef's milter is called (surprise) spfmilter, and its home page is: http://www.acme.com/software/spfmilter/ I have RPMs for it at: http://www.city-fan.org/ftp/contrib/mail/ You'll also need libspf2, available at: http://www.city-fan.org/ftp/contrib/libraries/ There is also a libspf-based RPM of a slightly older version (0.92) of the milter, libspf-milter (requires libspf), also available at: http://www.city-fan.org/ftp/contrib/libraries/ Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>