Sponsored Content
Full Discussion: mbox ascii mail text file ?
Top Forums Shell Programming and Scripting mbox ascii mail text file ? Post 302197185 by DILEEP410 on Tuesday 20th of May 2008 10:14:53 AM
Old 05-20-2008
Java

Finally i got the source of that message.

FOR YOUR INFORMATION :

It is the default behaviour of the "mail" utility to write all the read but undeleted mails to a file.The default file is "mbox" under the home directory.

extract from man mail
"You can end a mail session with the quit `q ' ) command. Messages which have been examined go to your mbox file unless they have been deleted in which case they are discarded. Unexamined messages go back to the post office."

This will happen once you quit the mailbox after reading mail and without deleting the read mails.

"quit
(q ) Terminates the session, saving all undeleted, unsaved messages in the user's mbox file in his login directory, preserving all messages marked with hold or preserve or never referenced in his system mailbox, and removing all other messages from his system mailbox."

Regards
Dileep
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send text file to mail

I have a utility that opens a telnet session and allows me to execute commands through a script. The utility allows me to output to a text file whatever is outputted to screen. This utility runs from a DOS prompt in Windows 95/98, NT or 2000. How can I mail text file this to a certain user. I... (2 Replies)
Discussion started by: petrosi
2 Replies

2. UNIX for Dummies Questions & Answers

Creating flat text file (ASCII)

Hi everybody. I need help and I hope someone is willing to help me out here. My wholesale company is currently moving to new software. The old software is running on a UNIX platform. We need to migrate data from the UNIX system, but our former software provider refuses to assist the data... (5 Replies)
Discussion started by: Wdonero
5 Replies

3. Shell Programming and Scripting

How to convert English text file to ASCII File?

file abc abc: English text I want to convert the above into file abc file: ascii text (1 Reply)
Discussion started by: laknar
1 Replies

4. Programming

Reading a binary file in text or ASCII format

Hi All, Please suggest me how to read a binary file in text or ASCII format. thanks Nagendra (3 Replies)
Discussion started by: Nagendra
3 Replies

5. Shell Programming and Scripting

ASCII Text formatting

Hi All, I have a requirement to create a formatted text. That is., I have a plain text composed to send it through an Email using mailx. I need to change the formatting of the text like BOLD, ITALIC, UNDERINED, COLOURED, INDENT etc., First of all, is it possible in UNIX? If yes, please let... (3 Replies)
Discussion started by: mohan_kumarcs
3 Replies

6. Shell Programming and Scripting

Mail text appending to previous mail text

The following is an extract of code I wrote to produce an email report of accounts that are about to expire. It works fine except each time I run it the output is appended to all text from the previous mail that was sent. Can anybody see what I'm doing wrong? paexpire=`sqlplus -s... (2 Replies)
Discussion started by: runnerpaul
2 Replies

7. UNIX for Dummies Questions & Answers

ArcGIS shapefile *.dbf file to ascii text

Okay, I search around and couldn't find what I needed, so here goes: I have a series of ArcGIS point shapefiles. If I open them in Excel I can save as an Excel or text file and get a 2 column list: POINTID | GRID_CODE 1 | 2.34234 2 | 4.3425 3 | 6.32456 etc... The problem is that I... (3 Replies)
Discussion started by: jbrandt1979
3 Replies

8. Shell Programming and Scripting

Import ASCII 28 delimited text file

I have an ASCII 28 delimited text file(non-printable delimiter) with 4 columns along with the header.I need to open this text file in Excel or any other tool to view each column content. Please help.. Thanks (6 Replies)
Discussion started by: aneeta13
6 Replies

9. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

Hi All, I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting? Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
MAILSNARF(8)						      System Manager's Manual						      MAILSNARF(8)

NAME
mailsnarf - sniff mail messages in Berkeley mbox format SYNOPSIS
mailsnarf [-i interface | -p pcapfile] [[-v] pattern [expression]] DESCRIPTION
mailsnarf outputs e-mail messages sniffed from SMTP and POP traffic in Berkeley mbox format, suitable for offline browsing with your favorite mail reader (mail(1), pine(1), etc.). OPTIONS
-i interface Specify the interface to listen on. -p pcapfile Process packets from the specified PCAP capture file instead of the network. -v "Versus" mode. Invert the sense of matching, to select non-matching messages. pattern Specify regular expression for message header/body matching. expression Specify a tcpdump(8) filter expression to select traffic to sniff. SEE ALSO
dsniff(8), mail(1), pine(1) AUTHOR
Dug Song <dugsong@monkey.org> MAILSNARF(8)
All times are GMT -4. The time now is 02:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy