Alessandro Vesely: > Hi, > I found some interesting filtering recipes maintained in Postfix > format, such as http://www.hardwarefreak.com/fqrdns.pcre.txt > > Since I'm not running Postfix, I think I need to roll my own filter in > order to run those recipes. At a first glance, smtpd_check.c and > dict_pcre.c look like good starting points. However, it is not clear > to me how/if modifications are allowed:
First, if you don't distribute the code then a lot of the legalese does not apply. Second, I am not a legal expert, but by my reading the IPL (IBM public license) permits making changes and distributing the resulting program as long as one complies with the IPL. I will not comment on combining code with IPL and other licenses. Ask a legal expert. Besides USING Postfix source code, there are other options: - Write a tool that TRANSFORMS fqrdns.pcre.txt so that it can be used by a different mail system. That would immediately make fqrdns.pcre.txt useful for a lot more people. - RE-IMPLEMENT the Postfix functionality. Unlike some projects Postfix has documentation that independently says how the software must behave. If the software contradicts the documentation, the code is fixed to comply. Wietse