Yahoo Groups archive

Milter-greylist

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

Message

Re: Install trouble - milter-greylist.sock missing

2007-03-18 by gsxatvcu

I had the same problem, followed this touching advice thinking it
shouldn't work, and when restarting sendmail there was no error
message about the missing pipe but greylisting still didn't work.

My installation was from rpm, by the way, configure & make didn't work
with my Fedora Core 5 as it's rigged.  The rpm was at

http://rpmfind.net/linux/rpm2html/search.php?query=milter-greylist

This page had what was needed to configure milter-greylist, almost:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch21_:_Configuring_Linux_Mail_Servers

I inserted the statements in step 1 of the milter setup into my
sendmail.mc file, with no dnls which confounded me but appeared to
work fine, gave no errors at the

make -C /etc/mail

Doing /etc/rc.d/init.d/milter-greylist start 

followed by sendmail restart got me no joy, since sendmail complained
about the missing socket as it restarted.  

Making the directory at /var/milter-greylist and touch-ing
milter-greylist.sock got rid of the error message but greylisting
didn't work.  (I haven't found where milter-greylist logs this stuff yet?)

Looking further and comparing the contents of /etc/mail/greylist.conf
with the statements in step 1 I saw the problem, where the socket file
is set to

/var/run/milter-greylist/milter-greylist.sock

but in the README and the above wiki page the location was

/var/milter-greylist/milter-greylist.sock

Adding the /run/ to sendmail.mc, doing the make -C again, and
restarting sendmail got my greylisting working and we're on to see
what happens next.  This machine, mostly a honey pot, gets about 200
spams a day, mostly phishing with viagra & giving stock tips, and it
seemed to be a good place to try this milter.

I hope this helps somebody?

--- In milter-greylist@yahoogroups.com, vn <nostalgeek@...> wrote:
>
> Yep, that's why I created it...  in /var/milter-greylist/milter-
> greylist.sock by doing this :
> 
> touch /var/milter-greylist/milter-greylist.sock
> 
> what about a updatedb && locate milter-greylist.sock ?
> 
> Regards
> 
> On 2/12/07, Arjun Datta <arjun@...> wrote:
> >
> >    See, that's the thing I cannot find milter-greylist.sock anywhere.
> >
> > I looked in /var/milter-greylist - not there
> > I looked in /var/run -              - not there
> >
> > I searched: find / -name 'greylist*' etc etc
> >
> > and none of the entries had the sock file.  It seems the sock file is
> > missing altogether.
> >
> > Regards,
> >
> > Arjun Datta
> > Great Gulf Homes / Ashton Woods Homes
> > 416 441 1262 x2822
> >
> > -----Original Message-----
> > *From:* milter-greylist@yahoogroups.com [mailto:milter-
> > greylist@yahoogroups.com]*On Behalf Of *vn
> > *Sent:* Monday, February 12, 2007 3:51 PM
> > *To:* milter-greylist@yahoogroups.com
> > *Subject:* Re: [milter-greylist] Re: Install trouble
> >
> >  I remember having this problem.. I think I solved it by touch
> > milter-greylist.sock.  Any luck for you?
> >
> > Regards
> >
> > Vincent
> >
> > On 2/12/07, arjun_datta <arjun@...> wrote:
> > >
> > >   --- In
milter-greylist@yahoogroups.com<milter-greylist%40yahoogroups.com>,
> > > vn <nostalgeek@> wrote:
> > > >
> > > > What about ps aux | grep milter-greylist ?
> > > >
> > >
> > > [root@mail init.d]# ps auwx | grep milter-greylist
> > > root 19412 0.0 0.0 3912 672 pts/8 R+ 15:44 0:00 grep
> > > milter-greylist
> > >
> > > Doesn't seem to be running either. My guess is that since the .sock
> > > file is missing, the service does not start. How do I resolve this ?
> > >
> > > Regards,
> > > Arjun
> > >
> > >
> >   
> >
>

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.