atom feed3 messages in org.freebsd.freebsd-questionsPerl error running lint on spamassass...
FromSent OnAttachments
DrewFeb 4, 2008 4:48 pm 
"Kyrre Nygård"Feb 5, 2008 11:29 am 
Olivier NicoleFeb 5, 2008 5:30 pm 
Subject:Perl error running lint on spamassassin? [NO MORE SPAMASSASSIN!!!]
From:"Kyrre Nygård" (kyrr@broadpark.no)
Date:Feb 5, 2008 11:29:06 am
List:org.freebsd.freebsd-questions

Hey Drew!

I learned long time ago to drop SpamAssassin altogether. I got hundreds of spam
e-mails a day with SpamAssassin.

But when I switched to a clean Postfix installation with Greylist (port 10023)
and 3 different blocklist servers, my spams reduced to 0 a day, or 1-3 at most.

$ cat /usr/local/etc/postfix/main.cf

# FreeBSD/i386 # nigga.someshit.com

mail_owner = postfix home_mailbox = .maildir/

mydomain = someshit.com myhostname = nigga.someshit.com mynetworks = 127.0.0.0/8

myorigin = $mydomain mydestination = $mydomain, localhost.$mydomain, $myhostname, someothershit.com

smtpd_recipient_restrictions = ?reject_rbl_client zen.spamhaus.org ?reject_rbl_client dnsbl.ahbl.org ?reject_rbl_client dnsbl.njabl.org ?permit_mynetworks ?reject_unauth_destination ?check_policy_service inet:127.0.0.1:10023

unknown_local_recipient_reject_code = 450

queue_directory = /var/spool/postfix command_directory = /usr/local/sbin daemon_directory = /usr/local/libexec/postfix sendmail_path = /usr/local/sbin/sendmail newaliases_path = /usr/local/bin/newaliases mailq_path = /usr/local/bin/mailq sample_directory = /usr/local/etc/postfix

Suggestions on improving this configuration file is always appreciated.

Have fun!

All the best, Kyrre

----- Original Message ----- From: Drew <coth@gmail.com> Date: Tuesday, February 5, 2008 8:49 am Subject: Perl error running lint on spamassassin? To: ques@freebsd.org

Hi, I know I've been noisy of late, but that should slow down if I ever get things working around here again. I've given up on my old server hardware,and put another machine in it's place. Unfortunately, everything but mail is working for me on this server. The problem seems to be with spamassassin.When I run spamassassin -D --lint from the command line, everything _seems_ to check out. However, when I run mailscanner --lint it segfaults:

root@colossus(/)# mailscanner --lint Checking version numbers... Version number in MailScanner.conf (4.64.3) is correct.

Your envelope_sender_header in spam.assassin.prefs.conf is correct.

Checking for SpamAssassin errors (if you use it)... SpamAssassin temp dir = /var/spool/MailScanner/incoming/SpamAssassin-Temp zsh: segmentation fault? mailscanner --lint

I wasn't real sure what was causing this, but running SA lint from mailwatch provides a clue, perhaps:

/libexec/ld-elf.so.1: /usr/local/bin/perl5.8.8: Undefined symbol "PL_exit_flags"

I've removed and reinstalled perl5.8 from ports, double checked everythingwith the perl-after-upgrade script, ensured that I've handled the use.perlports thing, etc. After all that failed to solve this, I rebuilt and reinstalled world. Still no joy. I like to try to solve stuff that looks easy like this on my own, but obviously at this point, I've overlooked something simple. Anyone care to pass me a clue-bat? Thanks in advance._______________________________________________ free@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- unsu@freebsd.org"