Koozali.org: home of the SME Server

adrian

Mail size failure Update

adrian
« on: October 28, 2003, 09:22:21 PM »
Dear all

I have been reading the links here about how a number of users have changed the default mail sizes to be able to upload and receive larger mails. There is alot on here about it and ive read quite alot of entrys.

I ve made the changes on my system for webmail and q-mail and now i cant send or receive mail. is there any way to default this so i can start over. I wanted to set the webmail upload and the qmail mail maximum to 25 meg.

I have picked out the links relevent to me but it's not helping? I have even looked in to Charley brady's how to but cant find the rpm he suggests to down load as the link appears to be missing.

ftp://ftp.e-smith.org/pub/e-smith/contrib/CharlieBrady/RPMS/noarch/e-smith-php-1.5.0-03.noarch.rpm

I can stop and restart the service ok so i know it's running.

SME Server V5.6 - Server Status

Enter the domain name or IP address to check:

The following SME Server V5.0 ports and services appear:

[21] FTP Server: Down (172.31.4.1)
[22] SSH Server: Running (172.31.4.1)
[23] TELNET Server: Running (172.31.4.1)
[25] SMTP Mail Server: Running (172.31.4.1)
[80] HTTP Web Server: Running (172.31.4.1)
[110] POP3 Mail Server: Running (172.31.4.1)
[143] IMAP Mail Server: Running (172.31.4.1)
[389] LDAP Server: Running (172.31.4.1)
[443] SSL Web Server: Running (172.31.4.1)
[980] Server-Manager: Running (172.31.4.1)
[981] SSL Server-Manager: Running (172.31.4.1)
[3128] SQUID Server: Running (172.31.4.1)
[3306] MySQL Server: Running (172.31.4.1)

I dont think i am at total disaster here just need a shove in the right direction or a pointer to an updated howto or even some info how to default it..

Server SME 5.6(U5)

Thank you

adrian

byte

Re: adrian
« Reply #1 on: October 28, 2003, 10:36:11 PM »
Hi, here is a howto for increasing mail attachment size
http://mirror.contribs.org/smeserver/contribs/dmay/mitel/howto/webmail-attachment-size-howto.html/

Not sure how to get it back to defaults tho


Mail size failure Update

Re: adrian
« Reply #3 on: October 28, 2003, 11:18:24 PM »
Hi byte

good speaking to you again.

yeah i looked at those links even looked for the rpm stated ie e-smith-php-1.5.0-03.noarch.rpm but cant actually find it look's like it may be removed. Been to a number of contribs sites but no luck.

However what i did notice was according to charlies peice of how to set this up ie below, i found that no matter what i just couldnt send or receive mail at all.

Charlies Peice:

Add these settings into the configuration database to increase the maximum attachment size to 25MB:



Expand the template:
/sbin/e-smith/config setprop php MaxExecutionTime 1800
/sbin/e-smith/config setprop php MemoryLimit 100M
/sbin/e-smith/config setprop php PostMaxSize 25M
/sbin/e-smith/config setprop php UploadMaxFilesize 25M
/etc/e-smith/events/actions/conf-php

Then restart httpd:

/etc/rc.d/init.d/httpd-e-smith graceful


now i dont know whether he was actually telling me to put the line in as the following /sbin/e-smith/config setprop php MemoryLimit 100M but i changed the above to get it working again.

Expand the template:
/sbin/e-smith/config setprop php MaxExecutionTime 1800
/sbin/e-smith/config setprop php MemoryLimit 100000000
/sbin/e-smith/config setprop php PostMaxSize 20000000
/sbin/e-smith/config setprop php UploadMaxFilesize 20000000
/etc/e-smith/events/actions/conf-php

Then restart httpd:

/etc/rc.d/init.d/httpd-e-smith graceful

and for my qmail i did the following.

/sbin/e-smith/db configuration setprop smtpfront-qmail \MaxMessageSize 20000000

/sbin/e-smith/signal-event email-update

Now i have my mail working again..phew.

If any of this is wrong in any way byte then give us a nudge so i can put it right.

Cheers for getting in touch byte really appreciate it

adrian

byte

Re: adrian
« Reply #4 on: October 28, 2003, 11:37:16 PM »
If your still looking for that rpm its in here http://wiki.contribs.org/e-smith/contrib/CharlieBrady/RPMS/noarch/

No problem :-D

Mail size failure Update

Re: adrian
« Reply #5 on: October 28, 2003, 11:55:24 PM »
Cheers byte, i thing 5.6 has a newer revision.

hope to speak soon best regards

adrian

byte

Re: adrian
« Reply #6 on: October 29, 2003, 12:00:56 AM »
one way to try that out is do an rpm -qi e-smith-php that will give you details of rpm currently installed if it is

Charlie Brady

Re: adrian
« Reply #7 on: October 29, 2003, 12:18:10 AM »
byte wrote:

> If your still looking for that rpm its in here
> http://wiki.contribs.org/e-smith/contrib/CharlieBrady/RPMS/noarch/

Since it's way out of date, I've now removed it. The rest of the HOWTO can be followed, but just skip the bit about upgrading to the version of e-smith-php. Send Darrell a mail asking him to update the HOWTO.

Charlie

Mail size failure Update

Re: adrian
« Reply #8 on: October 29, 2003, 11:29:58 PM »
Cheers Charlie
Cheers byte

adrian