Subject: Re: more milter-greylist errors and problems
To: None <rmk@rmkhome.com>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 10/29/2006 14:03:21
On Sat, Oct 28, 2006 at 09:16:15PM -0600, Rick Kelly wrote:
> toad# /etc/rc.d/sendmail start
> /etc/rc.d/sendmail: WARNING: /usr/libexec/sendmail/sendmail has wrong owner/mode
> /etc/rc.d/sendmail: WARNING: sendmail is suid root, but submit.cf exists
> Starting sendmail.

Use "rm /etc/mail/submit.cf" to fix this.

> WARNING: Xgreylist: local socket name /var/milter-greylist/milter-greylist.sock missing
> 
> toad# ls -l /usr/libexec/sendmail/sendmail
> -r-xr-sr-x  1 root  smmsp  632459 Oct 28 21:05 /usr/libexec/sendmail/sendmail

That should be:

-r-sr-xr-x  1 root  wheel  634515 Oct 28 17:46 /usr/libexec/sendmail/sendmail
   ^  ^             ^^^^^

> /etc/rc.conf:
> 
> sendmail=YES
>                         sendmail_flags="-Lsm-mta -bd -q30m"
> sendmail_suidroot=YES
> smmsp=NO                smmsp_flags="-Lsm-msp-queue -Ac -q30m"

That's correct. But you don't need "smmsp_flags".

> toad# ls -ld /var/milter-greylist
> drwxr-xr-x  2 smmsp  wheel  512 Oct 28 20:41 /var/milter-greylist

Same here:

tron@colwyn:~tron#ls -al /var/milter-greylist
total 626
drwxr-xr-x   2 smmsp  wheel     512 Oct 29 13:57 .
drwxr-xr-x  39 root   wheel    1024 Oct 28 17:11 ..
-rw-------   1 smmsp  wheel  629055 Oct 29 13:57 greylist.db
srwxr-xr-x   1 smmsp  wheel       0 Oct 28 23:17 milter-greylist.sock

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/