Pessoal preciso de ajuda.
estou com um numero razoavel de spam no meu servidor, não uso para revenda de hospedagem e sim para sistemas de meus clientes como lojas virtuais sites e sistemas em php e mysql.
Ja useu o antispam do rvkisns, o mails scam frontend da empresa que desenvolveu o configser firewal e nada.
ja configurei dcc+razors+pizor com clamav e antispam do cpanel também nada.
Existe alguma solução boa mesmo que vocês conhecem e podem recomendar?
O meu server não é opem relay.
Aguardo se puderem ajudar.
segue ultimo tutorial que fiz no servidor:
First steps
Well, let's go on!
To be nice we will download the packages in a brand new directory, let's call it "installation_dir" so that you will always be able to track down the installation process.
Log in to your machine and become root with su command.
Then type the following:
cd
mkdir installation_dir
cd installation_dir
MailScanner
Locate the MailScanner package, go to MailScanner site and grab the stable release.
wget http://%%%SOMEPATH%%%%%/MailScanner-4.56.8-1.rpm.tar.gzThen untar it and install the software with the install script provided with the package:
tar -xzvf MailScanner-4.53.8-1.rpm.tar.gz
cd MailScanner-4.53.8-1
./install.shEverything should be ok, let's make some changes to the init scripts:
cd /etc/init.d/
mv sendmail sendmail.orig
ln -s MailScanner sendmail
./sendmail.orig stop
./sendmail startIf you run
tail -f /var/log/maillogyou should see some mailscanner-related lines of logs
ClamAv
This is the antivirus part of the job. Locate the last package of clamav from the official site, then:
yum install gmp-develcd /root/installation_dir/
wget http://##SOMEPATH###....90RC1.1.tar.gz
tar -xzvf clamav-0.90RC1.1.tar.gz
cd clamav-0.90RC1.1
/usr/sbin/groupadd clamav
/usr/sbin/useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamav
./configure --disable-zlib-vcheck
make
make installTo test if everything is ok type
clamscan /root/installation_dir/You should see something like this:
/root/installation_dir/clamav-0.90RC1.1.tar.gz: ClamAV-Test-File FOUND
/root/installation_dir/MailScanner-4.56.8-1.rpm.tar.gz: OKNow we configure the signature download process:
pico /usr/local/etc/freshclam.confHere locate the UpdateLogFile directive and uncomment it out. It must look like:
UpdateLogFile /var/log/freshclam.logNow we create the freshclam.log file, setting the right permissions
touch /var/log/freshclam.log
chown clamav /var/log/freshclam.log
chmod 660 /var/log/freshclam.logBy now it is possible to run
freshclam
SpamAssassin
To install SpamAssassin there are two ways:
1) install it by compiling the tar.gz you can obtain on the official site
2) install it using CPAN
Actually we prefer the second way.. is very easy!
Let's log to CPAN by typing:
perl -MCPAN -e shellIf it's the first type you run CPAN the system will ask you a lot of informations... Follow the instructions on screen. When you get the CPAN prompt ( cpan> ) type:
install Digest::SHA1
install Net::DNS
install Mail::SPF::Query
install IP::Country
install Net::Ident
install IO::Socket::INET6
install IO::Socket::SSL
install Time::HiRes
install Archive::Tar
install IO::ZlibAnd finally....
install Mail::SpamAssassinquitThen restart sendmail:
/etc/init.d/sendmail restartVipul's Razor
Now that we have SpamAssassin installed, we can provide to it some additional software, suc as Vipul's Razor. Locate the two tars and download them into the installation dir:
cd /root/installation_dir/
wget http://##SOMEPATH###...dk-2.07.tar.bz2
wget http://##SOMEPATH###....82.tar.bz2Then uncompress and install:
tar -jxvf razor-agents-sdk-2.07.tar.bz2
tar -jxvf razor-agents-2.82.tar.bz2
cd razor-agents-sdk-2.07
perl Makefile.PL
make
make test
make install
cd ../razor-agents-2.82
perl Makefile.PL
make
make test
make installNow that Razor is installed we must run three utilities to make it working:
razor-admin -home=/etc/mail/spamassassin/.razor -create
razor-admin -home=/etc/mail/spamassassin/.razor -discover
razor-admin -home=/etc/mail/spamassassin/.razor -registerPyzor
To install Pyzor locate the tar with the latest version and download it:
cd /root/installation_dir/
wget http://##SOMEPATH###...4.0.tar.bz2then uncompress it and proceed to install:
tar -jxvf pyzor-0.4.0.tar.bz2
cd pyzor-0.4.0
python setup.py build
python setup.py install
python -c 'import gdbm' && echo 'gdbm found'run the next command to complete pyzor installation
pyzor --homedir /etc/mail/spamassassin discoverDCC
This is the last step, locate DCC and download it:
cd /root/installation_dir/
wget http://##SOMEPATH###...tar.Zuncompress it, compile and install it:
tar -xzvf dcc.tar.Z
cd dcc-1.3.42/
./configure
make
make installWe must now edit the following enabling DCC:
pico /etc/mail/spamassassin/v310.preLocate the line
#loadplugin Mail::SpamAssassin::Plugin::DCCand uncomment it
loadplugin Mail::SpamAssassin::Plugin::DCCSave the file and that's done
How to test the installation
To test SpamAssassin installation you can copy a complete message into a file on the server:
pico /etc/mail/spamassassin/testmsgHere place a whole message. Test the installation by typing the following:
spamassassin -t -D -p /etc/MailScanner/spam.assassin.prefs.conf < /etc/mail/spamassassin/testmsgLabs
CentOS + BlueQuartzInstalling Spamassassin ClamAv and Mailscanner on Bluequartz
SARE Rules & RulesDuJour
Installing MRTG
Mass Change IP
CCED problems
Deleting old logfiles
POP3 problems
Recalculate Quotas
How to block an IP address
NAMED and DNS
PHPEnabling safe mode per-directory
Howto install php4 & php5 on Apache2
LinuxAutomating Mysql backups
Restoring MySQL dumps
Replacing Text In Files
Firefox and flash on x86_64
Find user's files
Lines of code
Vsftp with virtual users
MSNRandomCase
O que achan deste tutorial:
ASSP Deluxe 4.0.3
http://www.grscripts.com/
Houvi falar na europa que é muito usado pelos data centers e garantem 99% de exito.
Obrigado a todos.

Page 1 of 1
AntiSpam Como acabar de vez com esta praga
#2
Posted 09 março 2010 - 08:24
Que tal ativar as RBLs nas configurações do Exim?
Para não aceitar quem não tem SPF, quem está em blacklists e um csf rodando para ajudar um pouquinho mais?
Abraços.
Para não aceitar quem não tem SPF, quem está em blacklists e um csf rodando para ajudar um pouquinho mais?
Abraços.
#3
Posted 09 março 2010 - 10:16
Ativando tudas as features que o antispam.br indica, resolve em torno de 90% dos spams
http://www.antispam.br/admin/
E, depois, usando o OSBF Lua, resolve quase o resto de spam recebido
http://www.antispam.br/admin/
E, depois, usando o OSBF Lua, resolve quase o resto de spam recebido
#4
Posted 09 março 2010 - 11:53
Recomendo: mailscanner, assp e DSPAM.
Mas para cpanel, minha indicação é o ASSP deluxe.
Mas para cpanel, minha indicação é o ASSP deluxe.
Share this topic:
Page 1 of 1

Help










