Policyd-weight problem

  • Hello all i have a problem with policyd weight service.
    When I am trying to restart policyd-weight service then i have the following error.


    Restarting policyd-weight (incl. cache): fatal: master: init:: /var/run/policyd-weight is owned by UID 0, GID 500. Exiting! at /usr/sbin/policyd-weight line 842.
    policyd-weight.


    ....
    If I am trying to send an email from a gmail.com account then i have this in my mail.log. Btw. i cannot receive any emails but sending them is working:



    Jul 21 23:58:11 s1 postfix/smtpd[18101]: initializing the server-side TLS engine
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: connect from mail-bk0-f43.google.com[209.85.214.43]
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: setting up TLS connection from mail-bk0-f43.google.com[209.85.214.43]
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: mail-bk0-f43.google.com[209.85.214.43]: TLS cipher list "aNULL:-aNULL:ALL:+RC4:@STRENGTH"
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:before/accept initialization
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 read client hello A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write server hello A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write certificate A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write key exchange A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write server done A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 flush data
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 read client key exchange A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 read finished A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write session ticket A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write change cipher spec A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 write finished A
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: SSL_accept:SSLv3 flush data
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: Anonymous TLS connection established from mail-bk0-f43.google.com[209.85.214.43]: TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: warning: connect to 127.0.0.1:12525: Connection refused
    Jul 21 23:58:11 s1 postfix/smtpd[18101]: warning: problem talking to server 127.0.0.1:12525: Connection refused
    Jul 21 23:58:12 s1 postfix/smtpd[18101]: warning: connect to 127.0.0.1:12525: Connection refused
    Jul 21 23:58:12 s1 postfix/smtpd[18101]: warning: problem talking to server 127.0.0.1:12525: Connection refused
    Jul 21 23:58:12 s1 postfix/smtpd[18101]: NOQUEUE: reject: RCPT from mail-bk0-f43.google.com[209.85.214.43]: 451 4.3.5 Server configuration problem; from=<torres1****@gmail.com> to=<****ar.richard@**mail.eu> proto=ESMTP helo=<mail-bk0-f43.google.com>
    Jul 21 23:58:12 s1 postfix/smtpd[18101]: disconnect from mail-bk0-f43.google.com[209.85.214.43]

  • try remove /var/run/policyd-weight if it exists

  • Hello thanks for this i have removed the /var/run/policyd-weight/ folder and started the policyd-weight and now it is working! Thanks