Sponsored Content
Full Discussion: can not see mails
Top Forums UNIX for Advanced & Expert Users can not see mails Post 302493633 by methyl on Thursday 3rd of February 2011 08:55:48 AM
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:
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
FBB::mlm(3bobcat)                                             OFoldStream manipulator                                            FBB::mlm(3bobcat)

NAME
FBB::mlm - Manipulator modifying left margins of OFoldStream objects SYNOPSIS
#include <bobcat/ofoldstream> or #include <bobcat/ofoldstreambuf> Linking option: -lbobcat DESCRIPTION
The mlm class implements a manipulator that can be inserted into OFoldStream objects to modify the stream's left margin by a requested amount. The request cannot result in a negative left margin value. If a negative left margin would be the arithmetic result of the request then left margin 0 will silently be used. Depending on the tab-setting of the OFoldStream the inserted value represents the number of blank space characters or the number of tab-characters that will be added to the left margin. The request will be processed at the next newline character or std::flush or std::endl manipulator that is inserted into the stream. If a line is still empty once an mlm object and a flush manipulator are inserted into the stream then the new left margin will be effective at the next word inserted into that line (cf., the example section below) A bad_cast exception is thrown when the manipulator is inserted into an ostream that is not using a OFoldStreambuf buffer. NAMESPACE
FBB All constructors, members, operators and manipulators, mentioned in this man-page, are defined in the namespace FBB. INHERITS FROM
- CONSTRUCTOR
o mlm(int addValue): The standard copy constructor is available. MEMBER FUNCTIONS
There are no public or protected member functions in this class. EXAMPLE
#include <iostream> #include <bobcat/ofoldstream> using namespace std; using namespace FBB; int main() { OFoldStream out(cout, 0, 80); out << "hello world (left margin is 0)" << mlm(4) << " " "this uses a 4 character wide left margin " << mlm(-10) << flush << "left margin -6 changed to 0, active on this line "; return 0; } FILES
bobcat/mlm - defines the class interface SEE ALSO
bobcat(7), manipulators(3bobcat), lm(3bobcat), ofoldstream(3bobcat) BUGS
None Reported. DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature; o bobcat_3.01.00-x.tar.gz: source archive; o bobcat_3.01.00-x_i386.changes: change log; o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries; o libbobcat1-dev_3.01.00-x_*.deb: debian package holding the libraries, headers and manual pages; o http://sourceforge.net/projects/bobcat: public archive location; BOBCAT
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'. COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL). AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl). libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::mlm(3bobcat)
All times are GMT -4. The time now is 09:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy