pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: more milter-greylist errors and problems



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                eric%cirr.com@localhost         
http://www.cirr.com
  "Linux in some ways is the Jerry Springer of operating systems, ..."
                 Bruce Becker in comp.sys.sun.wanted



Home | Main Index | Thread Index | Old Index