Link to home
Start Free TrialLog in
Avatar of techmiss
techmissFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Mailx administration

Hi all,

When I log into my system (Red Hat Enterprise  2.6.9-42.ELsmp) I am told I have new mail.

I can run "mailx" to look at my mail but I have 13k + mails waiting for me.

How can I perform basic admimnistration on this mail box. i.e:

1) Set quotas
2) Bulk Delete

Thanks

K


Avatar of Kerem ERSOY
Kerem ERSOY

Hi,

1) What do you mean by set quotas?
2) If you want to delete all mails you can do this:

> /var/spool/mail/username

Where username is the username for which you want to delete all mails.

Cheers,
K.
Avatar of techmiss

ASKER

Thanks for reply,

When I say quotas, I want to limit the maximum size of all mailboxes to say 100MB or so..

Cheers

K
You can limit mailbox size using your MTA (Mail Transfer Agent)  max file size setting ( depending on your MTA) or Quota over your filesystem.

Cheers,
K.
How can I ascertain which MTA I am using (within Red Hat Enterprise?)

Thanks

K
RHEL uses sendmail by default. If you2ve installed postfix it would replace your sendmail. If you have system-switchmail command installed it would show you the default MTA and any alternatives. If not you can install it with:

yum install system-switch-mail

If you're not able to install the program you can still use rpm:

chkconfig --list |grep :on | egrep -e "postfix|sendmail"

Will show you the active MTA.

Cheers,
K.



Sorry, I think this question is going in the wrong direction from all that time ago.

Put simply, I am logged into Linux, I type "mail" and I am told I have 14382 new messages.  Obviously I can't manage this number of emails in this manner so I was wondering what tools are avaliable to help me; be it through the GUI or some kind of Legacy app.

Thanks and sorry for confusion.

K
ASKER CERTIFIED SOLUTION
Avatar of Kerem ERSOY
Kerem ERSOY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial