Re: sa-update / perl error again
>>> used 'it' for YEARS in production, (commercial product,) >>> several >>> platforms, i386, amd64, FreeBSD versions 6.4-7.4. >>> >>> ONE DAY, ONE BRAND NEW CLIENT was having real problems with their >>> mailq. email was backing up. >>> Two days to figure it out, I deleted the INET6 module (on freebsd, its a >>> lot easier, I suppose than on your linux thing). >>> >>> Now, all the email flowed perfectly. SA was trying to do ipv6 >>> lookups, the >>> >>> kernel did NOT have ipv6 compiled in.. NONE OF OUR PRODUCTION SYSTEMS >>> DO, and there is no logical explanation for it. >>> >>> SA does NOT need INET6, unless you have two things: >>> #0, INET6 compiled into your kernel >>> #1, INET6 dns server as the first server in /etc/resolv.conf >>> #2, INET6 firewall, routing, mx records, etc. >> >> Strong argument for removing it I guess, I think with: >> >> rpm -e --nodeps perl-IO-Socket-INET6 > > By the way, is there a way to grep for the errant code? My > feeble attempt didn't turn up much: > > cd /usr/lib/perl5 > grep -rin 'af_inet6' * > > Only gave 40 lines, which I could post if it would help. > This only gave one result: > > grep -rin 'sub af_inet6' * > > 5.8.8/i386-linux-thread-multi/bits/socket.ph:66: eval 'sub AF_INET6 () { > &PF_INET6;}' unless defined(&AF_INET6); > > Is it pointless to try to diagnose in this manner? After some help on the CentOS list, I may have found the problem: > perl-NetAddr-IP-4.044-1.el5.rf <=== I think that is the problem package > > I don't know if that version is required by the repoforge packages ... but > base contains perl-NetAddr-IP-4.027-5.el5_6 > > I would see if I could replace perl-NetAddr-IP-4.044-1.el5.rf from repoforge > with perl-NetAddr-IP-4.027-5.el5_6 from base. rpm -e --nodeps perl-NetAddr-IP vi /etc/yum.repos.d/rpmforge.repo -- change all enabled = 1 to enabled = 0 temporarily (seems like yum priorities is going to be a good idea) -- yum install perl-NetAddr-IP /etc/init.d/spamassassin condrestart Stopping spamd: [ OK ] Starting spamd: [ OK ] That seems to have done it. Does that make sense? Should I report this to the RepoForge people?
Re: sa-update / perl error again
rpm -e --nodeps perl-IO-Socket-INET6 >>> By the way, is there a way to grep for the errant code? My >>> feeble attempt didn't turn up much: >>> >> as in one of my previous emails: >> >> 'locate IO-Socket-INET6' Sorry I missed that! This gives only docs: /usr/share/doc/perl-IO-Socket-INET6-2.51 /usr/share/doc/perl-IO-Socket-INET6-2.51/README > locate INET6 /usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm /usr/share/doc/perl-IO-Socket-INET6-2.51 /usr/share/doc/perl-IO-Socket-INET6-2.51/README /usr/share/man/man3/IO::Socket::INET6.3pm.gz Using the find command from below (for fedora since this is CentOS) I get /usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm This locates that package, but correct me if I'm wrong, I don't think it finds the OTHER package that is creating the duplicate subroutine definition for AF_INET6. > and/or: > > (here was previous email) > > or, you could just delete (manually) IO-Socket-INET6 (make a backup first!) > on freebsd (with perl 5.10.1): > > /usr/local/lib/perl5/5.10.1/man/man3/IO::Socket::INET6.3.gz > /usr/local/lib/perl5/site_perl/5.10.1/IO/Socket/INET6.pm > /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/IO/Socket/INET6 > /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/IO/Socket/INET6/.packlist > > on fedora, try: > > find /usr/lib/ -name 'INET6*' > (back them up) you should see them as above. but, yum won't know they are > gone. > might be in /usr/lib/perl5/{version} > and /usr/lib/perl5{version}|vendor} > > ask on linux users group how to get yum to rm a dependency without the > package. > > on freebsd, it would be something like 'pkg_delete -f > p5-IO-SOCKET-INET6' (the -f to force it to be removed) > and, pkgdb -F (to FIX the package database and remove the dependency link)
Re: sa-update channel list
On 1/9/12 1:33 PM, Juergen Edner wrote: Hello, I'm using SpamAssassin for years now to get rid of spam. Now I wonder which sa-update channels you're using by default to improve your scan results. Are you sticking to the default 'updates.spamassassin.org' Commercial product, maintainer of the FreeBSD version of sa, and running one of the mirrors: We use stock sa-update channel, and (local) custom rules, lots of meta rules. #1 priority: keep your version of sa updated, because new(er) rules and tests are only added, or are added first to current/stable version. -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator __ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ __
sa-update channel list
Hello, I'm using SpamAssassin for years now to get rid of spam. Now I wonder which sa-update channels you're using by default to improve your scan results. Are you sticking to the default 'updates.spamassassin.org' channel only or would you recommend to use other channels too. Unfortunately the SARE and OpenProtect rule sets are not updated any more. Thanks Juergen -- Mail: juer...@eisfair.org
Re: sa-update / perl error again
On 1/9/12 6:25 AM, Michael Scheidell wrote: On 1/8/12 9:52 PM, email builder wrote: rpm -e --nodeps perl-IO-Socket-INET6 By the way, is there a way to grep for the errant code? My feeble attempt didn't turn up much: as in one of my previous emails: 'locate IO-Socket-INET6' locate INET6 and/or: (here was previous email) or, you could just delete (manually) IO-Socket-INET6 (make a backup first!) on freebsd (with perl 5.10.1): /usr/local/lib/perl5/5.10.1/man/man3/IO::Socket::INET6.3.gz /usr/local/lib/perl5/site_perl/5.10.1/IO/Socket/INET6.pm /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/IO/Socket/INET6 /usr/local/lib/perl5/site_perl/5.10.1/mach/auto/IO/Socket/INET6/.packlist on fedora, try: find /usr/lib/ -name 'INET6*' (back them up) you should see them as above. but, yum won't know they are gone. might be in /usr/lib/perl5/{version} and /usr/lib/perl5{version}|vendor} ask on linux users group how to get yum to rm a dependency without the package. on freebsd, it would be something like 'pkg_delete -f p5-IO-SOCKET-INET6' (the -f to force it to be removed) and, pkgdb -F (to FIX the package database and remove the dependency link) -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator __ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ __
Re: sa-update / perl error again
On 1/8/12 9:52 PM, email builder wrote: rpm -e --nodeps perl-IO-Socket-INET6 By the way, is there a way to grep for the errant code? My feeble attempt didn't turn up much: as in one of my previous emails: 'locate IO-Socket-INET6' -- Michael Scheidell, CTO o: 561-999-5000 d: 561-948-2259 >*| *SECNAP Network Security Corporation * Best Mobile Solutions Product of 2011 * Best Intrusion Prevention Product * Hot Company Finalist 2011 * Best Email Security Product * Certified SNORT Integrator __ This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.spammertrap.com/ __