Date: Fri, 7 Aug 2009 17:13:33 -0500 From: Jeffrey Goldberg <jeffrey@goldmark.org> To: Olivier Nicole <on@cs.ait.ac.th> Cc: freebsd-questions@freebsd.org Subject: Re: Cleaning email Message-ID: <CE142B8E-E90F-4ED0-B989-D6F18E15244A@goldmark.org> In-Reply-To: <200908071142.n77BgWKF034276@banyan.cs.ait.ac.th> References: <200908071142.n77BgWKF034276@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 7, 2009, at 6:42 AM, Olivier Nicole wrote: > reading around the FAQ for FreeBSD mailing list, I see that the > mailing list server does some message cleaning (converting HTML to > text, etc). > I don't want just any solution, that works more or less, but the very > well tested solution used by FreeBSD mailing lists. On the mailing list this is done by the mailing list system, mailman, which is in ports/mail/mailman. But the cleaning stuff is just part of a much larger system (mailing list management), so I don't think you can get it to do what you want. There is a milter, ports/mail/mime-defang which, while it can do many other things (that you don't need to enable, also does this. I haven't used it in more than 5 years, so I can't speak for how well it works. But I did set it up for an organization that had lots of Outhouse users on desktops that were vulnerable to malicious HTML. mimedefang is also useful for blocking certain types of attachments as well. There may be better, special purpose tools that do what you want. You could also look at the mailman source (python) to see how it does its cleaning. -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE142B8E-E90F-4ED0-B989-D6F18E15244A>