Nigel,

> > I still can't get the senders deferred with the customized message:
> >
> > Mar 18 11:55:23 av10 postfix/smtpd[7904]: NOQUEUE: reject: RCPT from
> > ns1.sama.jo[81.28.112.1]: 450 4.3.2 <[email protected]>: Recipient
> > address rejected: Try again later; from=<[email protected]>
> > to=<[email protected]> proto=SMTP helo=<sama.jo>
> >
> > :-(
> >
> > Even if I added the line:
> >
> > $server->log(LOG_ERR,"[PROTOCOL/Postfix] Response:
> >     $response, Data: $response_data");
> >
> > after line 158 of Postfix.pm
> 
> Any news?
> 

Maybe I ve found something of interesting for you.. In my Postfix
maillog I see many log such this:

Mar 20 10:19:52 av10 postfix/smtpd[10108]: warning: restriction
`Superato' after `defer' is ignored

Please note that I have filled "Data" field with "Superato il numero
massimo di messaggi".

Indeed, from the code I've noticed near line 158 of Postfix.pm:
.
.
.
        } elsif ($resp == PROTO_DEFER) {
                if ($data =~ /^(4[0-9]{2}) (.*)/) {
                        $response = $1;
                        $response_data = $2;
                } else {
                        $response = "DEFER";
                        $response_data = $data;
                }
                return CBP_STOP;
.
.
.

I see that you specify what I set in "Data" field (At least when the
content of "Data" filed doesn't match the "/^(4[0-9]{2}) (.*)/" regular
expreession), after "DEFER" action. But this seems that doesn't work (At
least with postfix).

I have workarounded the problem changing the content of "Data" filed
from the onne above to "450 <message>".

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

Reply via email to