> I have bound a quota to a policy from "!@" to any. Basically, each
> sender cannot send (forward) more than "n" (integer) messages per
> interval of time.
>
> Moreover, I have specified "Defer" as verdict field value and a messages
> "Too many messages".
>
> It seems that quota works (other than the not completely clear aspects
> reported in my latest post of thread "Null senders & invalid senders"),
> but every time the quota is overcomed I get the following message in
> log:
>
> reject: RCPT from server[xxx.yyy.zzz.uuu]: 450 4.3.2 <roc...@rcpt>:
> Recipient address rejected: Try again later; from=<roc...@snd>
> to=<roc...@rcpt> proto=ESMTP helo=<server>
>
> While I aspected the SENDER would be DEFERRED with the message "TOO MANY
> MESSAGES".
>
> SENDER --> Surely, for getting "Sender addres rejected" I have to put
> policy server inside "smtpd_sender_restrictions" in main.cf. But is this
> setting safe?
>
> DEFERRED --> The message is in fact deferred (SMTP code 450).
>
> "TOO MANY MESSAGES" --> Is it a bug? Could I customize the messages "Try
> again later".
>   
Try add this after line 158 in policies.pm ...
                $server->log(LOG_ERR,"[PROTOCOL/Postfix] Response:
$response, Data: $response_data");

Please paste the results in your logs.

Regards
Nigel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to