Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 11th June 2008, 18:27
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Hey,

Ok, making progress.

Let's go ahead a do a:

Code:
MailScanner -V
This will show us the version at the very top of the results.

Also, comment out the following line:

Code:
Quarantine Whole Message As Queue Files = no
Restart mailscanner and check your logs. Log into mailwatch and see what happens. Let me know how it turns out.

Rocky
__________________
Home of the SpamSnake
Reply With Quote
Sponsored Links
  #12  
Old 11th June 2008, 18:54
Kamian Kamian is offline
Junior Member
 
Join Date: Jun 2008
Location: Perth, Western Australia
Posts: 7
Thanks: 2
Thanked 0 Times in 0 Posts
Default

root@mcp-spam1:~# MailScanner -v
Running on
Linux mcp-spam1 2.6.24-18-generic #1 SMP Wed May 28 20:27:26 UTC 2008 i686 GNU/Linux
This is Perl version 5.008008 (5.8.8)

This is MailScanner version 4.68.8


With the line commented out no errors! I can log into Mailwatch and I redirected a couple emails through the spam box and it delivered it fine and passed them as not spam (which they weren't).

Jun 11 23:49:01 mcp-spam1 MailScanner: MailScanner setting GID to www-data (33)
Jun 11 23:49:01 mcp-spam1 MailScanner: MailScanner setting UID to postfix (109)
Jun 11 23:49:02 mcp-spam1 MailScanner[5983]: MailScanner E-Mail Virus Scanner version 4.68.8 starting...
Jun 11 23:49:03 mcp-spam1 MailScanner[5983]: Read 817 hostnames from the phishing whitelist
Jun 11 23:49:03 mcp-spam1 MailScanner[5983]: Read 5141 hostnames from the phishing blacklist
Jun 11 23:49:03 mcp-spam1 MailScanner[5983]: Config: calling custom init function SQLBlacklist
Jun 11 23:49:04 mcp-spam1 MailScanner[5983]: Starting up SQL Blacklist
Jun 11 23:49:04 mcp-spam1 MailScanner[5983]: Read 0 blacklist entries
Jun 11 23:49:04 mcp-spam1 MailScanner[5983]: Config: calling custom init function MailWatchLogging
Jun 11 23:49:04 mcp-spam1 MailScanner[5983]: Started SQL Logging child
Jun 11 23:49:05 mcp-spam1 MailScanner[5983]: Config: calling custom init function SQLWhitelist
Jun 11 23:49:05 mcp-spam1 MailScanner[5983]: Starting up SQL Whitelist
Jun 11 23:49:05 mcp-spam1 MailScanner[5983]: Read 0 whitelist entries
Jun 11 23:49:05 mcp-spam1 MailScanner[5983]: SpamAssassin temporary working directory is /var/spool/MailScanner/incoming/SpamAssassin-Temp
Jun 11 23:49:06 mcp-spam1 MailScanner[5983]: Using SpamAssassin results cache
Jun 11 23:49:06 mcp-spam1 MailScanner[5983]: Connected to SpamAssassin cache database
Jun 11 23:49:06 mcp-spam1 MailScanner[5983]: Enabling SpamAssassin auto-whitelist functionality...
Jun 11 23:49:10 mcp-spam1 MailScanner[5983]: ClamAV scanner using unrar command /usr/bin/unrar
Jun 11 23:49:10 mcp-spam1 MailScanner[5983]: Using locktype = flock
Reply With Quote
  #13  
Old 11th June 2008, 19:08
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default

Hey,

Great! If everything's working fine, then you're good to go. Give the Spamsnake a test run and you'll be amazed by it's work.

Rocky
__________________
Home of the SpamSnake
Reply With Quote
  #14  
Old 18th September 2010, 07:36
keithH keithH is offline
Junior Member
 
Join Date: Sep 2010
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Hi.
I'm a blind computer user, administering an Ubuntu server.
The version of Ubuntu being used when I followed the tutorial that Rocky did (at least I think that's who did this tutorial) is the 10.04 lucid release, witht he very latest version of mails canner.
I decided to not try the mail wasch thingy or hwatever that's called, just yet.
When I attempt to use Mail scanner, it starts scanning my emails, and uses clamav to scan for viruses.
However, before it even finishes, it says:
Sep 18 00:31:57 keithnet MailScanner[18262]: File checker failed with real error: Insecure dependency in exec while running with -T switch at /usr/share/MailScanner//MailScanner/SweepOther.pm line 374.
Sep 18 00:31:58 keithnet MailScanner[15576]: Virus and Content Scanning: Starting
Well, if I check with the webmin MailScanner module it doesn't appear to be running at all, so the deamon's died as far as I'm concerned.
It won't finish scanning my emails, so no emails.
I've attempted restarting and even using some trick someone had mentioned about chuid postfix, but that didn't work.
Said it couldn't change the uid.
Gave me some bin error, and I quickly replaced it with the standard /etc/init.d/mailscanner script.
Can anyone tel me what to do, as all my packages are up-to-date at this point, and I'm stuck?
I can't get it to finish scanning my emails. I'd like this thing to stop hanging on this error.
I did see a bug at one point-but I need to know a lot more than anything taht Debian or Ubuntu may have on this bug--I need to know how to specifically get around the bug for the time being, if at all possible.
Any known workarounds?
This is driving me nuts, and I don't know what to do.
Thanks.
Reply With Quote
  #15  
Old 19th September 2010, 16:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Did you try what is suggested in this comment? http://www.howtoforge.com/the-perfec...#comment-14614
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SpamSnake Backup EMails getrav HOWTO-Related Questions 6 22nd May 2008 03:27
ClamAV Milter Issues - Virtual Hosting Howto With Virtualmin On CentOS 5.1 pheniks HOWTO-Related Questions 14 26th March 2008 12:04
Ubuntu Mail Server issues (warning: a long list!) klonos HOWTO-Related Questions 3 6th October 2007 15:18
Couple issues with ispconfig 2.2.12 after Fiesty upgrade pyropoptrt Installation/Configuration 15 1st May 2007 21:37
ISPConfig + Turck MMCache + Hardened-PHP - Any Issues? BobbyQ General 8 3rd May 2006 23:52


All times are GMT +2. The time now is 20:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.