On Mon, 8 Aug 2011 05:31:02 +0200, manu@... wrote: > 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? No, not yet. I don't want to change to config of my milter-greylist on the live machine. I will setup a test version tomorrow. > 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. Do I need the last line "acl whitelist default" or just these two lines: urlcheck "myfilter" "http://domain/check.cgi?rcpt=%r" acl blacklist urlcheck "myfilter" > One day we will have to invent a better syntax. Okay, no problem. Even though it's a very nice feature. I'm using milter-greylist for two years now and I'm very happy with it. 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.