| View previous topic :: View next topic |
| Author |
Message |
slick Bodhisattva


Joined: 20 Apr 2003 Posts: 3440
|
Posted: Tue Apr 10, 2012 4:41 pm Post subject: policyd-spf does not work out of the box [solved] |
|
|
I merged policyd-spf and add them to postfix master.cf and main.cf
master.cf
| Quote: | | policy-spf unix - n n - - spawn user=nobody argv=/usr/bin/policyd-spf |
main.cf
| Quote: | ... check_policy_service unix:private/policy-spf, ...
|
After restarting postfix and receive a mail I get this:
| Quote: | Apr 10 18:33:18 [postfix/spawn] warning: command /usr/bin/policyd-spf exit status 1
Apr 10 18:33:18 [postfix/smtpd] warning: premature end-of-input on private/policy-spf while reading input attribute name
Apr 10 18:33:19 [postfix/spawn] warning: command /usr/bin/policyd-spf exit status 1
Apr 10 18:33:19 [postfix/smtpd] warning: premature end-of-input on private/policy-spf while reading input attribute name
Apr 10 18:33:19 [postfix/smtpd] warning: problem talking to server private/policy-spf: Connection reset by peer |
What's wrong?
Last edited by slick on Sat May 12, 2012 8:03 am; edited 1 time in total |
|
| Back to top |
|
 |
slick Bodhisattva


Joined: 20 Apr 2003 Posts: 3440
|
Posted: Fri May 11, 2012 4:19 pm Post subject: |
|
|
| *bump* |
|
| Back to top |
|
 |
broken_chaos Guru

Joined: 18 Jan 2006 Posts: 322 Location: Ontario, Canada
|
Posted: Fri May 11, 2012 7:35 pm Post subject: |
|
|
Have you configured it in /etc/python-policyd-spf/policyd-sfp.conf? You're missing specifying that configuration file in your master.cf, too:
| Code: | policyspf - n n - - spawn
user=nobody argv=/usr/bin/policyd-spf /etc/python-policyd-spf/policyd-spf.conf |
|
|
| Back to top |
|
 |
slick Bodhisattva


Joined: 20 Apr 2003 Posts: 3440
|
Posted: Sat May 12, 2012 8:03 am Post subject: |
|
|
| Quote: | | Have you configured it in /etc/python-policyd-spf/policyd-sfp.conf? |
No, I take the default config file.
| Quote: | | You're missing specifying that configuration file in your master.cf, too: |
That's the point. I add it and now it works as expected (with the defaults config file).
Solved for me. |
|
| Back to top |
|
 |
|