Koozali.org: home of the SME Server

email attachement problem

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Webmail
« Reply #15 on: January 14, 2007, 09:15:05 PM »
Now with sending to webmail to test the attachment size topic ?

I add an attachment of 1.rar file and 1.zip file
Then click on update button, then click send message.

A popup screen comes up and says:
You have chosen to open compose.php
from http://foolishlys.com what should the webbrowser to with this file
  Open with ( browse)
  save to disk
  do this automatically with files like this from now on.

I don't know why this would popup,

This seems to be a standard firefox message when opening files I've downloaded or something but this is now getting ridiculous LOL

Anyhow I can't test my webmail to see if the large attachment  changes are working ?

I don't recall getting this popup message before when sending attachments ? with webmail

I believe before it just gave me a blank page when sending attachements that are too large ?

Anyhow now what ?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Re: Ok so no simple clickety method to change the limits ?
« Reply #16 on: January 14, 2007, 09:30:55 PM »
Quote from: "byte"
Quote from: "Agent86"
I want to send someone a cad drawing or some script to have work done on it. I can't even send it. The one script I need someone to work on for me is like 25megs unzipped and I can't send it.

I do not want any limits on my sending capacity or at least I want much much higher limits ?


What you should remember is that the email protocol is not designed for transferring huge files as most of the servers in the world have a limit for example I know in the dial up days the limit used to be 2MB these days the general rule is for these days I would say 10/15MB even that is still big in email terms.


Yep I think your right, but what to do in the case of sending a large set of cad drawings ? like 40 meg. ? or so isn't it good to have at least some type of account to send this or should I post to ibay and send the link or something.
But basically this seems to be an ongoing problem I'm have work done on a script or things worked on and I can't send a zip file or s series of a few files cause I have limitations.
I do know that when sending large files to my comcast account they were rejected due to being too large.
so perhaps I should change the limits back to defaults or something

And with my webmail popup effect that now occurs I'm not sure what to do now or how to work around that too.

Thanks
Steve

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Ok so no simple clickety method to change the limits ?
« Reply #17 on: January 14, 2007, 10:48:15 PM »
Quote from: "Agent86"
Yep I think your right, but what to do in the case of sending a large set of cad drawings ? like 40 meg. ? or so isn't it good to have at least some type of account to send this or should I post to ibay and send the link or something.


I setup a ftp location for our CAD team to transfer drawings, or depending if they need to edit them I would get them to pdf them then send via email.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: email attachement size
« Reply #18 on: January 14, 2007, 11:57:28 PM »
Quote from: "Agent86"

login as root:
config setprop php MemoryLimit nnnn
config setprop php PostMaxSize mmmm
config setprop php UploadMaxFilesize pppp
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart

example:
[root@myserver ~]# config setprop php MemoryLimit 32M
[root@myserver ~]# config setprop php max_execution_time 300
[root@myserver ~]# config setprop php upload_max_filesize 32M
[root@myserver ~]# config setprop php post_max_size 32M
[root@myserver ~]# expand-template /etc/php.ini
[root@myserver ~]# /etc/rc7.d/S86httpd-e-smith restart



From the zend/php developer manual.
Quote
post_max_size  integer

    Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize.

    If memory limit is enabled by your configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size.


http://devzone.zend.com/manual/view/page/

Default SME values are..

Quote from: "php"
MemoryLimit 32M
PostMaxSize 20M
UploadMaxFilesize 10M
MaxExecutionTime 30


Quote from: "qmail"
MaxMessageSize 15000000


Note also there is no underscore in these php properties used in the configuration db .

To correct your example..

Code: [Select]
[root@myserver ~]# config delprop php MemoryLimit
[root@myserver ~]# config delprop php max_execution_time
[root@myserver ~]# config delprop php upload_max_filesize
[root@myserver ~]# config delprop php post_max_size


Then (my recommendation)..

Code: [Select]
[root@myserver ~]# config setprop php MemoryLimit 128M
[root@myserver ~]# config setprop php PostMaxSize 100M
[root@myserver ~]# config setprop php UploadMaxFilesize 50M
[root@myserver ~]# config setprop php MaxExecutionTime 600
[root@myserver ~]# expand-template /etc/php.ini
[root@myserver ~]# /etc/rc7.d/S86httpd-e-smith restart
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
No underscore
« Reply #19 on: January 15, 2007, 12:33:45 AM »
No underscore ? got it

Thanks, I'm glad I didn't break anything

Please advise further on this subject

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: No underscore
« Reply #20 on: January 15, 2007, 12:41:10 AM »
Quote from: "Agent86"

Please advise further on this subject


I was in the middle of an edit when you posted. Please see my post above.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Limits
« Reply #21 on: January 15, 2007, 01:03:29 AM »
So will these limits only effect the email?
What about the file storage limits for the file manager, which is one of the RPM's for Gollem I've installed ?

Any concerns here ?

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Limits
« Reply #22 on: January 15, 2007, 01:07:33 AM »
Quote from: "Agent86"
So will these limits only effect the email?
What about the file storage limits for the file manager, which is one of the RPM's for Gollem I've installed ?

Any concerns here ?


I don't have the Gollem RPM installed.

You question is best answered by mrjhb3 the resident Horde guru.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
email size solved
« Reply #23 on: January 15, 2007, 04:08:35 AM »
Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Webmail
« Reply #24 on: January 15, 2007, 04:28:00 AM »
Quote from: "Agent86"
Now with sending to webmail to test the attachment size topic ?


I don't understand what you are saying here. That doesn't seem to be a valid English question to me.

Quote

I add an attachment of 1.rar file and 1.zip file
Then click on update button, then click send message.

A popup screen comes up and says:
You have chosen to open compose.php
from http://foolishylys.com what should the webbrowser to with this file
  Open with ( browse)
  save to disk
  do this automatically with files like this from now on.

I don't know why this would popup,


I don't know either. It shouldn't. Have you reported this problem via the Bug Tracker?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Sending with webmail
« Reply #25 on: January 15, 2007, 02:25:27 PM »
I was typing too fast sorry about that.

I meant I was going to test sending attachements with webmail as oppose to sending with my client to test things out some more.

And basically I've got this popup screen.

I'll test a few more times now that I've made a few changes with those commands you gave me for file sizes and things.

Thanks this has really helped me a lot I was starting to get a little discouraged with my SME server trying to make it due the things I want it to ?

Thanks again.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Sending with webmail
« Reply #26 on: January 15, 2007, 04:45:01 PM »
Quote from: "Agent86"

And basically I've got this popup screen.

...


Have you reported the problem via the Bug Tracker?

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
email attachments
« Reply #27 on: January 16, 2007, 04:24:22 AM »
Hi and thanks

I did not get this screen from work, but only from home on the LAN

I did not report the bug until I can be sure that it is a bug and not some setting on my workstation, but I will

Thanks

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
attachment no popup now
« Reply #28 on: January 16, 2007, 02:42:16 PM »
Hi

FYI after restarting the workstation the popup window that was appearing is not appearing now.

Must have just been a fluke
Thanks

Offline del

  • *
  • 765
  • +0/-0
email attachement problem
« Reply #29 on: January 16, 2007, 03:25:15 PM »
Hi Agent86,

How about the webshare contrib? With this you could upload the 40mb file, send a link and the other person (using a user name and password) can download it, edit it and then upload it and email you that it is finished :D
That's what I do.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown