|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Ed Sawicki (ed
alcpress.com)
Date: Mon Oct 01 2007 - 20:11:02 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 1, 2007, at 6:05 PM, Wietse Venema wrote:
> Ed Sawicki:
>> I've built a policy filter that works well most of
>> the time. Sometimes though, I see this appear in the
>> log:
>>
>> ... warning: missing attribute action in input from 127.0.0.1:2525
>>
>> and this is the result that Postfix sends to the sender:
>>
>> 451 4.3.5 Server configuration problem; ....
>>
>> I'm still troubleshooting this problem but perhaps
>> someone could give me some general pointers.
>
> The policy daemon needs to reply with an "action".
>
> Citing from: http://www.postfix.org/SMTPD_POLICY_README.html#protocol
>
> The policy server replies with any action that is allowed in
> a Postfix SMTPD access(5) table. Example:
>
> action=defer_if_permit Service temporarily unavailable
> [empty line]
>
> This causes the Postfix SMTP server to reject the request with
> a 450 temporary error code and with text "Service temporarily
> unavailable", if the Postfix SMTP server finds no reason to
> reject the request permanently.
Yes, I read that several times and I wrote my code accordingly.
I'm looking at the conversation between the Postfix client and
the policy server with tcpdump right now. I should be able to see
if there''s a missing action.
Thanks for the help.
Ed
>
> Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]