lists-yahoogroups@... <lists-yahoogroups@...> wrote: > urlcheck "myfilter" "http://domain/check.cgi?rcpt=%r" > # put invalid recps to an blacklist > acl blacklist urlcheck "myfilter" > # whitelist for valid recps > acl whitelist default > > And what should the check.cgi give back in case of invalid recipient? > > milterGreylistStatus: Ok > milterGreylistCode: 554 > milterGreylistECode: 5.7.1 > milterGreylistMsg: unknown user > > And what in case of an valid recipient: > > milterGreylistStatus: Ok > milterGreylistCode: 250 > milterGreylistECode: 2.1.5 > milterGreylistMsg: Recipient ok That seems good. Did you give it a try? The thing remain a rough hack, but if I remeber correctly, the result of the urlcheck clause override the action (balcklist or greylist), so it does not matter if this is acl whitelist or acl greylist. One day we will have to invent a better syntax. > And is caching for previously checked recipients possible (valid and > invalid) for about 1 hour? No, this is not possible with the current code. But your webservice can cache. -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz manu@...
Message
Re: [milter-greylist] use URL lookup as call forward/ahead
2011-08-08 by manu@netbsd.org
Attachments
- No local attachments were found for this message.