1

Topic: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

======== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

I have some problems with my roundcube from iredmail sad
when i try to attach file with 6kb size, it works. but not with 9kb files.
what's wrong?

here i show you with a picture, please help me sad

Post's attachments

r.JPG
r.JPG 11.03 kb, file has never been downloaded. 

r2.JPG
r2.JPG 27.41 kb, 1 downloads since 2016-01-31 

r3.JPG
r3.JPG 11.38 kb, file has never been downloaded. 

r4.JPG
r4.JPG 20.62 kb, 1 downloads since 2016-01-31 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

*) Did you see any error in Apache/Nginx/php-fpm log file?
*) Does this tutorial work for you?
http://www.iredmail.org/docs/change.mai … .size.html

3

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

*) Did you see any error in Apache/Nginx/php-fpm log file?
*) Does this tutorial work for you?
http://www.iredmail.org/docs/change.mai … .size.html

Thanks, Zhang.
here is my apache log file: root:~# tail /var/log/httpd-error.log
==============================================================================
Created directory: /var/net-snmp/mib_indexes
[Mon Feb 01 07:20:04.096732 2016] [mpm_prefork:notice] [pid 95949] AH00163: Apache/2.4.17 (FreeBSD) OpenSSL/1.0.1p-freebsd mod_wsgi/4.4.13 Python/2.7.10 configured -- resuming normal operations
[Mon Feb 01 07:20:04.096850 2016] [core:notice] [pid 95949] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Feb 01 09:28:38.560645 2016] [mpm_prefork:notice] [pid 95949] AH00169: caught SIGTERM, shutting down
[Tue Feb 02 00:55:45.970147 2016] [ssl:warn] [pid 1185] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Feb 02 00:55:45.979498 2016] [ssl:warn] [pid 1185] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 02 00:55:46.016007 2016] [ssl:warn] [pid 1186] AH01906: www.example.com:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Feb 02 00:55:46.016072 2016] [ssl:warn] [pid 1186] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Feb 02 00:55:48.300216 2016] [mpm_prefork:notice] [pid 1186] AH00163: Apache/2.4.17 (FreeBSD) OpenSSL/1.0.1p-freebsd mod_wsgi/4.4.13 Python/2.7.10 configured -- resuming normal operations
[Tue Feb 02 00:55:48.300319 2016] [core:notice] [pid 1186] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
==============================================================================

I've tried step: "Change PHP setting to allow to upload large attachment" & "Change Roundcube webmail settings to allow large attachment" from http://www.iredmail.org/docs/change.mai … .size.html but still not work, Zhang.

4

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

No related error in pasted log. No clue yet. sorry. sad

5

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

No related error in pasted log. No clue yet. sorry. sad

Thanks, Zhang.
I never had any problems like this before when I use version 0.9.2 on my bsd.
is there a way so that I can still use version 0.9.2? I really need it, Zhang. sad

6

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

*) FreeBSD ports tree changed too much, i'm afraid that iRedMail-0.9.2 doesn't work with it anymore.
*) I suggest you try to reproduce this issue again, and check whether there's any related log in Postfix and Apache (or php-fpm) log file.

7 (edited by gibranbadrulzaman 2016-02-03 12:04:16)

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

*) FreeBSD ports tree changed too much, i'm afraid that iRedMail-0.9.2 doesn't work with it anymore.
*) I suggest you try to reproduce this issue again, and check whether there's any related log in Postfix and Apache (or php-fpm) log file.

Thanks, Zhang.
but, i dont believe it works. cuz i didn't  see any error, so how can i know it, Zhang?

i have another pc with bsd 10 & 10.1 inside, i'll try to install version 0.9.2 with the old ports-tree. so please tell me how, i've tried to force install 0.9.2 but iredmail installer tell me to install 0.9.4 sad

8

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

Run the iRedMail installer with command:

CHECK_NEW_IREDMAIL=YES bash iRedMail.sh

It will skip checking new iRedMail release.

9

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

Run the iRedMail installer with command:

CHECK_NEW_IREDMAIL=YES bash iRedMail.sh

It will skip checking new iRedMail release.

Thanks, Zhang. I'll try big_smile

10

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

Run the iRedMail installer with command:

CHECK_NEW_IREDMAIL=YES bash iRedMail.sh

It will skip checking new iRedMail release.

Thank you so much, Zhang.
i've tried, and all working as well.

There might be packages that you forgot to input into version 0.9.4 for freebsd? or there is the influence of the php version? While yesterday I use version 0.9.4 on freebsd, I get php version 5.6 while in version 0.9.2 I get php version 5.5.

11

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

The latest iRedMail release always tries to use the newest packages on FreeBSD.

12

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

*) Did you see any error in Apache/Nginx/php-fpm log file?
*) Does this tutorial work for you?
http://www.iredmail.org/docs/change.mai … .size.html


I experience the same thing, FreeBSD 10.2 iRedMail-0.9.3, nothing related in the logs, tutorial does not make any difference
hmm

Please help!

13

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

How about try to tune related Nginx/Roundcube settings?

14

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

I also have the same problem.

Freebsd10.2, iRedMail 0.9.4

Roundcube upload failed.

I also try to reinstall different  version of Roundcube, still the same.

15

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

Hi karajan,

*) Are you running Apache or Nginx?
*) Please recompile port lang/php56 and www/mod_php with 'ZTS' option disabled.
*) for www/mod_php, please also disable option 'AP2FILTER'.

16

Re: FreeBSD 10.2 iRedMail-0.9.4- Roundcube can't attach file more than 8kb

ZhangHuangbin wrote:

Hi karajan,

*) Are you running Apache or Nginx?
*) Please recompile port lang/php56 and www/mod_php with 'ZTS' option disabled.
*) for www/mod_php, please also disable option 'AP2FILTER'.


Thanks, this is useful.  Solved my problem.