Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Byte on November 26, 2003, 12:41:51 PM

Title: Limit Email to 10M
Post by: Byte 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
Title: Re: Limit Email to 10M
Post by: Gulkings 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
Title: Re: Limit Email to 10M
Post by: Mick 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
Title: Re: Limit Email to 10M
Post by: Darrell May 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
Title: Re: Limit Email to 10M
Post by: Byte on November 28, 2003, 12:14:31 PM
Hi,

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

Kind Regards

Byte
Title: Re: Limit Email to 10M
Post by: Byte 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
Title: Re: Limit Email to 10M
Post by: Gulkings 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 ;)
Title: Re: Limit Email to 10M
Post by: Andy 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?