Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 19th February 2006, 03:07
rdells rdells is offline
Junior Member
 
Join Date: Feb 2006
Posts: 23
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Thanks again for your all your advise, really appreciate it.
I did not do the previous post - I like install and leave alone (nervous)!!
I did read about spamassissin and realize now that my machine probably is not powerful enough to have spamassassin on more than a few accounts!
The FAQ on spamassasin told me the story:
http://wiki.apache.org/spamassassin/...AskedQuestions
Again, Thanks
Robert
Reply With Quote
Sponsored Links
  #12  
Old 19th February 2006, 09:55
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,821
Thanks: 821
Thanked 5,340 Times in 4,189 Posts
Default

How many email accounts do you have and what processor and how much ram does your server has?

Which of the FAQ articles do you refer to?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #13  
Old 20th February 2006, 05:29
rdells rdells is offline
Junior Member
 
Join Date: Feb 2006
Posts: 23
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Hi there,

I suppose I could do some tweaking, I just moved onto other things for now.
One FAQ: http://wiki.apache.org/spamassassin/FasterPerformance
talked about fine tuning. Looks useful, just have not tried yet.

I added ram: was 256 (when had issues), now 512 (still hungry).
Cpu is Duron 800Mhz, Shuttle AK10 mobo.
30 email accounts. was AV + Spamfilter (when had issues), now only AV (seems good).

2 WD IDE 80GB hard drives (raid1, hda, hdc) not using "Quota" (could not figure out how to do Quota with raid1 w/in fstab file).

Note: I did the same setup on a P3 833Mhz, 512Mb ram, near-same all other hardware. I got the near-same results from Spamassassin enabled on the email accounts (near 100% cpu jump while sending to the email acct w/spamassassin enabled, minimal cpu% with only AV enabled).

I may try tweaking Spamassasin in a few days, I'll be sure to let you folks know of outcome if you like, Maybe I should have tried Debian for the older hardware?? !!

(I liked the Fedora Raid setup, was easier than debian ).

Thanks always,
Robert

Last edited by rdells; 20th February 2006 at 05:40.
Reply With Quote
  #14  
Old 20th February 2006, 15:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by rdells
I may try tweaking Spamassasin in a few days, I'll be sure to let you folks know of outcome if you like
That would be great!
__________________
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
  #15  
Old 27th February 2006, 19:51
MathieuMa MathieuMa is offline
Junior Member
 
Join Date: Feb 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Same issue here

Hi,

I have a mail address setup to forward to 4 other mail addresses (as account-less mail list are not possible yet).

When receiving a mail to that list, even though the antivirus is setup on it, it forwards the mail to the 4 other accounts, and because of this the mail is scanned 4 times - and passes through spamassassin 4 times as well.

Could it be possible to have the forwards done AFTER the scans ?
And then use added headers to not run those twice (that's just an idea - not sure what it's worth regarding security, IE if the sender set that particular header we should remove it first) ?

The issue here is that this takes a lot of CPU (4 scans) , and when a virus is found a mail is sent 4 times (once per account) to the mail list saying a virus was found (disabled that for now).


Thanks, Mathieu
Reply With Quote
  #16  
Old 27th February 2006, 22:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by MathieuMa
I have a mail address setup to forward to 4 other mail addresses (as account-less mail list are not possible yet).

When receiving a mail to that list, even though the antivirus is setup on it, it forwards the mail to the 4 other accounts, and because of this the mail is scanned 4 times - and passes through spamassassin 4 times as well.
Are those 4 email addresses on the same server, and is SpamAssassin enabled for these 4 addresses?
__________________
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
  #17  
Old 27th February 2006, 23:28
MathieuMa MathieuMa is offline
Junior Member
 
Join Date: Feb 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Are those 4 email addresses on the same server, and is SpamAssassin enabled for these 4 addresses?
The 4 addresses are on the same server, and SA / Antivirus is enabled on those 4.

Performance wise, what I'd like to have would be the following :
- SA scan on the alias done -> no more SA scan on the ML mails
- Antivirus scan on the alias done -> no more AV scan on the ML mails

Or at least have virus mail not forwarded, they should go to /dev/null as soon as they hit the alias, but are forwarded before apparently.

Oh, the forwards are done to user_name@domain.com, not user_name - but that should be correct ?
Reply With Quote
  #18  
Old 27th February 2006, 23:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

We can think about how we can accomplish this, but right now it's not possible with ISPConfig.

Quote:
Oh, the forwards are done to user_name@domain.com, not user_name - but that should be correct ?
Yes, that's ok.
__________________
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
  #19  
Old 28th February 2006, 11:30
MathieuMa MathieuMa is offline
Junior Member
 
Join Date: Feb 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
We can think about how we can accomplish this, but right now it's not possible with ISPConfig.
OK, will wait for next version or better try go get an idea
The issue with internal ML as of now is that they consume a lot of resources due to antivirus and antispam - I thought it could be just a processing order question for a part of the issue (antivirus before forward -> if the message is discarder it's only scanned once).
Reply With Quote
  #20  
Old 1st May 2006, 18:01
chrno chrno is offline
Member
 
Join Date: Apr 2006
Posts: 70
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Hi falko,

I'm seeing the same thing when I've SpamAssassin and ClamAV selected.

I've got an email address that sends the same email (hourly reports) to about 4 email address (managers's address) on the same domain. Not via forwarding in ISPconfig, just notmal To: and Cc: via smtp. And of course these emails will be received at the same time by the mail server. This's when I see a spike in the CPU (going as high as 100% usage). Top at that time shows that ClamAV and SpamAssassin is using +-25% for each of the 4 email users (web3_username)... which prompted me to ask about the performance impact on the server when SpamAssassin/Mailscan/ClamAV is activated (This Thread). For now, I've deactivated SpamAssassin and ClamAV on all these 4 accounts because I thought it's because I'm using a develepment copy (ISPConfig-2.3.0-dev.tar.gz) until I saw this thread ...

Should I try to compile my own SpamAssassin? If I compile it, will I have upgrade issues with the next release/version of ISPConfig?

Additional Info:-
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin -V
SpamAssassin version 3.1.0
running on Perl version 5.8.8

Machine spec
AMD Duron 1GHz with 256MB ram 
swap 700MB

OS
Debian Sarge

Last edited by chrno; 1st May 2006 at 18:05.
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
Recreate email Felipe General 3 13th December 2005 21:45


All times are GMT +2. The time now is 10:00.


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