Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-05-2012, 09:26 AM   #1
Registered: Sep 2001
Location: New Jersey
Distribution: Red Hat, SuSE, CentOS and Ubuntu
Posts: 50

Rep: Reputation: 16
SpamAssassin with XamimeLT tuning

I have a Red Hat 9 server I'm locked into due to content management application version and web sites using it.

In February Spamassassin started flagging most messages as [spam], changing HTML formatted messages to text and blocking messages with attached WAV files. Sendmail started rejecting incoming messages for domain names it had been accepting for years with "relaying denied". Nothing had changed on sendmail or spamassassin since June of 2011. Sendmail had been configured to accept e-mail for domains via the /etc/mail/access.db with OK. I changed the access source to say RELAY which solved that problem and updated Spamassassin to version 3.3.2 running on Perl version 5.8.0. The flagging of most messages as [spam] and changing of HTML encoded messages to test stopped but it is still blocking incoming messages that have a WAV attached. I looked at the (see below) but the test for wav is commented out.

I have my phone going to voice mail which is then e-mailed to me. The e-mail comes through as blocked with the WAV stripped out.

Does anyone know where else I can look in Spamassassin / XamimeLT to adjust what is blocked? I googled this, the only results pointed to a graphical interface to Xamime via web browser localhost:6886 but I don't have anything running on that port. Docs are from 2004.

# 1.0.3 - changed -iname to $find_flags, this is to increase
# portability between OS's, as some find implemtations only take
# -name rather than -iname (ie, FreeBSD)
# Some quick REGEX teaching here.
# Full stops in regex must be escaped, so, . == \.
# Single character matching is done using a . (equivilant to a
# '?' in DOS
# To match the string to the END, use a $ at the end
# To match the string to the START, use a ^ at the beginning

# Deny executable filenames
cat $filelist | ${grep} -Ei "\.(vbs|exe|com|scr|bat|pif|cpl)$" >> ${namebadfileslog}

NB=`cat ${namebadfileslog} | $uriencode`
echo "NAMEBLOCKS=$NB" >> $reportvars

# Deny media filenames
# cat $filelist | ${grep} -Ei "\.(mp3|ogg|wav|mpeg|mpg|avi|mov)$" >> ${namebadfileslog}



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
spamassassin sa-update does not update the rules in /usr/share/spamassassin Ladowny Linux - Server 3 05-14-2010 04:10 PM
Tuning Squid methanigai Linux - Server 1 06-13-2009 04:22 AM
ATI-tuning theonebeyond Linux - Hardware 3 10-07-2004 06:18 AM
Tuning Linux... hkxx9 Linux - Newbie 5 09-16-2004 08:30 AM
spamassassin w/ procmail vs. spamassassin w/sendmail bleunuit Linux - Networking 1 08-01-2004 08:12 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration