1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Attachment too large. AtMail

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by Alexey_Shpak, Apr 2, 2012.

  1. Alexey_Shpak

    Alexey_Shpak Basic Pleskian

    18
    60%
    Joined:
    Dec 31, 2010
    Messages:
    49
    Likes Received:
    0
    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".
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    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
     
  3. Alexey_Shpak

    Alexey_Shpak Basic Pleskian

    18
    60%
    Joined:
    Dec 31, 2010
    Messages:
    49
    Likes Received:
    0
    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
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    Looks like Atmail issue. Did you try to report it to Atmail forum, support?
     
  5. Alexey_Shpak

    Alexey_Shpak Basic Pleskian

    18
    60%
    Joined:
    Dec 31, 2010
    Messages:
    49
    Likes Received:
    0
    No, i didn't

    I think : "If we use Plesk Panel, at first we can asked to Parallels team" :)

    Sorry for my English
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,557
    Likes Received:
    1,242
    Location:
    Novosibirsk, Russia
    You are right. But set of third-party software are used in Plesk... :)
     
  7. Alexey_Shpak

    Alexey_Shpak Basic Pleskian

    18
    60%
    Joined:
    Dec 31, 2010
    Messages:
    49
    Likes Received:
    0
    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. ;)))
     
  8. tkalfaoglu

    tkalfaoglu Regular Pleskian

    30
    68%
    Joined:
    Oct 6, 2005
    Messages:
    290
    Likes Received:
    1
    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
     
Loading...