|
|||
|
spamd failed email messages
I'm receiving an email message about every 5 minutes from my server, indicating that spamd failed and a restart was attempted.
I have spamd turned off in the Service Manager, and Spamassasin turned off in the Tweak Settings menu. Why am I still receiving this message? I've tried restarting cPanel, also, but it hasn't helped. Any ideas... thanks! |
|
||||
|
/bin/rm -fv /var/run/chkservd/spamd
/etc/init.d/chkservd restart That should do it
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
||||
|
I've been having the same problem as binkatl, and before I dissable spamd and spamAssasin, I was hopeing someone might shed some light on this subject.
My questions are: is this over kill? have I duplicated a function here somewhere? With this setup what would be the most effective exim config? Should I deactivate something? My objective is for all spam to die at the front door, and virus to bounce with a warning, plus leave the option of individual users to create their own black and white lists if desired. Your suggestion chirpy to turn spamd off makes me wonder, what does it do? Is it integrated into spamassassin? I think there's alot of crossover dependences here and if I turn one off how does it effect the other pieces? The following is my server set up for email: WHM 9.9.9 Cpanel 9.9.9-S15 Fedora i686 Exim Exiscan + Clam Clamav Clamd spamd spamAssasin cpanel addon Modules: pro- Version: 1.0rc8 spamdconf - Version: 0.3 clamavconnector - Version: 0.80-1.0RC1.2 cpanel config: service manager, - spamd = enabled tweak settings, - mail catch-all = fail - spamassassin = enabled - track origin = enabled RSkin's Spam+Virus Protection for cPanel server using Exim+Exiscan+ Clamav+RBL+ Spamassassin+SARE+ Razor+DCC anti spam tut Vipul's Razor razor.sourceforge.net/ razor-agents-2.67 and razor-agents-sdk-2.03 Distributed Checksum Clearinghouse ( DCC )www.rhyolite.com/anti-spam/dcc/ SpamAssassin Rules Emporium (SARE) rulesemporium.com/ RulesDuJour www.exit0.us/index.php?pagename=RulesDuJour Quote:
and my whm/exim config editor/ advanced mode/ top window is: Code:
av_scanner = clamd:/var/clamd acl_smtp_connect = acl_check_host acl_smtp_mail = acl_check_sender domainlist rv_rbl_receiver_domain_whitelist = lsearch;/usr/local/cpanel/base/eximacl/rv_rbl_receiver_domain_whitelist hostlist rv_rbl_server_ip_whitelist = net-iplsearch;/usr/local/cpanel/base/eximacl/rv_rbl_server_ip_whitelist addresslist rv_rbl_sender_address_whitelist= lsearch*@;/usr/local/cpanel/base/eximacl/rv_rbl_sender_address_whitelist addresslist rv_spam_sender_address_whitelist= lsearch*@;/usr/local/cpanel/base/eximacl/rv_spam_sender_address_whitelist log_selector = +address_rewrite+all_parents+arguments+connection_reject+delay_delivery+delivery_size+ dnslist_defer+incoming_interface+incoming_port+lost_incoming_connection+queue_run+rec eived_sender+received_recipients+retry_defer+sender_on_delivery+size_reject+skip_deliver y+smtp_confirmation+smtp_connection+smtp_protocol_error+smtp_syntax_error+subject+tl s_cipher+tls_peerdn and begin acl window 1 is: Code:
#!!# This ACL is used at the start of an incoming connection. #!!# The tests are run in order until the connection is #!!# either accepted or denied. acl_check_host: ## # Reject email sent from mail server IP listed in the blacklist ## deny message = Host $sender_host_address is blocked hosts = /usr/local/cpanel/base/eximacl/rv_server_ip_blacklist delay = 20s accept #!!# This ACL is used for the MAIL FROM: command in an #!!# incoming SMTP transaction. The tests are run in order until the #!!# sender address is either accepted or denied. acl_check_sender: ## # Reject email sent from sender listed in the blacklist ## deny message = Sender $sender_address is blocked senders = /usr/local/cpanel/base/eximacl/rv_sender_address_blacklist delay = 20s accept If anyone adept at reading exim config files sees a blatant error or suggestions to improve the functionality of all this setup I'm all ears. in fact Im not so sure that I have this set up as well as I might like. TIA , and have a great day!
__________________
server gumby |
|
||||
|
Looks OK (of course, I prefer the MailScanner solution). You should put the dictionary attack stuff from my ACL at the top of the middle box, just after:
accept hosts = : There's no point in going through the overhead of RBL lookups if you're going to deny the connection anyway because of a RCPT check failure, which is much quicker.
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
||||
|
Cut down the overhead
Quote:
Meanwhile my spamd is still failing to load/boot and I would like to find the cause.
__________________
server gumby |
|
||||
|
WRT spamd, have you tried:
/etc/init.d/chkservd restart If that doesn't work, try: /scripts/fixspamassassinfailedupdate
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
||||
|
fixspamassassinfailedupdate
Quote:
the fixspamassassinfailedupdate is a really cool name for a script. Talk about spelling it out, I guess I should spend more time in my script dir, unfortunately,my result is: Code:
# ./fixspamassassinfailedupdate Spamassassin Update Failed, reinstalling! File/Spec/Unix.pm did not return a true value at /usr/lib/perl5/5.8.6/i686-linux/File/Spec.pm line 21. Compilation failed in require at /scripts/realperlinstaller line 14. BEGIN failed--compilation aborted at /scripts/realperlinstaller line 14. Code:
use File::Spec; Code:
require "File/Spec/$module.pm"; -r--r--r-- 1 root root 1808 Jan 22 04:57 Cygwin.pm -r--r--r-- 1 root root 1531 Jan 22 04:57 Epoc.pm -r--r--r-- 1 root root 1855 Jan 22 04:57 Functions.pm -r--r--r-- 1 root root 11708 Jan 22 04:57 Unix.pm so the Unix.pm is not returning atrue value, so what does fixspamassassinfailedupdate consider to be a true value to be recieving from Unix.pm? this is starting to get complicated for a mear gumby as myself.
__________________
server gumby |
|
||||
|
You might want to try:
/scripts/perlinstaller Tie::Hash File::Spec HTML::Parser Then try running that fix script again.
__________________
Jonathan Michaelson cPanel Forum Moderator Need your cPanel servers secured and tuned? cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf http://www.configserver.com |
|
||||
|
/scripts/perlinstaller Tie::Hash File::Spec HTML::Parser
Well, chirpy, This is becoming embarassing, as I feel as if you're acting as my private consultant, I'm going to start having to pay for your help.
/scripts/perlinstaller Tie::Hash File::Spec HTML::Parser has the same results as the previous command /scripts/fixspamassassinfailedupdate I'm sure that in most cases the /scripts/fixspamassassinfailedupdate would fix the spamd failed to load problem but I seam to have an irregular perl installation. Perhaps I should update , or reinstall perl. However, I think that would be abit extream. So I'm doing a rebuild RPM database in whm/software, now reinstall RPM specpro, now reinstall RPM file: Code:
# /scripts/fixspamassassinfailedupdate Spamassassin Update Failed, reinstalling! File/Spec/Unix.pm did not return a true value at /usr/lib/perl5/5.8.6/i686-linux/File/Spec.pm line 21. Compilation failed in require at /scripts/realperlinstaller line 14. BEGIN failed--compilation aborted at /scripts/realperlinstaller line 14. I'm obviously taking stabs in the dark, so far with no success. I'm still getting the same results.
__________________
server gumby |
|
||||
|
cgi errors
Well, I do seam to have a misconfigured perl.
I've just entered:/usr/local/cpanel/whostmgr/docroot/cgi/diskusage.cgi as a test, and I get the same type of errors. Although a basic hello-world.cgi in a domain does work. that obviously doesn't require any libs. So I guess I need to reinstall perl. Now it's off to find out how I do that. first I'll go to whm/software/update system software, ... everything fine down to: make[2]: Leaving directory `/home/cpgdbuild/gd-2.0.33' make[1]: Leaving directory `/home/cpgdbuild/gd-2.0.33' GD install failed and I'm stuck here. So, I'll search around and see if I can find a solution. I believe the main problem was a manual perl update to 5.8.6 which I problably should not have done. ( especially as I am a gumby )
__________________
server gumby |
|
||||
|
Fixing this mess,,
Dear reader, I know that my posts tend to be a bit long winded, but i find it frustrating when looking for a solution to find someone has had the same problem and they end their post with
Quote:
ok, I've found the thread pathtools error which mr. chirpy seams to have been providing solutions, and reading through I decided to look in my /usr/bin where I have the dirs perl, perl5.8.3, and perl 5.8.6 My symlink is: /usr/local/bin/perl -> /usr/bin/perl the suggestion Quote:
My /usr/lib/perl5 has the following: drwxr-xr-x 3 root root 4096 Mar 24 2004 5.8.0/ drwxr-xr-x 3 root root 4096 Mar 24 2004 5.8.1/ drwxr-xr-x 3 root root 4096 Mar 24 2004 5.8.2/ drwxr-xr-x 43 root root 4096 Jan 23 23:19 5.8.3/ drwxr-xr-x 45 root root 4096 Jan 24 00:31 5.8.6/ drwxr-xr-x 7 root root 4096 Jan 24 00:31 site_perl/ drwxr-xr-x 6 root root 4096 Mar 24 2004 vendor_perl/ also suggested was if you upgrade perl use these commands: /scripts/rpmup /scripts/sysup the first one: Using RPM Backend: RPM version 4.2.1 busy updateing aton of stuff, ends with GD install failed, I guess that would be gd 2.0.33 and half way through the install there is the following error Code:
yum is up to date File/Spec/Unix.pm did not return a true value at /usr/lib/perl5/5.8.6/i686-linux/File/Spec.pm line 21. Compilation failed in require at /scripts/realperlinstaller line 14. BEGIN failed--compilation aborted at /scripts/realperlinstaller line 14. Using RPM Backend: RPM version 4.2.1 installed: freetype-2.1.4-5 installed: freetype-devel-2.1.4-5 unknown package perl-CPAN (ok) installed: libpng-devel-1.2.5-7 installed: libjpeg-devel-6b-29 installed: XFree86-devel-4.3.0-55 unknown package iconv (ok) unknown package jpeg (ok) unknown package xpm (ok) unknown package png (ok) unknown package linuxthreads (ok) Building GD.......... ...... Done GD status [0] gd-2.0.33.tar.gz
__________________
server gumby |
![]() |
| Thread Tools | |
| Display Modes | |
|
|