The best option is to read the license and/or contact the Squirrelmail folks. My understanding of the GPL is that everything is fair game as long as the same license applies. Squirrelmail's license appears to be vanilla GPL v2, so as long as your module has that license, you should be fine. The only thorn appears to be this condition for redistribution of modified copies (Section 2): a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. But since you're lifting code, not modifying existing files, I'm not sure what this means. Also, I am definitely not a lawyer. I may have no idea what I'm talking about. Evan On 5/22/05, Mark Leicester <mark.leicester@efurbishment.com> wrote:
Hello all ,
I'm making improvements to the mailhandler (and fixing the drupal_special_chars problem by replacing with check_plain). SquirrelMail already implements a very thorough URL parser, attachment handler, and mail re-wrapper. SquirrelMail is GNU GPL, so I'm wondering if I can re-use that code rather than reinvent. What are the licence implications? Do we simply need to credit the SquirrelMail project and redistribute the licence intact?
Regards, Mark