Can't use with OpenDKIM with LFD

Post Reply
jmaurin
Junior Member
Posts: 2
Joined: 13 Oct 2015, 15:09

Can't use with OpenDKIM with LFD

Post by jmaurin »

Hi.

I have postfix+dovecot+openDKIM running fine in my CentOS (without ccpanel). All softwares are configured and running fine. OpenDKIM uses milter/filter in postfix and call an script (perl) using 'spawn' proccess to run this filter. Without LFD started, everything works fine. If I start LFD, this script stops working. I alread tried to add this script and 'spawn' executable to proccess ignore list, but still not working. This is the error message that I get after starting lfd:

Code: Select all

Oct 13 11:02:11 skynet postfix/spawn[28186]: warning: command /usr/local/lib/postfix-policyd-spf-perl exit status 13
Oct 13 11:02:11 skynet postfix/smtpd[27757]: warning: premature end-of-input on private/policy-spf while reading input attribute name
Oct 13 11:02:12 skynet postfix/spawn[28186]: warning: command /usr/local/lib/postfix-policyd-spf-perl exit status 13
Oct 13 11:02:12 skynet postfix/smtpd[27757]: warning: premature end-of-input on private/policy-spf while reading input attribute name
With this, e-mail is NOT delivered to mailbox. This is the script: /usr/local/lib/postfix-policyd-spf-perl
It's not permission or bug in script, since it's working perfectly without LFD started. Also, CSF is started and working fine. This filter uses port TCP 8891 and it's already enabled in CSF TCP and UDP. What could be? How can I debug this?
jmaurin
Junior Member
Posts: 2
Joined: 13 Oct 2015, 15:09

Re: Can't use with OpenDKIM with LFD

Post by jmaurin »

Trying to debug postfix, I found this new message:

Code: Select all

Oct 13 11:54:34 skynet postfix/smtpd[6082]: private/policy-spf: wanted attribute: action
Oct 13 11:54:34 skynet postfix/smtpd[6082]: input attribute name: no connection to syslog available
Oct 13 11:54:34 skynet postfix/smtpd[6082]: private/policy-spf: wanted attribute: action
Oct 13 11:54:34 skynet postfix/smtpd[6082]: input attribute name: ?- unix dgram connect: Permission denied at /usr/local/lib/postfix-policyd-spf-perl line 151
Looks like LFD is blocking local sockets. How to disable this?
Post Reply