Sponsored Content
Full Discussion: How to empty mail root
Operating Systems Solaris How to empty mail root Post 302255363 by enkei17 on Thursday 6th of November 2008 10:02:49 AM
Old 11-06-2008
How to empty mail root

Hello i need to reduces the size of the mail of root (var/mail/root),
I have mail from last year.

how can i do it?

thank you for your time.
 

10 More Discussions You Might Find Interesting

1. Solaris

forward root mail

how can i forward roots mail, i want every mail fowarded (1 Reply)
Discussion started by: csaunders
1 Replies

2. AIX

Cannot send mail to root@localhost but can externally

hello, I need to configure our AIX 5.3 to relay mail to exchange. I have got this working with no issues yet, I can not send mail to root@localhost. # uname -a AIX Blade1 3 5 0000E6DAD400 # oslevel -s 5300-07-01-0748 # mailq /var/spool/mqueue (2 requests)... (14 Replies)
Discussion started by: pobman
14 Replies

3. HP-UX

HP UX root mail

When I want to see mail after login as root. The screen goes crazy showing lots lots lots of Email. Is there anyway I can delete some old Email?? How? Thanks (1 Reply)
Discussion started by: ldaliosmane
1 Replies

4. SuSE

no mail for root

I want to send an email for SLES server. But when I try with "mail" command it gives me "no mail for root" error. I checked /var/mail/ directory and nothing in there. Any ideas. Thanks (1 Reply)
Discussion started by: s_linux
1 Replies

5. Cybersecurity

Last 24 hours of /var/mail/root/

Hi there, I'm using this command line to get a daily mail through crontab with the content of /var/mail/root: mailx -s "Test My Server" mymail@mail.com </var/mail/root and it works fine, but I'd like to get only the information updated in the last 24 hours. Thanks in advance for any... (2 Replies)
Discussion started by: Giordano Bruno
2 Replies

6. UNIX for Dummies Questions & Answers

What should I do with root mail?

Maybe a stupid question, but I'd like to know others opinions. I have more than 250 servers (mostly domU) and now I'm redirecting root mail to a local account on every vps. To tell U the truth I never read them, but I don't know if I'm making a mistake. My question is simple, what should you do... (1 Reply)
Discussion started by: iga3725
1 Replies

7. UNIX for Dummies Questions & Answers

MTA problems; root gets no mail

Hello, I am afraid that I goofed up my mailing system. I have an Ubuntu 9.10 system $ uname -smor Linux 2.6.31-14-generic x86_64 GNU/Linux I am wanting to receive cron job mails. I noticed that cron jobs were trying to send mail to sendmail. I had installed ssmtp so I could send mail... (1 Reply)
Discussion started by: Narnie
1 Replies

8. Solaris

root mail file corrupted

Hi, We were facing cron job failures and raised a case to our UNIX team, they fixed the issue and said cron job failures due to root mail file corruption. My questions are, 1. Whether root mail file corruption cause cron job failures? 2. Do we have any size limitation for root mail file?... (0 Replies)
Discussion started by: paventhan
0 Replies

9. UNIX for Advanced & Expert Users

[SOLVED] Root mail going to user "mail" instead of root

I running Linux Mint Debian Edition tracking testing and have started a cron job that will send something to the root mailbox. Mint has heirloom and exim4 installed. However, mail was getting nothing. I realized that in /etc/aliases, there was a line root: mintSince you can't log into the mint... (0 Replies)
Discussion started by: Narnie
0 Replies

10. Shell Programming and Scripting

Run sql script and send to mail if not empty?

Thanks again for helping me out. I was wondering if anyone else has encountered this issue. I have a SQL script that produces a list -however we are only interested in that list if the length is not zero Here is the sql file named dailyBalance.sql select * from Balance where... (1 Reply)
Discussion started by: Astrocloud
1 Replies
CONFLICT(8)                                                          [nmh-1.5]                                                         CONFLICT(8)

NAME
conflict - search for alias/password conflicts SYNOPSIS
/usr/lib/mh/conflict [-search directory] [-mail name] [-version] [-help] [aliasfiles ...] DESCRIPTION
Conflict is a program that checks to see if the interface between nmh and the transport system is in good shape Conflict also checks for maildrops in /var/mail which do not belong to a valid user. It assumes that no user name will start with `.', and thus ignores files in /var/mail which begin with `.'. It also checks for entries in the group(5) file which do not belong to a valid user, and for users who do not have a valid group number. In addition duplicate users and groups are noted. If the -mail name switch is used, then the results will be sent to the specified name. Otherwise, the results are sent to the standard output. The -search directory switch can be used to search directories other than /var/mail and to report anomalies in those directories. The -search directory switch can appear more than one time in an invocation to conflict. Conflict should be run under cron(8), or whenever system accounting takes place. FILES
/etc/nmh/mts.conf nmh mts configuration file /etc/passwd List of users /etc/group List of groups /usr/bin/mh/mhmail Program to send mail /var/mail/ Directory of mail drop PROFILE COMPONENTS
None SEE ALSO
mh-alias(5) DEFAULTS
`aliasfiles' defaults to /etc/nmh/MailAliases CONTEXT
None MH.6.8 11 June 2012 CONFLICT(8)
All times are GMT -4. The time now is 03:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy