Author Topic: A problem with increase size of attachment in config  (Read 6026 times)

Offline kea

  • Newbie
  • *
  • Posts: 3
A problem with increase size of attachment in config
« on: November 15, 2023, 11:41:00 AM »
Hello!
I'm trying to increase size of attachment. Now it 20Mb.  I've add in config
postfix
@mail:~# postconf -n message_size_limit
message_size_limit = 50240000
RC conf at bottom line
$config['max_message_size']='50M';

But still get 20Mb limit when attach file


Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,855
Re: A problem with increase size of attachment in config
« Reply #1 on: November 16, 2023, 02:52:01 AM »
Check `upload_max_filesize` and `post_max_size` in your PHP config
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline kea

  • Newbie
  • *
  • Posts: 3
Re: A problem with increase size of attachment in config
« Reply #2 on: November 16, 2023, 04:55:29 AM »
Check `upload_max_filesize` and `post_max_size` in your PHP config
Thanks for advice , it was in one of php.ini's