62
Oh, go on then. Haven't tested it:
Code:#!/usr/bin/perl foreach my $entry ((a..z,A..Z,0..9)) { system ("mv /var/spool/exim_incoming/input/$entry/* /var/spool/exim_incoming/input/."); }
62
Oh, go on then. Haven't tested it:
Code:#!/usr/bin/perl foreach my $entry ((a..z,A..Z,0..9)) { system ("mv /var/spool/exim_incoming/input/$entry/* /var/spool/exim_incoming/input/."); }
Jonathan Michaelson
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
Hi Jonathan,
I wanted to let you know that the Mailscanner upgrade has been performed on my server by your partner.
I would like to thank you and your team for making it a very comforting, professional and extremely fast experience for me.
The service was completely in under 24 hours of my ordering and in accordance to my addtional requests.
The $30 was definitely well spent.
I would strongly recommend anyone who have problems installing Mailscanner with ClamAV on a Cpanel server to take up your package on www.webumake.com
Lastly, I search this forum and found that you have completed the front end to Mailscanner for Cpanel. ( http://forums.cpanel.net/showthread....ht=mailscanner )
Will it work with my installation ? I am willing to give it a try.
Thank you very much!
Regards
Patrick
PS: I remember seeing a review link on your site for your products but can't seem to find it now. Please advise.
Ditto.Originally Posted by nightfall_sg
Without a doubt, if you don't have the time to handle such upgrades, or the knowledge, this is a great service.
Great service from chirpy - definitely worth the $$Originally Posted by SageBrian
Sunil
Cheers Chirpy, nice time saverOriginally Posted by chirpy
![]()
chirpy, i just wanted to say 'thank you' because your script just saved the day! thanks so much!![]()
Chirpy,
I could make Mailscanner run with your script but not ClamAV. Anyone knows how I can incorporate ClamAV with Chirpy's MailScanner?
Installing ClamAV is straightforwrad:
1. Download the latest ClamAV distribution
2. tar -xzf the distribution and then cd into the resulting directory and do:
./configure
make
make install
edit /usr/local/etc/freshclam.conf
Comment out the line near the top that says simply:
Example
3. Rune freshclam to download the latest definitions
4. At this point you can set in MailScanner.conf:
Virus Scanners = clamav
Then restart MailScanner
5. Or you can install the more efficient Mail::ClamAV module. You'll need to install some perl modules first:
/scripts/perlinstaller /scripts/perlinstaller Net::CIDR Archive::Zip Compress::Zlib Convert::BinHex Inline::C
6. The install the ClamAV perl module:
/scripts/perlinstaller Mail::ClamAV
7. Then set in MailScanner.conf:
Virus Scanners = clamavmodule
Then restart MailScanner
That should be it. You can now set what domains you want scanned for viruses in /usr/mailscanner/etc/rules/virus.scanning.rules
Jonathan Michaelson
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
Just want to chime in and say thanks cpanel for making such devastating changes without telling anyone![]()
Sorry but this is the last straw.. I've had it with cpanel.
Someone is using Mailscanner and Clamav with last Cpanel versions. I have understood that the installer of http://www.webyoumake.org/free/mailscanner.htm executes Spamassassin within Mailscanner but we want to continue using Mailscanner and Clamav with Spamassassin out side of it.
You can still use the installer. Just edit your MailScanner.conf afterwards and set:
Use SpamAssassin = no
Then restart MailScanner. However, I would strongly advise against it as it will cause additional load on your server and some features of the cPanel interface for SpamAssassin will not work.
Jonathan Michaelson
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
Hi chirpy, you offer a fantastic package!! The webyoumake.org package is the more configurable and complete antivirus (and antispam) solution service that I have seen in years!!
Installed Clamav 0.80 (http://www.webyoumake.org/free/clamav.htm)
Installed MailScanner-install-4.37.7-1.tar.gz (http://www.webyoumake.org/free/mailscanner.htm)
WHM 9.9.9 cPanel 9.9.9-R70
Fedora i686 - WHM X v3.1.0
Tested from http://www.webmail.us/testvirus
There are only one problem (or I think so):
When I run service MailScanner reload, service MailScanner restart or service MailScanner status the MailScanner service returns an error:
PHP Code:# service MailScanner
Usage: service MailScanner {start|stop|status|restart|reload}
# service MailScanner status
Checking MailScanner daemons:
MailScanner: [FAILED]
PHP Code:# service MailScanner reload
Reloading MailScanner workers:
MailScanner: [FAILED]
Starting MailScanner daemons:
MailScanner: [ OK ]
Since last night I received a freshclam error and I know that I have two Clamav installations:
This is the error:# whereis freshclam
freshclam: /usr/bin/freshclam /etc/freshclam.conf /usr/local/bin/freshclam /usr/local/etc/freshclam.conf /usr/man/man1/freshclam.1
I think /usr/local/bin/freshclam is the last 0.80, which clamav must I delete and how can I do it? Than you very much!!/etc/cron.daily/freshclam:
ClamAV update process started at Fri Jan 7 04:02:09 2005
Reading CVD header (main.cvd): OK
main.cvd is up to date (version: 28, sigs: 26630, f-level: 3, builder: tomek)
WARNING: Your ClamAV installation is OUTDATED - please update immediately !
WARNING: Current functionality level = 2, required = 3
Reading CVD header (daily.cvd): OK
daily.cvd is up to date (version: 653, sigs: 2447, f-level: 3, builder: trog)
WARNING: Your ClamAV installation is OUTDATED - please update immediately !
WARNING: Current functionality level = 2, required = 3
Last edited by equens; 01-07-2005 at 06:03 AM.
Not sure why you'd get problems with the MailScanner service status. Is MailScanner actually working OK? Do you get processes running from:
ps axf | grep MailScanner
For clamav, I would do the following:
Then re-install according to:Code:killall clamd /bin/rm -Rfv /usr/bin/clam* /bin/rm -Rfv /usr/sbin/clam* /bin/rm -Rfv /usr/lib/libclam* /bin/rm -Rfv /usr/share/clam* /bin/rm -Rfv /usr/include/clam* /bin/rm -Rfv /usr/bin/freshclam* /bin/rm -Rfv /usr/etc/clamav*
http://www.webumake.com/free/clamav.htm
Jonathan Michaelson
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
For the service issue, I've seen that when a fast server process the request too quickly. For example a service process restart may fail because the stop/start sequence happened to fast not allowing enough time for the stop to actually complete before the start is issued causing it to fail. Rerunning the restart shows it failed first then start fine as the previous stop has now completed. Best option there is to add a sleep 1 command to the service process between the stop/start sequence.
Regards,
David
Forum Moderator
Ok thanks!!
# ps axf | grep MailScanner
12094 pts/0 S 0:00 \_ grep MailScanner
21415 ? S 0:00 /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /usr/mailscanner/etc/MailScanner.conf
21416 ? S 0:00 \_ /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /usr/mailscanner/etc/MailScanner.conf
21436 ? S 0:00 \_ /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /usr/mailscanner/etc/MailScanner.conf
21441 ? S 0:00 \_ /usr/bin/perl -I/usr/mailscanner/lib /usr/mailscanner/bin/MailScanner /usr/mailscanner/etc/MailScanner.conf