Linux Classes
Linux Classes
Share This With a Friend
LINUX CLASSES - EMAIL

Is Pine for Power Users?

Pine is a great tool for managing your email, because it's fast, easy to learn, and easily configurable. But it also has many advanced features for power users. Once you've become proficient at basic mail handling, try some of these features. (All are accessed from the FOLDER INDEX screen.) Searching

Use the W ("where is") command to search the FOLDER INDEX screen for messages with a certain word in the Subject line. You can also use the W command when you're viewing a message to search for text in the message body.

Sorting

Use the $ command to sort your messages in a variety of ways, including by subject, sender, size, and arrival time.

Address Book

Use the T command to "take" the sender's address and store it in your Pine address book. You can also assign a nickname to the address and use the nickname instead of the full address when composing a new message.

Headers

Use the H command to view the normally hidden message header lines. At first glance, it's a lot of gobbledygook, but the Received lines will tell you the path a message traveled to reach your system. This can be handy for identifying forged sender addresses. Press H again to turn off the display of the header lines.

Forward and Bounce

The F command lets you forward messages to other users. The message composition screen appears as usual, with the forwarded message pasted into the message text area. You can add your own comments before sending.

The B command will "bounce" a message to another user with no opportunity to add comments. If the recipient's mail system complies with standards, it will appear as if the message came from the original sendernot from you. This is handy when you get mail that was obviously meant for someone else and you want to quietly redirect it.

Export and Pipe

The E command will export a message to a file in your home directory. This is useful if someone sends you a file that you want to save and edit, or if you receive a uuencoded or encrypted message. (See "Compression, Encoding, and Encryption" for more on decoding and decryption.)

The | (vertical bar) command will pipe a message directly to any command or program. For example, you could use this feature to pipe a message to a program that strips off mail headers and formats notes for printing.

Attachments

Pine has excellent support for attached files. You can attach a binary file such as a program, image, or word processor document to an outgoing message using the ctrl-J command while the cursor is on the Attchmnt: line in the message composition screen. Pine encodes the attached file using MIME (Multi-purpose Internet Mail Enhancements), which is a widely used standard understood by most modern email programs.

Pine can also decode incoming MIME-attached files and either save them to disk or automatically launch the appropriate viewer tools. I used Pine to send Microsoft Word files back and forth to my publisher in the course of writing this book.

Roles

Pine allows you to play different roles, depending on who you are replying to. For example, if you are replying to a message addressed to sales@widgets.com, you may be acting as a customer service rep. That role may require that you use a different return address and/or a different signature.

Roles are optional, but if you set up roles, they work like this: Each role has a set of patterns that are used to decide which role is used and a set of actions that are taken when that role is used. When you reply to a message, the From, To, and Subjectfields of the original message are compared to your role patterns. If a match is found, the matching role's actions are taken. These actions could include changing the From line, inserting a special template into the message body, or using an alternative signature file. There's a comprehensive section in the Pine help if you're interested in learning more about roles.

HTML Email and Hotlinks

With the most recent release of Pine, you can now view HTML email messages directly without exporting them to a file and viewing them with a browser. Pine does a pretty good job of rendering the HTML, minus the color and special fonts.

Pine can also recognize URLs (Web hotlinks) in your email and launch a browser to view them, but you have to explicitly enable this feature to make it work. From the Pine main menu, press S (for Setup) and then C (for Config). Find the Viewer Preferences section and turn on these two options:

[X] enable-msg-view-urls
[X] enable-msg-view-web-hostnames

Then go all the way down to the bottom of the Config screen and set the following:

url-viewers = /usr/bin/lynx

or

url-viewers = /usr/bin/netscape

Now when you view a message, the up and down arrow keys will highlight the URLs in the message. Just press enter, and the browser you defined will launch and display the Web page at the selected URL.

Help

The built-in help for Pine is excellent, so if you're interested in learning more, just press the ? key from any screen. You can also visit the Pine Information Center online at http://www.washington.edu/pine for additional help or to download new versions of Pine.

For more information on the pine command, see the pine manual.

Previous Lesson: Pine Email Folders
Next Lesson: Linux File Compression

[ RETURN TO INDEX ]



Comments - most recent first
(Please feel free to answer questions posted by others!)

Allen Tafirenyika (18 Oct 2012, 10:05)
am using linux i would like to keep a copy of my outgoing and incoming mail on my linux server once l receive it on my laptop. what commands should l use? many thanks.
amandeep (27 Dec 2010, 02:51)
Following Links are not working So PLZ....
Sending E-mail ,Reading E-mail and Other mail Commands

I welcome your comments. However... I am puzzled by many people who say "Please send me the Linux tutorial." This website *is* your Linux Tutorial! Read everything here, learn all you can, ask questions if you like. But don't ask me to send what you already have. :-)

NO SPAM! If you post garbage, it will be deleted, and you will be banned.
*Name:
Email:
Notify me about new comments on this page
Hide my email
*Text:




Copyright © by - Privacy Policy
All rights reserved - Redistribution is allowed only with permission.

Popular Linux Topics

Linux Intro
Linux Files
Linux Commands
Change Password
Copy Files
Linux Shell Basics

Linux Tutorial

Who is Doctor Bob?
What is Linux?
History of Unix
Operating Systems
What's Next?

Linux Basics

Living in a Shell
Root and Other Users
Virtual Consoles
Logoff and Shutdown
Choosing a Shell
The Command Prompt
Wildcards
Command History
Aliases
Redirection
Pipelines
Processes
Stopping a Program
Environment Variables
Help!

Linux Files

The Linux File System
Linux File Names
Linux Directories
Directory Terminology
Navigating the File System
Listing Linux Files
Displaying Linux Files
Copying and Renaming Files
Creating Files and Directories
Deleting Files and Directories
Linux Files - Wildcards
The Nine Deadly Keystrokes
Linux File Permissions
Changing File Permissions

Linux Commands

Important Linux Commands
Changing Your Password
Switching Users
Who is Logged In?
Date and Time
The Echo Command
Spell Checking
Printing Linux Files
Joining Files
Searching for Files
Comparing Files
Task Scheduling
Linking Files

Linux Editors

The Vi Editor
The Emacs Editor
The Pico Editor

Linux Data Manipulation

Slicing & Dicing
Heads or Tails?
Sorting Data
Eliminating Duplicates
Selecting Columns
Selecting Records
Search & Replace
Crunching Data
Finding Files
Pipe Fitting

Linux Shell Programming

Linux Shell Scripts
Executing a Script
Shell Script Variables
Shell Script Logic
Shell Script Looping
Shell Script Debugging

Perl Programming

Perl Basics
Perl Variables
Perl Arguments
Perl Logic
Perl Looping
Perl and Files
Perl Pattern Matching

Linux and Email

Sending Email
Reading Email
Other Mail Commands
Using Pine for Email
The Pine Inbox
Pine Email Basics
Pine Email Folders
Pine for Power Users

Compression and Encoding

Linux File Compression
Archiving With Tar
Compression With Gzip
Compress and Zcat
Zmore and Zless
Zip and Unzip
Encoding and Decoding
Encryption

Linux Does DOS

Accesing DOS Files
Accesing DOS Partitions
Running DOS Programs

Managing Linux

Updating Your Linux System
Installing Packages with RPM
Uninstalling Packages w/ RPM
Upgrading Packages with RPM
Querying Packages with RPM

AltStyle によって変換されたページ (->オリジナル) /