On Wed, Sep 16, 2009 at 10:44 AM, Chris <[email protected]> wrote:
> I'm building an email server, and I want to use smtp-vilter to send my
> emails through spamassassin and clamav. I'm using obsd 4.5 and sendmail.
>
> I keep getting this in my logs:
> Milter (smtp-vilter): local socket name /var/smtp-vilter/smtp-vilter.sock
unsafe
> Milter (smtp-vilter): to error state
> Milter: initialization failed, temp failing commands
Those are from the sendmail process (sm-mta), right? (You left out
some of the useful bits in the log messages...)
If so, then the issue is that sendmail, before connecting to a milter
socket, examines the path up to the socket and---by default---will
complain and refuse to use that socket if any of the *directories* are
group or world writable. There may be other checks made; I haven't
checked the source. What are the mode, ownership, and group of the
directories
/
/var
/var/smtp-vilter
?
Philip Guenther