• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

qmail and clamav solution

We really need to throttle our server load, but we have users grumbling about dropped POP3 and IMAP connections to our qmail server.

That's strange, as qmail only handles SMTP connections. Courier IMAP is the POP3/IMAP server. Courier doesn't run under xinetd, but has its own MAXPERIP settings. Check out the pop3d(-ssl) and imapd(-ssl) files in /etc/courier-imap/. Restart the courier-imap service after any changes.

I am worried that if i was to reduce xinetd to accept less than "UNLIMITED" smtp connections, that these problems would grow ... what is a recommended reduction of UNLIMITED to (200, 300, or what?) and what should i set the load average to ... 2 or 2.5? What exactly does that mean as it doesn't really say in man xinetd.conf?

Your server can't accept an UNLIMITED number of connections anyway (try it :)). You can set the number per IP, so that really doesn't need to be UNLIMITED. Unless you have a lot of people contacting you from the same IP address (there all on the same LAN for instance) this number really doesn't need to be in the hundreds.

I notice that there is also an poppassd_psa xinetd file which is limited to 100 connections ... could this be where our dropped connections are coming in?

This service handles password changes AFAIK, so no, probably not.
 
Qmail with Clamav on CentOS4 and Plesk 8.1

Hi,

Has anyone configured Clamav to run with Qmail on CentOS4 under Plesk 8.1?

If there's instruction on how to set up, that would be wonderful.

By the way, i already have Spamassassin working in this environment. i did try to set up with qscanq with Clamav 0.90, following the steps on this page as suggested by xplatform12: http://www.hostbird.com/beta/index.php?loc=0602-0602

It didn't work. i guess problem might be the new versions with old instructions or the particular environment?

Thanks a lot!

celia
 
Originally posted by atomicturtle
Yes, for several years now :p All the way back to PSA 5.0. Check out qmail-scanner from my archive

Thank you so much!

Yes, i noticed it. My environment has 256 MB ram only, burstable to 1000 MB. Do you think that would work?

By the way, i'm not sure what to download. i'm looking at here: http://3es.atomicrocketturtle.com/atomic/art/4ES/RPMS/

Should i download clamav-0.88.7-1.rhel4.art.i386.rpm, clamav-db-0.88.7-1.rhel4.art.i386.rpm and qmail-scanner-2.01-9.rhel4.art.noarch.rpm?

(not sure whether to download Clamav 0.9 from Clamav's site, as i see other people having problems with this version)

i found the instructions on other sites for qmail-scanner are a bit old. Do you know of more matching instructions?

Thanks again!

celia
 
Don't go downloading the separate rpms, just use yum. Configure the ART channel, run 'yum install clamd', 'service clamd start', 'yum install qmail-scanner' and you should be good to go. See /etc/qmail-scanner.ini for qmail-scanner's settings. Run 'qmail-scanner-reconfigure' after changing settings.
 
Qmail with Clamav on CentOS4 and Plesk 8.1

Thank you so much, breun! i'm gonna try shortly.

celia
 
Qmail with Clamav on CentOS4 and Plesk 8.1

It was installed beautifully.

With couple of tweaks in file permissions, now it's actually working. Only the virus scan is not adding any headers to the inbound mail. i suppose that's the way it should work?

Thanks again!

celia
 
Back
Top