On Fri, Dec 08, 2006 at 11:16:42AM +0100, Oliver Fromme wrote:
> Maybe when I have some time I'll try writing a milter for
> that purpose myself.
You can also hijack milter-greylist for doing it, with the new
URL check feature: you'd need this config in milter-greylist on backup MX:
urlcheck "usrok" "http://mx1.example.net/usrok.cgi?rcpt=%r" 10
acl whitelist rcpt /@example\.net$/ urlcheck "usrok"
acl blacklist rcpt /@example\.net$/ msg "invalid user"
Then in http://mx1.example.net/usrok.cgi, implement the following logic:
if (valid($rcpt))
printf("milterGreylistStatus: Ok\n");
else
printf("\n");
The code for that is in CVS and has not made it into a snapshot release.
syntax and interface is therefore subject to change.
--
Emmanuel Dreyfus
manu@...Message
Re: [milter-greylist] Backup MX: verifying addresses
2006-12-08 by Emmanuel Dreyfus