Jorge Bastos via Postfix-users:
> Hi Guys,
> 
> I'm having an issue with my:
> 
> check_policy_service unix:private/policy-dnswl
> 
> That has the information bellow, I've been looking at the docs for two 
> weeks and cant figure why action=DUNNO still gives me the server 
> configuration error.
> 
> Here's my script and smtpd_recipient_restriction,
> What am I doing wrong in the DUNNO part?
> Thanks in advanced,
> 
> https://pastebin.com/gMrRx9Ny
> 
> https://pastebin.com/xX1hj38H

First, 

    echo -e "action=DUNNO\n\n"

will send THREE newline characters, and will therefore break the
protocol.

DCemo (assuming Bash):

$ echo -e "action=DUNNO\n\n" | od -cb
0000000   a   c   t   i   o   n   =   D   U   N   N   O  \n  \n  \n
        141 143 164 151 157 156 075 104 125 116 116 117 012 012 012
0000017

Second, I would not process data from the network with a shell.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to