Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

mkstemp greylist.db permission, greylist dies

2006-10-12 by Jeff A. Earickson

Hi,

I am new to milter-greylist, attempting to deploy it,
and it dies with:

milter-greylist: [ID 653641 mail.error] mkstemp("/var/milter-greylist/greylist.db-XXiTa40g") failed: Permission denied

after about five minutes of running successfully.

My setup: Solaris 10, sendmail 8.13.8, Berkeley DB 4.4, milter-greylist
3.0rc4 compiled with gcc 4.1.0, no SPF, drac, or other add-ons.
I configure like so:

./configure --prefix=/opt/milter-greylist --with-db=/opt/BerkeleyDB \
--mandir=/usr/local/man --with-user=smmsp

Here is what the /var/milter-greylist directory looks like:

% ls -ld /var/milter-greylist
drwxr-xr-x   2 nobody   smmsp        512 Oct 12 13:27 /var/milter-greylist
% ls -laR /var/milter-greylist
/var/milter-greylist:
total 4
drwxr-xr-x   2 nobody   smmsp        512 Oct 12 13:27 .
drwxr-xr-x  33 root     sys          512 Oct 11 15:29 ..
-rw-rw-r--   1 smmsp    smmsp          0 Oct 12 13:25 greylist.db
srwxr-xr-x   1 smmsp    smmsp          0 Oct 12 13:27 milter-greylist.sock

I originally created /var/milter-greylist as owner "smmsp" but 
it seems to have changed it to "nobody" at the time of the mkstemp.
What should the owner and permissions of /var/milter-greylist be?
What am I doing wrong?

Jeff Earickson
Colby College

:

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.