Andre Hübner | 1 Apr 13:26

missing subfolders in /tmp/.policyd-weight

Hi List,

i hope there is enough traffic here to get answers. ;)

Im updateing my postfix-configuration to the new policyd-weight Version: 
0.1.14 beta-17

Only difference to ./policyd-weight defaults is:

 $GROUP           = "nogroup";

policyd-weight.conf is in /etc/

 I do not start policyd-weight by ./policyd-weight start, i have this in my 
master.cf:

 policy-pdw    unix  -       n       n       -       -   spawn   user=polw
    argv=/usr/lib/postfix/policyd-weight

i cannot say the reason why this is made that way, this was made by other 
people

policyd-weight is running and gives a correct checkresult, but between the 
checks are also warnings in the log.

Apr  1 12:41:46 servername postfix/policyd-weight[8958]: warning: 
cache_query: $csock couln't be created: connect: No such file or directory, 
calling spawn_cache
()
Apr  1 12:41:46 servername postfix/policyd-weight[8981]: warning: cache: 
err: cache: chdir /tmp/.policyd-weight/: No such file or directory at 
/usr/lib/postfix/p
olicyd-weight line 2948, <STDIN> line 120.

I dont know what to do.

/tmp/.policyd-weight is existing. It is recursivly chowned to polw.nogroup 
and its chmod is 700

What could be wrong?

If i start policyd-weight with ./policyd-weight start and stopping it again 
after incoming mails no warnings are visible and /tmp/.policyd-weight has 
cores/master cores/cache

Is there a way to create this folders in correct way without starting it 
directly. I could do this in my postfix rpm or in postfix startscript, but i 
would prefer solution within the script itself. Or is it better to start it 
like author is recommend? What could be the reason to do start the 
policyd-weight from master.cf?

Thank you

Andre 

____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/


Gmane