• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Attachment too large. AtMail

Alexey_Shpak

Basic Pleskian
Hello.

We have interesting problem with Plesk 10.4.4 upgrade 23, Centos 6

In /etc/php.ini:

post_max_size = 80M
upload_max_filesize = 80M

But when I try to add attachement via AtMail (20 M), I saw panel with : "Attachement too large".
 
What sort of errors in /var/log/atmail/ ?
Also you can check Atmail settings in /etc/psa-webmail/atmail/atmail.conf and /var/www/atmail/libs/Atmail/Config.php
 
In AtMail Error

[Mon Apr 02 15:29:39 2012] [error] [client *******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.**.by/compose.php?func=attachment&unique=60721
[Mon Apr 02 15:47:36 2012] [error] [client ******] File does not exist: /var/www/atmail/javascript/fckeditor/editor/javascript, referer: http://webmail.*****.by/javascript/...ml?InstanceName=ComposeMsgText&Toolbar=Atmail
[Mon Apr 02 15:47:37 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/parse.php?f...showmail_interface.html&ajax=1&func=Inbox&To=
[Mon Apr 02 15:47:49 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:47:55 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/compose.php?sending_attachment=1&unique=89506
[Mon Apr 02 15:48:57 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/parse.php?f...showmail_interface.html&ajax=1&func=Inbox&To=
[Mon Apr 02 15:49:04 2012] [error] [client *****] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:49:06 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/compose.php?sending_attachment=1&unique=89506
[Mon Apr 02 15:50:22 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/parse.php?f...showmail_interface.html&ajax=1&func=Inbox&To=
[Mon Apr 02 15:50:41 2012] [error] [client ******] PHP Warning: POST Content-Length of 621849201 bytes exceeds the limit of 58720256 bytes in Unknown on line 0, referer: http://webmail.******.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:50:41 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer: http://webmail.*****.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:51:31 2012] [error] [client ******] PHP Warning: POST Content-Length of 390417006 bytes exceeds the limit of 58720256 bytes in Unknown on line 0, referer: http://webmail.*******.by/compose.php?sending_attachment=1&unique=89506


cat /etc/psa-webmail/atmail/atmail.conf

Alias = atmail
Name = AtMail
Version = 1.04
Release = rhel6.build1012110623.16
Docroot = /var/www/atmail
Enabled = true


File Config.php standart, i not changed it.

To 'fix' problem i comment string:

in file var/www/atmail/libs/Atmail/SendMsg.php

// if ($_FILES['fileupload']['error'] == 1 || $_FILES['fileupload']['error'] == 2 || $_FILES['fileupload']['size'] > ( $pref['max_msg_size'] * 1048576 )) { // return false; // }

Now, our clients can add attachement not greater, than php value in php.ini
 
Looks like Atmail issue. Did you try to report it to Atmail forum, support?
 
You are right. But set of third-party software are used in Plesk... :)
 
I understand, but we haven't issue.

Horde not worked (Error in Login)

AtMail(error in size).

In my opinion: if Parallels team use third-party software in this product, there are must now how it works :)

I thought, you help me.
Because, in AtMail forum, users will say me, that : "it's plesk bag" ;)

of.top

Previosly, all used freebsd our another unix, without web unterface, or GUI. ;)))
 
Something in your logs is also of interest, we are using PLESK 10.4, and atmail 1.04 too..
and I also saw that we have:

File does not exist: /var/www/atmail/javascript/fckeditor/editor/javascript, referer: http://webmail.kalfaoglu.net/javasc...ml?InstanceName=ComposeMsgText&Toolbar=Atmail

in the logs.. Doesn't this error hinder mail composition?

My aim was to enable expunge trash on exit, however it ignores that parameter in its Config file.

Btw, where are the user configs held in this version? I no longer see them in /etc/psa-webmail/atmail/conf.d folder..

thanks, -t
 
Back
Top