Re: Sendmail milter SPF (was: run levels (priority) and chkconfig --add)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Do, den 21.10.2004 schrieb Paul Howarth um 0:34:

> > 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.

But if the socket is missing when Sendmail comes up there will be an
error warning in the maillog produced by Sendmail.

> Could be an "unsafe socket" problem; make sure that none of the
> directories / /var /var/spf-milter are world-writable.

Then too Sendmail would complain in the maillog.

It could be a problem that an old socket file resides and the SPF milter
server startup does not fully create a new socket file. You could
prevent this situation by writing in the start() function of the SPF
milter init script a line

rm -f /var/spf-milter/spf-milter.sock

right before the daemon line with which the milter is started.

(Wouldn't be a more common location for the socket - and other milter
files - /var/lib/spf-milter/ or /var/spool/spf-milter/?)

> Paul.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.8-1.521smp 
Serendipity 00:40:45 up 21:20, 16 users, 0.02, 0.05, 0.13 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux