Please find attached anomy-sanitizer.tbz2. anomy-sanitizer is a perl based mail filtering tool. Let's cite their home page http://mailtools.anomy.net/ "# Disable potentially dangerous HTML code, such as javascript, within incoming email. # Protect you from email-based break-in attempts which exploit bugs in common email programs (Outlook, Eudora, Pine, ...). # Block or "mangle" attachments based on their file names. This way if you don't need to recieve e.g. visual basic scripts, then you don't have to worry about the security risk they imply (the ILOVEYOU virus was a visual basic program). This lets you protect yourself and your users from whole classes of attacks, instead of blocking individual exploits." I suggest dev-perl/anomy-sanitizer. Cheers, Thiemo
Created attachment 12615 [details] anomy-sanitizer.tbz2 ebuild package
If it's a mail tool, wouldn't net-mail make more sense?
In deed, net-mail would be more appropriate. I suggested dev-perl because SpamAssassin is there, but net-mail is fine by me. Cheers, Thiemo
good ebuild... just some suggestions: i suggest replacing anomy-sanitizer-x.yz.tar.gz in SRC_URI with: ${PN}-${PV}.tar.gz also, please note that the anomy sanitizer also works with perl 5.6.1 so I find requiring perl 5.8 is a bit too much... (please note that there still are a lot of gentoo 1.2 installs out where on which perl-5.8.0 is still masked...) just my 2 eurocents
okay, i've just rewritten Thiemo's ebuild to improve it and to remove hardwired directories... hope you'll find it useful. attaching it - tested with: perl 5.6.x and 5.8.x (gentoo 1.2 and 1.4rc4), portage 2.0.47-r10 and 2.0.48 bye, Alessandro
Created attachment 12916 [details] new version of Thiemo's original ebuild improved ebuild (hopefully ;)
Maybe I ought add some information. The dependencies are such because it is that what I have installed and therewith tested. I read on sanitizer homepage that it should work with perl 5.6. However, as I only have installed 5.8 and don't have the time to test 5.6.whatsoever (at least it's my production environment where I have installed it), I felt better to put 5.8. Is this good practize? Cheers Thiemo
1.67 added to portage this morning.