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)
Check Out this Related Man Page
readmail(1) General Commands Manual readmail(1)NAME
readmail - read mail from a mail folder or incoming mailbox
SYNOPSIS
folder] [number-list|pattern]
DESCRIPTION
The program displays messages from your incoming mailbox or a specified mail folder.
Within the mail system (see elm(1) with no operands and optionally the or option, displays the appropriate headers and the body of the cur-
rent message.
With the number-list operand and no options, displays the corresponding messages and a summary of the headers from your incoming mailbox.
With the pattern operand and no options, displays the first message that matches the pattern and a summary of the headers from your incom-
ing mailbox.
Options
supports the following options.
Print all messages that match
pattern. If no pattern was specified, this option is ignored.
Use file folder for the operations instead of the incoming mailbox.
Include the entire header of the matched message or messages
when displaying their text. The default is to display the and lines only.
Exclude all headers.
Put form feeds (
between message headers. This is useful when printing sets of messages.
Operands
supports the following operands.
number-list A blank-separated list of the ordinal locations of messages in the mail file (i.e., their "message numbers"), up to
25 at a time. The character means the last message in the mail file. Similarly, represents every message in the
file (i.e.,
The message numbers are sorted into ascending order. Thus, produces the same output as
pattern A string that is present in one of the messages. This pattern can be typed in directly (no quotes) if the words are
separated by a single space in the actual message. The pattern matching is case sensitive, so and are not equiva-
lent. Leading digits (on the first word) are not permitted; however, you can precede them with a space and quote the
entire string, if the space occurs in the message, as in .
EXAMPLES
If you are using to reply to a message from within the mail system, you can insert the text of the current message with the command:
If you define an alias similar to:
you can use it with a program such to peruse mail as it arrives, without needing to start a mail system (see newmail(1)).
AUTHOR
was developed by HP.
FILES
Incoming mailbox
Temporary file for
SEE ALSO elm(1), newmail(1), vi(1).
readmail(1)
Hi guys,
I am designing the rdbms in C/C++ on linux platform as my project.
Can any one help me in designing menu driven screen (like the pine ) which will print on screen as follows
1) create table
2) add table
............. etc
with arrow keys for... (2 Replies)
Hi :-
I am trying to make a script to send mail using pine. But it takes me to the Pine Menu Console and I have to send it manually.
Note that I am attaching a file with it.
Any quick response will be highly appreciated. (4 Replies)
Hello All,
I am maintaining a server and I use pine as MUA and sendmail as MTA. Suddenly many users in the network face the problem of not being able to attach files using pine. I checked the sendmail.cf file and found a variable "MaxMessageSize = 1000000". Eventhough the message size... (2 Replies)
hi all,
i wrote a script to mail myself using pine (modified) to keep remind of b'days.
#!/bin/bash
grep "`date +%D |awk -F/ '{print $2+1, $1+0}'`" dataFile >/home/username/mailme
if test -s /home/username/mailme
then
pine -I '^X,y' -subject "Birthday Remainder" username... (4 Replies)
I installed sendmail and pine and I could send emails to other people succesffly. However no matter what I try I cannot receive other people's email. The only messages sitting in my pine inbox are system notifications sent to root@knoppix.
Then I think the problem is that my mail is handled by... (3 Replies)
Hi,
I am using "fetchmail" and "procmail" combination to trigger a job based on an input mail.Using fetchmail, incoming mail is downloaded from the mailserver to the local host.Once the mail is flushed,procmail starts execution and thereby triggers the application script.
In-between... (3 Replies)
I've got a longish log file with content such as
Uplink traffic:
Downlink traffic:
I want to parse the log file and remove any line that contains the string "Uplink traffic:" at the beginning of the line, but only if the line following it beginnings with the string "Downlink traffic:" (in... (7 Replies)
Hi All,
Requirement is to select the data from database and send the output in mail. But the output should in HTML tabular format in mail body.
For example my select command is :
select ename,esal,edegn,dept from emp where deptno in (10,15);
In the mail body the output should :
Employee... (3 Replies)
I recently generated myself the following error when attempting to use the Unix mail command:
The flags you gave make no sense since you're not sending mail.
There is a recent thread about this issue here in unix.com (with a title very much like this thread's title), but it was closed... (2 Replies)
I need top load memory and cpu uses in mail. I am getting mail, but output is coming in sentence format.
can help me, how can I get in actual format. below is the command.
echo `ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head`|mailx -r `hostname -s`@abc.com abc@abc.com (5 Replies)