Page 1 of 1

Today's total

Posted: 08 Apr 2014 09:15
by DemonRok
It's a joke! Ain't it?

Re: Today's total

Posted: 08 Apr 2014 23:35
by shawniverson
I had the same problem. Few things to check.

1) Too many mailscanner threads (no more than 2 per vCPU)

2) Mailscanner Processing attempts bug

http://forum.efa-project.org/viewtopic.php?f=13&t=552

3) If all else fails, examine the mail log to see exactly why MailScanner is failing and retrying messages.

Re: Today's total

Posted: 09 Apr 2014 08:57
by DemonRok
shawniverson wrote:I had the same problem. Few things to check.

1) Too many mailscanner threads (no more than 2 per vCPU)
Now was set to default (2) but status.php say

MailScanner: YES 4 children Postfix: YES 1 proc(s)

2 x CPU number ^_^
shawniverson wrote:2) Mailscanner Processing attempts bug

http://forum.efa-project.org/viewtopic.php?f=13&t=552
Well, I set Maximum Processing Attempts = 0
shawniverson wrote:3) If all else fails, examine the mail log to see exactly why MailScanner is failing and retrying messages.
when i tail -f /var/log/mailog
this the code:

Code: Select all

Apr  8 07:45:05 efamx MailScanner[1674]: Clamd::ERROR:: COULD NOT CONNECT TO CLAMD, RECOMMEND RESTARTING DAEMON :: .
Apr  8 07:45:16 efamx MailScanner[1674]: Virus Scanning: Clamd found 1 infections
Apr  8 07:45:16 efamx MailScanner[1674]: Virus Scanning: No virus scanners worked, so message batch was abandoned and re-tried!
...and CPU goes to 100%

With 1) and 2) settings all is well!!!