LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-19-2009, 03:14 PM   #1
madfed
Member
 
Registered: Jul 2008
Location: Kampala Uganda
Distribution: Fedora 7& SUSE 11.0
Posts: 48

Rep: Reputation: 15
Email Attachment size limit


Hi Guys,
Just installed and configured Postfix+Dovecot+squirrelmail on SUSE10.3, how do i set the attachement limit to like 50MB?
i have tried to change the 'message_size_limit' parameter but that hasn't changed anything.
Any help would be Appreciated.

Last edited by madfed; 06-19-2009 at 03:15 PM.
 
Old 06-20-2009, 04:07 AM   #2
ramesh.mimit
LQ Newbie
 
Registered: Nov 2006
Posts: 26

Rep: Reputation: 15
Did u restart the postfix service after making the changes. This is the only parameter by which attachment size limit can be set.

By default limit is 10MB. You can change the limit using postconf command. To check the current limits you can run

postconf -d | grep message_size
It will show you the size in bytes.
To change the value
Run
postconf -e 'message_size_limit = 20000000'
postconf -e 'mailbox_size_limit = 100000000'

This will accept messages of sizes up to 20000000 bytes, and the max. mailbox size is then limited to 100000000 bytes. Use whatever values you like. Restart Postfix afterwards:
/etc/init.d/postfix restart


Regards
Ramesh Kumar
http://linuxtrove.com

Last edited by ramesh.mimit; 06-20-2009 at 04:15 AM.
 
Old 06-20-2009, 05:20 AM   #3
madfed
Member
 
Registered: Jul 2008
Location: Kampala Uganda
Distribution: Fedora 7& SUSE 11.0
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ramesh.mimit View Post
Did u restart the postfix service after making the changes. This is the only parameter by which attachment size limit can be set.

By default limit is 10MB. You can change the limit using postconf command. To check the current limits you can run

postconf -d | grep message_size
It will show you the size in bytes.
To change the value
Run
postconf -e 'message_size_limit = 20000000'
postconf -e 'mailbox_size_limit = 100000000'

This will accept messages of sizes up to 20000000 bytes, and the max. mailbox size is then limited to 100000000 bytes. Use whatever values you like. Restart Postfix afterwards:
/etc/init.d/postfix restart


Regards
Ramesh Kumar
http://linuxtrove.com
Hi,
i've changed that parameter for like 5 times now with different values and i make sure i reload postfix every after change but the limit has remained 2MB.
Could you be knowing why?
 
Old 06-20-2009, 09:03 PM   #4
fritz001
Member
 
Registered: Aug 2004
Posts: 127

Rep: Reputation: 18
as you're using squirrelmail which is written in PHP you have to edit php.ini and change upload_max_filesize = 20M

restart apache after that
 
Old 06-21-2009, 04:45 AM   #5
madfed
Member
 
Registered: Jul 2008
Location: Kampala Uganda
Distribution: Fedora 7& SUSE 11.0
Posts: 48

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by fritz001 View Post
as you're using squirrelmail which is written in PHP you have to edit php.ini and change upload_max_filesize = 20M

restart apache after that
Hi,
thanks man. that really worked out. U Rock.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Outgoing Attachment Size limit. nishith Linux - Server 1 12-15-2008 07:45 AM
Postfix Email Size Limit? carlosinfl Linux - Server 1 01-16-2008 05:52 PM
evolution file attachment size limit? abhorrent Linux - Software 2 05-06-2004 05:35 AM
account and email attachment limit red_phoenix Debian 2 09-16-2003 04:22 AM
how to limit email accounts size? zovres Linux - General 1 04-10-2003 10:51 PM


All times are GMT -5. The time now is 04:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration