Spam troubles

cachorroyayo

Verified User
Joined
Apr 17, 2008
Messages
21
Location
Lima, Peru
Hi Forum
A few days ago one of my customers is complaining that all your recieved mails are delivered to INBOX.spam folder.

When I can see the header apperars something related to y2k10 bug.
Y do the suggested changes from :

Date =~ /20[1-9][0-9]/
to
header FH_DATE_PAST_20XX Date =~ /20[2-9][0-9]/ [if-unset: 2006]^M
describe FH_DATE_PAST_20XX The date is grossly in the future.^M

I do restart exim in FreeBSD.
but the problems continues.

After I tried to run sa-update


But I should to install two cpan modules.

# cpan -i LWP::UserAgent
and
# perl -MCPAN -e 'install Archive::Tar'
as the forum says
and finaly when I run
/usr/bin/sa-update -D
[57535] dbg: logger: adding facilities: all
[57535] dbg: logger: logging level is DBG
[57535] dbg: generic: SpamAssassin version 3.2.5
[57535] dbg: config: score set 0 chosen.
[57535] dbg: dns: no ipv6
[57535] dbg: dns: is Net::DNS::Resolver available? yes
[57535] dbg: dns: Net::DNS version: 0.60
[57535] dbg: generic: sa-update version svn607589
[57535] dbg: generic: using update directory: /var/lib/spamassassin/3.002005
[57535] dbg: diag: perl platform: 5.008008 freebsd
[57535] dbg: diag: module installed: Digest::SHA1, version 2.11
[57535] dbg: diag: module installed: HTML::Parser, version 3.56
[57535] dbg: diag: module installed: Net::DNS, version 0.60
[57535] dbg: diag: module installed: MIME::Base64, version 3.07
[57535] dbg: diag: module installed: DB_File, version 1.815
[57535] dbg: diag: module installed: Net::SMTP, version 2.29
[57535] dbg: diag: module not installed: Mail::SPF ('require' failed)
[57535] dbg: diag: module installed: Mail::SPF::Query, version 1.998
[57535] dbg: diag: module not installed: IP::Country::Fast ('require' failed)
[57535] dbg: diag: module not installed: Razor2::Client::Agent ('require' failed)
[57535] dbg: diag: module not installed: Net::Ident ('require' failed)
[57535] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
[57535] dbg: diag: module installed: IO::Socket::SSL, version 1.06
[57535] dbg: diag: module installed: Compress::Zlib, version 2.027
[57535] dbg: diag: module installed: Time::HiRes, version 1.86
[57535] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[57535] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[57535] dbg: diag: module not installed: DBI ('require' failed)
[57535] dbg: diag: module installed: Getopt::Long, version 2.35
[57535] dbg: diag: module installed: LWP::UserAgent, version 5.835
[57535] dbg: diag: module installed: HTTP::Date, version 5.831
[57535] dbg: diag: module installed: Archive::Tar, version 1.60
[57535] dbg: diag: module installed: IO::Zlib, version 1.10
[57535] dbg: diag: module not installed: Encode::Detect ('require' failed)
[57535] dbg: gpg: Searching for 'gpg'
[57535] dbg: util: current PATH is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
error: gpg required but not found!


What Should I do to fix my problem

Thank You Very much


Best Regards from Peru

Eduardo.
 
Try:

pkg_add -r gnupg1

It not might be a totally up to date version though.
 
Hello,

I was recently on this system to check out the issue, and the main issue was numerous missing perl modules that spamd 3.3.1 wanted. I ended up using cpan, as it resolves dependencies, and one line consisted of:
Code:
cpan
install Digest::SHA IP::Country::Fast Razor2::Client::Agent Net::Ident IO::Socket::INET6 Mail::DKIM DBI Encode::Detect Razor2::Client::Agent Net::Ident
However, since they're all dependencies of SpamAssassin, logically, we could use this instead, and save ourselves a lot of headache:
Code:
cpan
install  Mail::SpamAssassin
which resolved the sa-update error.
Note that resolving all of the dependencies and installing them too a solid hour of downloading, checking, "prepending to list", etc..

As for gpg, I had to manually hunt it down on the freebsd ports server. However, after installing it, it was broken with a bogus linked library. I resorted to installing it from source.. which again took another chunk of time. I wrote a guide for that process here:
http://help.directadmin.com/item.php?id=313

I was on this system for a little over 2 hours sorting things out, so I hope my findings cut that down for everyone else. (note: the bulk of the time was waiting for things to download and compile)

John
 
Back
Top