Re: more milter-greylist errors and problems

[email protected] (Eric Schnoebelen)
Newsgroups gmane.os.netbsd.devel.pkgsrc.user,gmane.os.netbsd.general,gmane.os.netbsd.help
Message-ID <[email protected]>
Rick Kelly writes:
- 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.
- 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

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

	Ah, that doesn't match..

	In rc.conf, you say that sendmail is going to be
setuid(root), yet its not.  It's setgid(smmsp).

	So, that needs to be corrected, in one fashion or
another..

	What version of NetBSD are you running? (obviously <
4.0)

	As I recall, ever since about 2.0,
sendmail_setuidroot=NO + smmsp=YES has been the default.. (and
what I've used.

	Are you making sure that milter-greylist is running
before attempting to start sendmail? (not that it should matter,
sendmail will recover after milter-greylist starts up.)

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

egsner-> ls -l /var/milter-greylist
drwxr-xr-x  2 smmsp  wheel  1024 Oct 28 23:22 /var/milter-greylist

	I'm curious, which MTA do you normally run?  postfix 2.3
now has milter support as well, if that might make your life
easier..

--
Eric Schnoebelen		[email protected]		http://www.cirr.com
  "Linux in some ways is the Jerry Springer of operating systems, ..."
		 Bruce Becker in comp.sys.sun.wanted
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.