Problematic Mailenable Scratch folder

jokingelephant
Posts: 23
Joined: Tue Sep 18, 2007 5:05 am

Problematic Mailenable Scratch folder

Postby jokingelephant » Tue Sep 18, 2007 5:08 am

Hi guys,

Do anyone of you have any idea on how to prevent the files in the Mailenable scratch folder from building up?

It has caused my server disk space to be used up and i will need to RDP in often to clear the files inside the scratch folder.

Any one able to assist?

Thanks

MailEnable
Site Admin
Posts: 4438
Joined: Tue Jun 25, 2002 3:03 am
Location: Melbourne, Victoria Australia

Postby MailEnable » Tue Sep 18, 2007 9:08 am

You should first try to address the reason for the files accumulating.
Most likely you are using a resident scanner that is preventing the files from being deleted. You should exclude the scratch directory from being protected by the scanner so that MailEnable itself can delete the files.

Alternatively, it is possible that if you are using an AV scanner that has issues with cleaning up/scanning. ClamAV can have this problem.

If you cannot address the issue based on above, then you may wish to schedule a script (via Control Panel) that stops the MTA, deletes the contents of the scratch dir, and the starts the mta.

eg:

net stop memtas
[delete files from scratch dir]
net start memtas
Regards, Andrew

jokingelephant
Posts: 23
Joined: Tue Sep 18, 2007 5:05 am

Postby jokingelephant » Tue Sep 18, 2007 9:47 am

Hi,

Yes, we are using Clam AV. May i know how do i exclude the scratch directory from being protected by the Clam AV scanner so that MailEnable itself can delete the files?

Thanks

MailEnable
Site Admin
Posts: 4438
Joined: Tue Jun 25, 2002 3:03 am
Location: Melbourne, Victoria Australia

Postby MailEnable » Tue Sep 18, 2007 10:00 am

The problem with ClamAV is not so much that you need to exclude the directory, but that the scanner itself has threading issues when being called concurrently. ie: It can have issues (like those your experiencing) when you attempt to run multiple instances of the scanner at the same time. The solution is typically to lower the number of transfer threads for the MTA to 1 or 2 threads. This should remove contention for the scanner and will you should notice that the hangover files should not appear. Unless you are running a large number of users or process a large number of messages, the reduction of the mta transfer thread should not cause delays.
Regards, Andrew

jokingelephant
Posts: 23
Joined: Tue Sep 18, 2007 5:05 am

Postby jokingelephant » Tue Sep 18, 2007 1:06 pm

Hi,

May i seek your advise? Where can i lower the number of transfer threads for the MTA to 1 or 2 threads for the Clam AV?

Hope this thread can be a help to others too.

Thanks

MailEnable
Site Admin
Posts: 4438
Joined: Tue Jun 25, 2002 3:03 am
Location: Melbourne, Victoria Australia

Postby MailEnable » Tue Sep 18, 2007 1:10 pm

No problem. This article explains further:
http://www.mailenable.com/kb/content/vi ... D=ME020484
Regards, Andrew

VFSKeith
Posts: 15
Joined: Thu Oct 02, 2014 7:02 pm

Re:

Postby VFSKeith » Mon Sep 11, 2017 9:02 pm

MailEnable wrote:No problem. This article explains further:
http://www.mailenable.com/kb/content/view.asp?ID=ME020484


Hello,

Does the ClamWin Article at https://www.mailenable.com/kb/content/article.asp?ID=ME020484 apply to the ClamAv scanner that installs with MailEnable Enterprise 9.76? I ask because the product name in the article is ClamWin not ClamAV and it instructs you to download and install ClamWIN, but ClamAV installs with MailEnable.

Specifically we were wanting to know if clamdscan.exe can handle multiple MTA threads. We need an AV scanner that integrates seamlessly (plays nice) with Mail Enable but can also handle 24-32 MTA threads.

Thank You,

Keith D.
Thank You,

Keith Damron
VF

MailEnable-Ian
Site Admin
Posts: 8466
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Problematic Mailenable Scratch folder

Postby MailEnable-Ian » Thu Sep 14, 2017 1:22 am

Hi,

The ClamAV scanner included in version 6 on wards is not ClamWin (will update the article accordingly). Answering your question; if using the ClamAV out of box solution we provide then the MTA thread count can run at 64 threads and the clamdscan will handle this.
Regards,

Ian Margarone
MailEnable Support

Who is online

Users browsing this forum: Bing [Bot] and 8 guests