Can't use with OpenDKIM with LFD
Posted: 13 Oct 2015, 15:16
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:
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?
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
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?