can not see mails


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users can not see mails
# 1  
Old 02-03-2011
can not see mails

Hi,
on AIX 6.1, I want to verify my night batch then I issued mail and :
Code:
> mail
/tmp: No space left on device

What does it mean ? How can I see my mails ?
What shoud I do ?

Also :
Code:
df -k
/dev/hd3           131072    125676    5%       46     1% /tmp

Thank you.

Last edited by big123456; 02-03-2011 at 04:23 AM..
# 2  
Old 02-03-2011
Maybe check if your /var has enough space too. Mails are held in /var/spool/mail/<username>.
You could also try to expand /tmp and after you cleaned up your mails, shrink it, if the space is scarce on it's rootvg.
# 3  
Old 02-03-2011
Thanks, but :
Code:
 cd /var/spool/mai
bash: cd: /var/spool/mai: No such file or directory

# 4  
Old 02-03-2011
Either you have a typo missing the l (L) in mail, or you have most probably a different, similar sounding directory in /var where your mail files are being spooled in. For the second case, you have to use your wits.

I have no AIX 6 at hand, but in 5.3 and 7.1 it is /var/spool/mail.
This User Gave Thanks to zaxxon For This Post:
# 5  
Old 02-03-2011
The "mail" command creates workfiles in the directory /tmp . If your mail file is very large (in you case say 50 Mb) there will not be enough space in /tmp to carry out the mail file edit with the "mail" command.
As advised earlier, first look at a directory listing of /var/spool/mail and see how big the mail file(s) are.

If you are in a hurry and have somewhere else with more free space you could try "mailx" having set a new value for $TMPDIR (see "man mailx").


On my system it would take under a year for root mail to reach 100 Mb . We use a cron to archive root mail daily at 12:00 and just keep 2 weeks worth of day files. It's too much labour to delete mail with the "mail" command.
This User Gave Thanks to methyl For This Post:
# 6  
Old 02-08-2011
Ok , thanks to all.
Effectively it is in :

/var/spool/mail

With 1 Gb size.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to see unread e-mails only in Alpine?

Does anyone have any idea how to see only unread (new) e-mails in the Alpine client when using IMAP? I finally have a fast IMAP client, but don't want to go over all the e-mails I've already read through other clients... Thanks in advance for any hints. ---------- Post updated at 01:21 PM... (0 Replies)
Discussion started by: JamesR404
0 Replies

2. UNIX for Advanced & Expert Users

Checking Mails Using Unix

Hi..Is it possible for unix to monitor outlook for a particualr period of time and trigger oracle upon receiving a mail with particular content... Thanks in advance (1 Reply)
Discussion started by: varadharajan87
1 Replies

3. SuSE

mails not getting sent ...

Guys I have not much idea on suse or any other linux flavour. This is what i have: cat /etc/issue Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l). ps -ef |grep postfix |grep -v grep root 18620 1 0 Mar17 ? 00:00:00 /usr/lib/postfix/master postfix ... (0 Replies)
Discussion started by: ak835
0 Replies

4. Linux

Mails group

Ok, i am using backupPC for backup machines, backuppc can send mail to one person, while i cannot get how to configure many users which seems kind of headache, i want to set a group with a mail so when i send to it it sends to all group members, can i do that using sendmail? again i want a group... (0 Replies)
Discussion started by: XP_2600
0 Replies

5. UNIX for Dummies Questions & Answers

bcc in mails

Hi, how to put some receipients for mail in bcc and some receipients in to. (2 Replies)
Discussion started by: prasee
2 Replies

6. Shell Programming and Scripting

undeleiverd mails

Could anyone tell me where the undelivered mails are stored in unix . i m using IBM AIX 3 version. when i give command mail.it shows me all the mail .but where exactly the mails are stored esp undelivered ones (1 Reply)
Discussion started by: ali560045
1 Replies

7. AIX

Not able to send mails

Hi, I am not able to send mails to the recipents. I am using AIX 5.3 Version and using the below command. cat test.log|mail -s "TestMail" user1@mail.com Can you please tell me is there any configurations to be done or is the above command wrong? Thanks & Regards Sheshadri (3 Replies)
Discussion started by: arsheshadri
3 Replies

8. Shell Programming and Scripting

mailx is not working outside e-mails

HI i wrote schell script to send e-mail automatically. it works only e-mail for our company.say for example, company name is : abc, example: joe@abc.com every body is receiving with xxx@abc.com (abc.com) if any body from outside of our company like joe@xyz.com.(xyz.com) are not... (3 Replies)
Discussion started by: raosurya
3 Replies

9. Shell Programming and Scripting

How to block mails sent using rmail

Hi, I have a bunch of cron jobs which sends e-mails to many set of users. My scripts invoked by cron jobs use "rmail" for this. I have to make a test run of the cron jobs and I don't want the users to get mail during my test run. I cannot got to each script and modify rmail as I have lots of... (1 Reply)
Discussion started by: snvijaysankar
1 Replies

10. UNIX for Dummies Questions & Answers

sneding mails out

Hi all, I am trying to setup a client (on separate network) to send mail via our local SMTP server. I do have responce when I do #telnet mailhost 25 therefore, I can establish connection between the 2. however, when I try to send out testing mail, the following mail is returned in my... (1 Reply)
Discussion started by: stancwong
1 Replies
Login or Register to Ask a Question