From: Petter Gustad on

I keep getting the error:

sm-mta[8565]: o4GHJHuY008565: Milter (graymilter): local socket name /var/milter/graymilter/graymilter.sock unsafe
sm-mta[8565]: o4GHJHuY008565: Milter (graymilter): to error state

I started graymilter before sendmail and the file exists:

ps auxc|egrep sendmail\|graymilter
smmsp 8496 0.0 0.0 13892 916 ? Ssl 19:18 0:00 graymilter
root 8557 0.0 0.1 7096 1908 ? Ss 19:18 0:00 sendmail
smmsp 8560 0.0 0.1 7100 1292 ? Ss 19:18 0:00 sendmail

ls -l /var/milter/graymilter/graymilter.sock
firewall sendmail.git # ls -l /var/milter/graymilter/graymilter.sock
srwx------ 1 smmsp smmsp 0 May 16 19:18 /var/milter/graymilter/graymilter.sock

ls -ld /var/milter/graymilter/
drwx------ 2 smmsp smmsp 4096 May 16 19:18 /var/milter/graymilter/

I also tried starting graymilter as root but the result is the same. I
also tried with very slack permissions.

I've used the sendmail/graymilter combo earlier, but the machine
crashed and I'm migrating to a new machine with a more recent sendmail
(8.14.4).

BTW: What is the suggested grayfilter to use with sendmail? It
apppears that graymilter is not that common.

Thanks
Petter

--
..sig removed by request.
From: Petter Gustad on
Petter Gustad <newsmailcomp6(a)gustad.com> writes:

> BTW: What is the suggested grayfilter to use with sendmail? It
> apppears that graymilter is not that common.

It turned out that smf-grey worked better when installed using the
exact same permissions etc. as graymilter, so I'll just stick with
smf-grey.

Petter
--
..sig removed by request.