Koozali.org: home of the SME Server

New SME Server 9 configuration / 452 message denied temporarily

Offline georgios

  • ****
  • 81
  • +0/-0
New SME Server 9 configuration / 452 message denied temporarily
« on: September 02, 2015, 04:15:27 PM »
error post sorry (you can delete the first)
« Last Edit: September 02, 2015, 04:35:27 PM by georgios »

Offline georgios

  • ****
  • 81
  • +0/-0
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #1 on: September 02, 2015, 04:24:02 PM »
error post sorry (you can delete the second) really sorry
« Last Edit: September 02, 2015, 04:35:39 PM by georgios »

Offline georgios

  • ****
  • 81
  • +0/-0
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #2 on: September 02, 2015, 04:25:20 PM »
We have a new SME 9 Configuration till 2 weeks and the Server do not accept attachments more than 2/3MO this day.

I receive on TB or Outlook the following error message " error 452 message denied temporarily"

After checking my configuration I have this set-up regarding the max file size:
[root@serv~]# config getprop qmail MaxMessageSize
20000000
[root@serv~]# config getprop qpsmtpd MaxScannerSize
25000000
[root@serv~]# config getprop clamav MaxFileSize
15M




Then I was able to send file from 5 - 6...12 MO / 15 MO (before I could not)

Here it is my clam config (never touch):
[root@serv ~]# config show clamd
clamd=service
    MemLimit=700000000
    status=enabled
[root@neomail ~]#


here is also the logs from qsmtpd:
[root@serv ~]# egrep -i "allocate" /var/log/qpsmtpd/*
/var/log/qpsmtpd/current:@4000000055e6f2740e652864 23346 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1441198695:23346:0: Can't allocate memory ERROR
/var/log/qpsmtpd/current:@4000000055e6f404242574c4 23759 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1441199096:23759:0: Can't allocate memory ERROR
/var/log/qpsmtpd/current:@4000000055e6f8b433798744 25187 virus::clamav plugin (data_post): clamscan results: /var/spool/qpsmtpd/1441200296:25187:0: Can't allocate memory ERROR
[root@neomail ~]#


What I DO:
I add this 2 lines:
config setprop php UploadMaxFilesize 20M
config setprop spamassassin MaxMessageSize 20000000
and I do a signal-event post-upgrade; signal-event reboot

in the Update Software 3 updates are available and not done :
httpd-tools.x86....el6.centos
httpd.x86......el6.centos
mod_ssl.x86...el6.centos

Is something wrong on the configuration?

many thanks

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #3 on: September 02, 2015, 04:35:09 PM »
Looks like the memory limit is too low for clamd (see http://bugs.contribs.org/show_bug.cgi?id=8654). You can rise it a bit, eg:

Code: [Select]
db configuration setprop clamd MemLimit 1000000000
signal-event email-update
C'est la fin du monde !!! :lol:

Offline georgios

  • ****
  • 81
  • +0/-0
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #4 on: September 02, 2015, 04:37:18 PM »
Looks like the memory limit is too low for clamd (see http://bugs.contribs.org/show_bug.cgi?id=8654). You can rise it a bit, eg:

Code: [Select]
db configuration setprop clamd MemLimit 1000000000
signal-event email-update

Hi Daniel,
thanks for your fast answer,

what I do for a user today, it is that I migrate manually from Local Folders (thunderbird) this afternoon, 2 GIG mails, with DRAG and DROP from Thunderbird to IMAP MailBox, is this may have affect my server?

I will increase what you mention me, thank you.
My Clamv version is :     0.98.7/20869/Wed Sep 2 15:38:47 2015
« Last Edit: September 02, 2015, 04:40:23 PM by georgios »

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #5 on: September 02, 2015, 04:41:34 PM »
what I do for a user today, it is that I migrate manually from Local Folders (thunderbird) this afternoon, 2 GIG mails, with DRAG and DROP from Thunderbird to IMAP MailBox, is this may have affect my server?

No, this won't have any impact on this issue because moving email through an IMAP client doesn't involve clamd (which is only used to scan inbound emails, arriving through qpsmtpd)
C'est la fin du monde !!! :lol:

Offline georgios

  • ****
  • 81
  • +0/-0
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #6 on: September 02, 2015, 04:58:06 PM »
No, this won't have any impact on this issue because moving email through an IMAP client doesn't involve clamd (which is only used to scan inbound emails, arriving through qpsmtpd)

merci pour ta reponse. Thank for your answer,
so you think I will be quiet now with the new clamd MemLimit  ? :)  :-o

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #7 on: September 03, 2015, 12:21:41 PM »
georgios, please DON'T delete post content, thank you :-)

Offline georgios

  • ****
  • 81
  • +0/-0
Re: New SME Server 9 configuration / 452 message denied temporarily
« Reply #8 on: September 03, 2015, 12:28:58 PM »
georgios, please DON'T delete post content, thank you :-)

Bonjorno Amici Stefano,
yeah sorry, it was the same text I do mistake with my browser (repeated text)