Koozali.org: home of the SME Server

Amavisd / Qmail problem ... PLEASE HELP !!!

Offline Brenno

  • *****
  • 208
  • +0/-0
Amavisd / Qmail problem ... PLEASE HELP !!!
« Reply #15 on: May 01, 2004, 04:54:44 PM »
Harware specs could be an issue.  I've got twin copies of SME 6.0b2 on two different machines.  One is a quad processor (4 x PIII 500 Xeons) with gobs of RAM, the other is an older PII 200 with 96mb of RAM.  I have had many issues with the install on the PII that never occur on the quad processor machine.

That being said, it's unlikely that the machine itself would cause a script error, but it is possible that the machine is unable to process your mail fast enough and therefore your timeouts occur.  I think this is what Ray is getting at.  Perhaps it's also got something to do with your connection?  A slow connection trying to receive a large email may be a factor?

I did find, on both machines, that having SpamAssassin installed before Amavis caused problems - Amavis was working, but SpamAssassin was not (although it worked before installing Amavis.)  Curiously enough, checking the headers of incoming mail shows that SpamAssassin has started working again in concert with Amavis.

When I run "top" from the console on the quad machine, it usually only displays .3 or .4 % usage on one of the processors, rarely higher. That being said, it's not that easy necessarily to watch the load change as your server is receiving mail.  Perhaps you could test by sending mail to your machine from a Hotmail account or the like and then keep your eye on "top" for changes in the usage.  That might give you a clue as to whether or not your hardware is being overburdend when handling mail.  It might be fine when it's idle.

Offline Brenno

  • *****
  • 208
  • +0/-0
Amavisd / Qmail problem ... PLEASE HELP !!!
« Reply #16 on: May 01, 2004, 05:03:11 PM »
Okay, out of curiosity, I did exactly what I mentioned above.  I sent mail from my Hotmail account to my server account and watched the CPU load via "top."

One processor went from 99.9% idle to 73.2% idle, so it's definitely possible to watch the impact on your server as mail is being received.

Of course, one of the luxuries of a quad processor machine is that the other 3 CPU's all stated 99.9% idle.  For a single processor machine, you're likely to see an increase in the load on the CPU, especially if the server is doing other things simultaneously (ie serving websites, etc.)

Reveal

Amavisd / Qmail problem ... PLEASE HELP !!!
« Reply #17 on: May 01, 2004, 06:49:08 PM »
Well why would the error not occur first and then after changing settings, give error's ?
I wouldn't think it's the CPU speed because I can run a normal Debian mailserver with postfix, amavisd & spamassassin without a problem on slower server....
And this server isn't doing anything more ... so if I don't get this fixed, I'll have to check out that option :(

Offline Brenno

  • *****
  • 208
  • +0/-0
Amavisd / Qmail problem ... PLEASE HELP !!!
« Reply #18 on: May 01, 2004, 07:07:21 PM »
Are you by any chance running webmail?  I've heard from several sources that this can really slow a machine down.

As for the script errors, I suppose there could be any number of causes as to why they appeared after changing settings.  Is it possible to review your changes?  Maybe you've inadvertently  set up a conflict or made a change elsewhere in the config of the system that's affecting things.

I'm no computer expert, but from my experience, 90% of the problems had with computers are the result of the smallest things - a missed checkbox, typographical error, etc.

Reveal

Amavisd / Qmail problem ... PLEASE HELP !!!
« Reply #19 on: May 01, 2004, 09:54:17 PM »
just found a few log files with problem mails in de problem dir ...
And gave as error (after trying to extract)
AMAVIS::AV::CLAMD: Cannot connect to /var/lib/clamav/clamd.sock

which is weird because the file is there ...

Also the mail forwarding still doesn't work ... :(