Maximum attachment size

Got problems with Bubba? Then this forum is for you.
Locked
ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Maximum attachment size

Post by ian » 15 Nov 2010, 09:48

Dear All
I'm sure I've seen it somewhere on the forum, but I can't find it now, so I'll ask it anyway: is it possible to change the maximum size of attachement that can be sent with an email on the bubba (one)? I've recently had a few emails not arrive due to the attachment size,and would like to change this to make sending email more reliable...

Cheers, Ian

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: Maximum attachment size

Post by DanielM » 15 Nov 2010, 10:12

You could use message_size_limit in /etc/postfix/main.cf for this. It's not there in the conf delivered with the Bubba, which means a default value of 10240000 bytes per mail.

/Daniel

Ubi
Posts: 1547
Joined: 17 Jul 2007, 09:01

Re: Maximum attachment size

Post by Ubi » 15 Nov 2010, 13:09

and if you are sending via the web interface you should also look at the "upload_max_filesize" and "post_max_size" in php.ini

ubi

ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Re: Maximum attachment size

Post by ian » 15 Nov 2010, 14:57

Thanks for both replies, have made the necessary changes. I sent a large email to myself, but it seems my ISP has a 15MB limit, so I'll try it with a smaller file....

RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Maximum attachment size

Post by RandomUsername » 17 Nov 2010, 12:54

Yes, there will also be a limit on your SMTP server. There are many better ways to share files than email anyway.

DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: Maximum attachment size

Post by DanielM » 17 Nov 2010, 13:42

RandomUsername wrote:Yes, there will also be a limit on your SMTP server. There are many better ways to share files than email anyway.
There sure are. But since my wife's sister sent photos of her first newborn as a mail and it got stopped because my postfix were set to not accept messages above 10MB I learned my lesson. My wife wasn't glad at all, so now my postfix accepts very large mails. Just to be sure.

/Daniel

ian
Posts: 128
Joined: 30 Jul 2007, 09:07

Re: Maximum attachment size

Post by ian » 17 Nov 2010, 14:40

RandomUsername wrote:Yes, there will also be a limit on your SMTP server. There are many better ways to share files than email anyway.
That depends very much on the circumstances. Sending someone a small-ish video by email is much easier than uploading it somewhere and then telling them how to download it....

Locked