A couple of things before jumping to follow the direction on the page that Tomas posted.. I should point out that sending such large files via email is generally frowned upon (IMHO); email was never really designed to handle large files even though it's possible to. This is what FTP/SFTP and other file transfer protocols were designed to do. I do, however, understand that there are situations in which it's the only feasible method of transferring a large file.
Also, make sure that *before* you start changing settings, you understand where your error is coming from. Is the error being reported by your MTA (sendmail) or by PHP? Don't simply boost all the limits across the board without considering the implications. Changing the php.ini file will allow *all* the PHP applications on this server to use that larger file size limit and changing sendmail will allow *all* email senders to use that larger file size. I also should note also, to hopefully save you some potential frustration, that while a file may be 5.2 meg sitting on your hard drive, when encoded into ASCII format for transmission via email, the encoded file can increase significantly in size, as much as 30-40% (IIRC) therefore you would need to account for that when increasing your limits. I hope this helps, Mr. Kurchis, and I wish you the best of luck. Alejandro Kurchis wrote: >Hi people, > >I have Squirrelmail working with Sendmail, and when I login via web and I >want to send a mail with a file attachement of 5 MB, I can't do it because I >read a message saying the attachement limit is of 2 MB. > >I ask you: where and how can I change this attachement limit from 2 MB to a >higher value ??? > >Thankssssssssss > > >A.K. > > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >-- >squirrelmail-users mailing list >Posting Guidelines: >http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines >List Address: squirrelmail-users@lists.sourceforge.net >List Archives: >http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users