Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: Direct Admin Spam Assassin problem  (Read 2416 times)
« on: November 01, 2008, 01:52:39 AM »
scott Offline
Newbie

View Profile
*

iTrader: 0
Posts: 33



Hi,

I have enabled Spam Assassin in my DirectAdmin panel and I have set the score for SpamAssassin to 5.0. But I am still receiving the spam mails. I have also tried to allow spam mail and flagged as ***SPAM**** but still there is no mail containing ****SPAM***** in my inbox. It seems that SpamAssassin is not working properly on my server.

Fyi, This is a dedicated server that I own.

Does anyone face the same issue?

Thanks,

Scott

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
Logged
« Reply #1 on: November 01, 2008, 12:23:56 PM »
Kevin Offline
Newbie

View Profile
*

iTrader: 2
Posts: 72



I think the below steps will help you to fix the problem:

1) Install spamd and spamc:

Code:
cd /usr/local/directadmin/scripts
./spam.sh

2) Start the spamd:

Code:
/usr/bin/spamd -d -c -m 15

3) In order to get exim to use the spamd program, you'll need to make some changes in your /etc/exim.conf. Change:

Code:
# Spam Assassin
#spamcheck_director:
#  driver = accept
#  condition = "${if and { \
#      {!def:h_X-Spam-Flag:} \
#      {!eq {$received_protocol}{spam-scanned}} \
#      {!eq {$received_protocol}{local}} \
#      {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
#      {<{$message_size}{100k}} \
#    } {1}{0}}"
#  retry_use_local_part
#  transport = spamcheck
#  no_verify
to

# Spam Assassin
spamcheck_director:
  driver = accept
  condition = "${if and { \
      {!def:h_X-Spam-Flag:} \
      {!eq {$received_protocol}{spam-scanned}} \
      {!eq {$received_protocol}{local}} \
      {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
      {<{$message_size}{100k}} \
    } {1}{0}}"
  retry_use_local_part
  transport = spamcheck
  no_verify

4) Restart exim:
Redhat:

Code:
/sbin/service exim restart

FreeBSD:
Code:
/usr/local/etc/rc.d/exim restart

The global spamassassin config file is in /etc/mail/spamassassin/local.cf

You'll want to make sure that you have the correct call to spamc in the spamcheck transport in your exim.conf:

Code:
transport_filter = /usr/bin/spamc -u ${lookup{$domain}lsearch*{/etc/virtual/domainowners}{$value}}

If you run debian and are missing perl or some pm files, type:

Code:
apt-get install perl-base perl-modules

Source: http://help.directadmin.com/item.php?id=36

Kevin
Logged
Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2012 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Google - Sitemap - XML Sitemap