Hi Emmanuel, On Mon, 8 Aug 2011 04:40:52 +0200, manu@... wrote: > lists-yahoogroups@... <lists-yahoogroups@...> wrote: > >> I'd like "reduce" milter-greylist to one function: do URL lookups >> (checking the recipient through a webservice) >> and reject (not greylist) emails with a "554 5.7.1" code if the answer of >> the lookup is not "milterGreylistStatus: Ok". It's a kind of call >> forward/ahead against an internel webbased service and not against a smtp >> server like "md_check_against_smtp_server" function in mimedefang. > > milter-greylist can do that, but what is your question? I'm not sure about the config, especially the ACL. Could you give me an example. My idea is something like this 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 And is caching for previously checked recipients possible (valid and invalid) for about 1 hour? Cheers Marcus
Message
Re: [milter-greylist] use URL lookup as call forward/ahead
2011-08-08 by lists-yahoogroups@localguru.de
Attachments
- No local attachments were found for this message.