Koozali.org: home of the SME Server

Limit Email to 10M

Byte

Limit Email to 10M
« on: November 26, 2003, 12:41:51 PM »
Hi,

Is there a way you can limit email sent from outlook express on a client machine to 10MB, our server currently allows unlimited amount of bandwidth for sending emails im not using webmail so the php howto does not help me.

Im using 5.6 SME

TIA

Byte

Gulkings

Re: Limit Email to 10M
« Reply #1 on: November 26, 2003, 09:13:05 PM »
Hi Byte !

Try this:

To set size:
[root@gulkings /]# /sbin/e-smith/db configuration setprop php UploadMaxFilesize 10M

To execute:

[root@gulkings /]# /sbin/e-smith/signal-event email-update

Mick

Re: Limit Email to 10M
« Reply #2 on: November 27, 2003, 03:34:11 PM »
That is for webmail - the question was for pop3 email which I would be interested in knowing how to limit too

Darrell May

Re: Limit Email to 10M
« Reply #3 on: November 27, 2003, 10:52:03 PM »
IIRC....

/sbin/e-smith/config setprop smtpfront-qmail MaxMessageSize 10M
/sbin/e-smith/signal-event email-update

Darrell

Byte

Re: Limit Email to 10M
« Reply #4 on: November 28, 2003, 12:14:31 PM »
Hi,

Darrell, Thanks I will give that a try...

Kind Regards

Byte

Byte

Re: Limit Email to 10M
« Reply #5 on: November 28, 2003, 01:22:05 PM »
Darrell - I have tried this and it works OK, 2 quick questions....

When run the /sbin/e-smith/signal-event email update it sits at command line for ages, should this happen? I just hit ^C and brought me back to command line should I add the & symbol on the end of that line?

Second

I take it this set limit is for both ways incoming and outgoing?


Thanks again for you help!!

Kind Regards

Byte

Gulkings

Re: Limit Email to 10M
« Reply #6 on: November 28, 2003, 05:21:39 PM »
Mick wrote:
>
> That is for webmail - the question was for pop3 email which I
> would be interested in knowing how to limit too

Ops, sorry, must have skipped that part ;)

Andy

Re: Limit Email to 10M
« Reply #7 on: December 04, 2003, 07:12:17 PM »
I did this but now I get an error sending any and all email !!!

The server responded: 552 Sorry, that message exceeds the maximum message length.'

How do I reset things so I can send emails again?