Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

attachment size

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
attachment size
  • Quote

Post by Sanity » Sun Jul 05, 2015 3:38 pm

in Roundcube, how can we change the size of attachments?
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: attachment size
  • Quote

Post by imperio » Sun Jul 05, 2015 4:53 pm

Try to change this limits

Code: Select all

upload_max_filesize = 
post_max_size =  
Top

Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: attachment size
  • Quote

Post by Sanity » Sun Jul 05, 2015 7:10 pm

In the php.ini?

I edited the /etc/php5/apache2/php.ini

i ve upload_max_filesize = 64M
post_max_size = 64M

when I send an attachment in roundcube, I have attached max 5mb
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: attachment size
  • Quote

Post by imperio » Sun Jul 05, 2015 7:13 pm

What OS on your server ?
Top

Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: attachment size
  • Quote

Post by Sanity » Mon Jul 06, 2015 11:36 am

Ubuntu 12.04
Top

Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: attachment size
  • Quote

Post by Sanity » Wed Jul 22, 2015 1:25 pm

up
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: attachment size
  • Quote

Post by skurudo » Thu Jul 23, 2015 2:36 am

I think your problem in htaccess from default config. Develover-Roundcube-guys think 5 megabyte is enough. And it's smart may be to think that way ;-)

Check this out -> /etc/roundcube/htaccess

Code: Select all

php_value upload_max_filesize 120M
php_value post_max_size 120M
php_value memory_limit 512M
120M = 120Megabyte -- it's just example, you can change this.

In /etc/php5/apache2/php.ini check again those:

Code: Select all

post_max_size = 64M
upload_max_filesize = 64M
max_input_time = 180
memory_limit = 128M
max_execution_time = 180
Top

Sanity
Posts: 167
Joined: Tue Apr 08, 2014 9:10 am
Contact:
Contact Sanity
Website

Os: Ubuntu 15x
Web: apache + nginx
Re: attachment size
  • Quote

Post by Sanity » Tue Jul 28, 2015 7:30 am

Thank you so much for everything!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: attachment size
  • Quote

Post by skurudo » Tue Jul 28, 2015 7:35 am

Sanity wrote:Thank you so much for everything!
You're welcome, glad to help ;-)
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password