Have the ability to turn disable virus scanning for...

This forum contains features that has been archived. This section contains implemented features, duplicate requests, and requests which we have decided not to implement.
Post Reply

Do you need this feature?

Yes
28
97%
No
1
3%
 
Total votes: 29

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Have the ability to turn disable virus scanning for...

Post by ^DooM^ » 2006-09-28 20:15

I would like to suggest there be an option to disable virus scanning for a selected IP Range in the same way you can disable Spam Protection rather than it being either on or off globaly.

Recently I have been writing an email queue system in PHP that allows me to queue up email in my database and send these emails at specific times.

When my PHP script tries to dump 200+ emails into hmail for delivery the virus scanner 'ClamWin' scans every email coming into hmail from the network as it should do by design. The issue I am having is that Clamwin is to slow and my PHP script eventually times out. If I disable Clamwin virus scanning inside hmail I can add 2000 emails to hmail in under 30 seconds.

Cheers :)
Last edited by ^DooM^ on 2006-09-28 20:17, edited 1 time in total.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ

dstj
New user
New user
Posts: 25
Joined: 2005-07-27 17:35
Location: Montréal, Canada

I big yes to that....

Post by dstj » 2006-12-05 04:26

I use hMailServer to send a news letter to some 2000 recipients from time to time... Clamwin just kills the performance. I would welcome a feature to disable it for anything being sent out from "localhost".

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-12-05 10:45

The way I got round this in the time being was to setup hmail on another server on my network and use that for sending only with no virus scanner or spam protection enabled at all.

User avatar
SuperMau
New user
New user
Posts: 19
Joined: 2006-11-24 02:20
Location: Mexico
Contact:

The same problem here...

Post by SuperMau » 2006-12-19 19:21

I have the exact same problem! I have a 5000 subscriber newsletter under 12all email marketing and hMail and when clamwin was active it took around 12 hours to send it :shock: and absolutely killed performance for my other clients. The next time I sent the newsletter with clamwin disabled, it took less than an hour. I am wondering if it is clamwin's fault or any other antivirus will do the same. I will send another one tomorrow using f-prot and see what happens.

Anyway, I would love this feature too, furthermore I would like the option to turn scanning on or off for incoming and outgoing email.

Cheers...

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2006-12-19 19:26

I don't think a setting in the IP ranges would be enough. You may have users on dynamic IP addresses which you want to exclude from virus scanning. I think it would be better to have an option in the new whitelisting functionality in 4.4, or to have a separate virusscan-whitelist.

User avatar
Slug
Moderator
Moderator
Posts: 1369
Joined: 2005-03-13 05:42
Location: Sydney Australia
Contact:

Post by Slug » 2006-12-20 11:42

martin wrote:I think it would be better to have an option in the new whitelisting functionality in 4.4, or to have a separate virusscan-whitelist.
Cant we just have a tick box to disable authenticated/outgoing email ?? or am I just being to simplistic. I really don't like white lists as they are a lot of work to keep them up to date ....

Michael
Missing Hmailserver ... Now running Debian servers

perels
New user
New user
Posts: 3
Joined: 2007-01-09 22:47

Post by perels » 2007-01-10 00:10

disable virus scanning for authenticated/outgoing email with a checkbox should definitely be implemented. We normally send out between 10000-30000 mails per day - not spam, but newsletters - so that will definitely be a show stopper for our organisation if this feature will not be implemented.

trofosila
New user
New user
Posts: 9
Joined: 2007-02-06 12:48
Location: Romania

Post by trofosila » 2007-03-24 14:53

In my case is even worse. Every message i send contains 15 to 20 inline images, so for every message hMailServer starts about 21 instances of clamdscan.exe . At some point one of these instances becomes unresponsive and blocks the entire mail server... so for now the solution is to disable antivirus for 7 or 8 hours a day while the newsletter is sent.

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2007-03-24 14:57

If you have the servers available you can do as I did and setup a dedicated instance of hmail for outgoing mail only and disable virus scanning and spam protection.

trofosila
New user
New user
Posts: 9
Joined: 2007-02-06 12:48
Location: Romania

Post by trofosila » 2007-03-24 15:05

I don't want to setup another server... this is why i have renounced Qmail and searched for a 'windows sollution', and by the way the good thing is hMailServer does about everything Qmail does... which is rare. I have tested 6 or 7 other sollutions and none was so close...
hMailServer 4.3.1 B253 with extenal MySQL
Win 2003 SP1 | IIS 6 | ClamAV for Windows

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2007-03-24 16:26

Yeah that's fair enough. I am of the same mind but one thing to think about is while you are sending a lot of outgoing mail, the mail queue will be full which means any incoming mail will be delayed until the queue is cleared.

trofosila
New user
New user
Posts: 9
Joined: 2007-02-06 12:48
Location: Romania

Post by trofosila » 2007-03-24 23:04

@^DooM^
The queue should not be full at all, i am sending one message every 3 seconds, not all messages at once.
My server IP is whitelisted at yahoo (which represents about 90% of subscribers) so if i disable antivirus scaning every thing is ok.
hMailServer 4.3.1 B253 with extenal MySQL
Win 2003 SP1 | IIS 6 | ClamAV for Windows

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2007-03-25 11:16

I see, I like that idea. I Implement something similar where I throw a batch of emails at the server every 15 minutes so as not to clog up the mail server with 13k emails all at once. I may look into this "trickling" of email to the server as you have implemented and see if it works any better than my approach.

Cheers!

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2007-05-08 18:51

What about implementing the possibility to disable virusscan for specific accounts?
This should be enough for most needs.
So you can disable virusscan for the mailadresses used for newsletter mailing.
Implementing this as addition to the above requested ip-range setting would be almost perfect.

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2007-05-08 19:06

An excellent suggestion DjGl

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2007-07-17 15:51

In version 5 it's possible to enable / disable virus scanning per IP range. Moving this request to archive.

(I know there has been more ideas how to extend this in the thread. If you want this as well you'll need to add a new feature request. Users who voted for this thread likely voted for the original suggestion and not other suggestions discussed in the thread)

Post Reply