Koozali.org: home of the SME Server

2GB Mail for 1 user!

Ian

2GB Mail for 1 user!
« on: October 13, 2003, 08:29:47 PM »
Hi all,

I received a call from a client of ours who runs SME 5.6.  A user could no longer access his webmail.  He gets the login from IMP but then the connection times out.  As I was passing their offices this morning I thought I would look in.  This user has no files in ibays but has a quota usage (shown in the web management, although no quotas in place) of 1911.32Mb-!

I guess that is why he cannot log in!  Indeed, I could not even telnet to the server on port 110 and access his mailbox...

My problem is how can I allow him to log in to "prune" his usage - or will I need to simply delete files from his maildir?

Any help would be most welcome.

Thanks in advance

Ian

Byte

Re: 2GB Mail for 1 user!
« Reply #1 on: October 13, 2003, 08:44:54 PM »
That's a big attachment ;-)

That is why he cant login as you would effectively need to increase a setting in PHP...But your best bet is to delete the mail that is 2GB or can you download via a workstation using Outlook...


2GB that must be some email

Byte

Greg Zartman

Re: 2GB Mail for 1 user!
« Reply #2 on: October 13, 2003, 09:06:14 PM »
Ian,

Why not SSH into the machine and access the users home directory and see what's up (e.g.  /home/e-smith/files/user_name)?

If you do find a big message, simply move it to an ibay or something so that the user can log it.   Either that, or delete it and be done with it (that's what I would do.).

Greg Zartman

Greg Zartman

Re: 2GB Mail for 1 user!
« Reply #3 on: October 13, 2003, 09:10:09 PM »
> Why not SSH into the machine and access the users home
> directory and see what's up (e.g.
> /home/e-smith/files/user_name)?

That is /home/e-smith/files/users/user_name.

Sorry

Greg

Ian

Re: 2GB Mail for 1 user!
« Reply #4 on: October 13, 2003, 09:17:42 PM »
Hi,

I did look here but the mail has obviously accumulated over time as there does not appear to be one huge mail that I can see...

Apart from him losing some mail (serves him right - ;) ), is there any harm in my deleting older date stamp files from here?

Ian

Greg Zartman

Re: 2GB Mail for 1 user!
« Reply #5 on: October 13, 2003, 09:23:22 PM »
Ian,

You really ought to have a look at some log files and see what's up.  A user exceeding his quota shouldn't prevent him from logging in.

> Apart from him losing some mail (serves him right - ;) ), is
> there any harm in my deleting older date stamp files from here?

As long as all you are deleting is email, nothing should be harmed as far as the system goes.   I'd just refrain from using something like rm -r -f * to delete the files in question.

Greg Zartman

Jens Kruuse

Re: 2GB Mail for 1 user!
« Reply #6 on: October 13, 2003, 10:20:40 PM »
You could use Midnight Commander (mc) to look at the directory, sort by size, mark with 'insert' and delete with F8. I use mc for a lot of my file management chores.

/Jens

Bob Todd

Re: 2GB Mail for 1 user!
« Reply #7 on: October 16, 2003, 03:54:11 AM »
I have same problem with a user with 32Gb of e-mail according to the server manager. I have no quotas installed and the drive in question is only 15Gb capacity. User cant send/receive mail. Havent checked if he can login.

Guck Puppy

Re: 2GB Mail for 1 user!
« Reply #8 on: October 16, 2003, 04:08:28 AM »
Bob Todd wrote:
> I have same problem with a user with 32Gb of e-mail according
I just want to say that's just outrageous.  SSH into the server, change to his home dir, then into the Mail subdir and confirm that with :

du --max-depth=1 --human-readable

> to the server manager. I have no quotas installed and the
> drive in question is only 15Gb capacity.
Some mistake surely? 32Gb on a 15Gb drive?

G

Dan Brown

Re: 2GB Mail for 1 user!
« Reply #9 on: October 16, 2003, 04:15:03 AM »
Or, for much less typing:

# du -sh

Guck Puppy

Re: 2GB Mail for 1 user!
« Reply #10 on: October 16, 2003, 04:49:36 AM »
Dan Brown wrote:
> # du -sh

Gah, linux is cryptic enough already! :P

G