Charles Duan Harvard Univ. Computer Services March 27, 2002

Slides:



Advertisements
Similar presentations
Youve Got (new) Mail ! Microsoft 2003 Exchange for VUSD Teachers.
Advertisements

CREATING AND SENDING AN Kamloops Adult Learners Society Copyright Del Turner, 2007.
1 of 2 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
How To: Insert Headers and Footers
Basic Communication on the Internet:
AO- 2 (part 2 of 2) Pass + Send. Receive. Reply. Forward. With more than 1 attachment.
Using Outlook Benefits of Using Outlook Now – Better formatting of HTML mail (with bullets, fonts, etc.) – Great calendar, ability to send meeting.
CSCI 6962: Server-side Design and Programming Input Validation and Error Handling.
. How it works? To send an you need an Software or Web Based To send an to a friend you need to know their Address.
Distance Learning Orientation Getting Started with your 2009Developed by K Bennett for Wilson Community College Begin.
Server Upgrade From UW to Cyrus. What is an IMAP Server? Provides access to your mail messages stored on the mail server Requires authentication.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Computer Networks Fall, 2007 Prof Peterson. CIS 235: Networks Fall, 2007 Western State College Homework #5 We will be talking about other protocols. Everyone.
Tony BrettOUCS Course Code ZAE 1 March 2004 Webmail – the new WING Tony Brett Oxford University Computing Services.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Outlook Project and Contact Management with Outlook.
Chapter 30 Electronic Mail Representation & Transfer
Hearth Bulk System Divisional Secretaries’ Briefing 2012.
How to Get The Most Out of Outlook 2003 Michele Schwartzman Division of Customer Support Summer 2006.
Outlook Web Access (OWA) is a web mail service of Microsoft Exchange; allow users to connect remotely via a Web browser OWA is used to access ,
CT NIKHEF Nov Mail NIKHEF CT system support.
Business Correspondence Documents
Filters using Regular Expressions grep: Searching a Pattern.
CTEC 1863 – Operating Systems Shell Scripting. CTEC F2 Overview How shell works Command line parameters –Shift command Variables –Including.
Tips & Tricks Presented by: Tim Trice Madisonville Community College.
Outlook 2000 Summertime Technology 2002 Vicki Blackwell Tangipahoa Parish Schools.
Advanced User Guide to Outlook and all its features.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Electronic Mail Originally –Memo sent from one user to another Now –Memo sent to one or more mailboxes Mailbox –Destination point for messages.
CSIE 1 Filtering mail Speaker: Chung yu Wu Adviser: Quincy Wu Date: 2005/12/07.
Introduction to Microsoft Outlook Date: November 15, 2013 Time: 10:00 AM to 11:00 AM Location: Serra 156A Computer Lab Instructor: Amber Stokes.
-III Outlook How To Topics CS-3505 Outlook form Office 2003 Wb_ -II.ppt.
The Internet 8th Edition Tutorial 2 Basic Communication on the Internet: .
© 2003 Everett Public Schools Information Systems and Technology Department Getting Started with FirstClass October 10, 2015.
What is and How Does it Work?  Electronic mail ( ) is the most popular use of the Internet. It is a fast and inexpensive way of sending messages.
This is a presentation, It will show all I have leaned about .
UNIX Shell Script (1) Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
Meet Perl, Part 2 Flow of Control and I/O. Perl Statements Lots of different ways to write similar statements –Can make your code look more like natural.
Filtering Mail with Mail::Audit and Mail::SpamAssassin Creede Lambard penguinsinthenight.com 20 August 2002.
 Subject: The topic you are talking about. So they understand what it is a about and explain to the point.  clients usually display it in a.
Microsoft Office Outlook 2013 Microsoft Office Outlook 2013 Courseware # 3252 Lesson 6: Organizing Information.
Microsoft Office Illustrated Introductory, Second Edition Started with Outlook 2003 Getting.
EVON TAN KA VUN THECLA JOSEPH NOR FAEEZA ISMALI JESSICCA TOKIROI.
Introduction to Microsoft Outlook 2011 for Mac Date: November 15, 2013 Time: 10:00 AM to 11:00 AM Location: Serra Hall 156A Computer Lab Instructor: Amber.
CCS – Mail Merge Mail Merge This presentation is incomplete without the associated discussion 1 Coloma Community Schools In-service 21 March 2014.
FTLOA Go to User Name: first last name lower case.
LinxChix And Exim. Mail agents MUA = Mail User Agent Interacts directly with the end user  Pine, MH, Elm, mutt, mail, Eudora, Marcel, Mailstrom,
Managing Your Inbox. Flagging Messages Message requires a specific response or action from the recipient Flagging draws attention to your request Quick.
How long is the quiz available? The quiz will always have a start time but the end time can be unlimited or fixed. If your quiz has an END time, you will.
Purchasing Office POISE Distributed Purchasing System (DPS)
Messages 1. Outline Fields of an Subject line One point per The expected response Be a good correspondent Final tips 2.
Outlook Web Access (OWA) is a web mail service of Microsoft Exchange; allow users to connect remotely via a Web browser OWA is used to access ,
LING 408/508: Programming for Linguists Online Lecture 6 September 14 th.
XP Exploring Outlook  Outlook is a powerful information manager  You can use Outlook to perform a wide range of communication and organizational tasks,
Info Spring Features to Find Send a message Read a message sent to you Reply to a message sent to you Forward a message sent to you Save messages.
and Network Management Presented by: Information Technology.
A step-by-Step Guide For labels or merges
Lesson 5-Exploring Utilities
with a few tips and tools for managing mail
Mail Merge for Lotus Notes and Excel User Guide
Topic Pre-processor cout To output a message.
Microsoft Outlook 2010 Tips
Step 1: Prepare data in Excel for mail merge
Mail Merge for Lotus Notes and Excel User Guide
6/11/2018 4:36 AM Services Course Outlook Live Participant Guide
How to get the most of Outlook
The Training Interface
Best Outlook Tips & Tricks James Mehraa. Why to use MS Outlook These days life have become a fast lane, less time but so much to do. Everyone is running.
Hearth Bulk System Divisional Secretaries Briefing 2011.
WORKING WITH SHARED DOCUMENTS
How to Use Yamm Yet Another Mail Merge.
Presentation transcript:

Charles Duan Harvard Univ. Computer Services March 27, 2002 Using Procmail Charles Duan Harvard Univ. Computer Services March 27, 2002

Using Procmail What is procmail? Basic procmailrc recipes Using patterns Recipe options File locking September 12, 2017September 12, 2017

Using Procmail What is procmail? Basic procmailrc recipes Using patterns Recipe options File locking September 12, 2017September 12, 2017

What is Procmail? Procmail is a processor of e-mail Filter mail by headers/content Multiple delivery possibilities Mailboxes Forwarding Addresses Programs September 12, 2017September 12, 2017

Procmail Recipes Procmail filters e-mails based on recipes in the .procmailrc file Recipes contain: What kind of e-mail the recipe handles What to do with the e-mail At most one recipe executes (unless otherwise specified) September 12, 2017September 12, 2017

Procmailrc Syntax Header Patterns Action # A basic .procmailrc :0: * ^From: ksdavis@fas Patterns Important-folder Action * ^Subject: *\[UA\] * < 1024 ! my@email.com September 12, 2017September 12, 2017

Delivering Mail with Procmail Mail Received Run .procmailrc Add to .inbox Read a “recipe” No more recipes No match Execute action Match September 12, 2017September 12, 2017

Using Procmail What is procmail? Basic procmailrc recipes Using patterns Recipe options File locking September 12, 2017September 12, 2017

Basic Procmail Recipes Sorting Recipes Forwarding Recipes Program Recipes September 12, 2017September 12, 2017

Sorting Recipes Most common recipe used Multiple patterns accepted :0: * ^Subject: *\[UA\] If Subject contains “[UA]” uas-mail Put it in mailbox “uas-mail” Most common recipe used Multiple patterns accepted September 12, 2017September 12, 2017

Forwarding Recipes Multiple forwarding addresses accepted :0 Header (no trailing colon) * ^From: *ksdavis If it’s from Kevin ! my@email.com Send it to “my@email.com” Multiple forwarding addresses accepted Multiple patterns accepted To keep a copy yourself, use “:0c” September 12, 2017September 12, 2017

Program Recipes Used for processing online forms # Forwarding :0 * ^Subject: *Survey If it’s for the survey | runstats.pl Run my program on it Used for processing online forms Very powerful; proceed with caution I’ll talk later about “:0:” v. “:0” September 12, 2017September 12, 2017

Exercise September 12, 2017September 12, 2017

Using Procmail What is procmail? Basic procmailrc recipes Using patterns Recipe options File locking September 12, 2017September 12, 2017

E-mail Structure Two parts: header and body Separated by an empty line Each line of header is “Field: Value” Special “From” line Based on Berkeley mbox format September 12, 2017September 12, 2017

E-mail Structure Example From cduan@fas... “From” line From: Aaron Lee <lee42@... Header To: uas@fas.harvard.edu Subject: Interesting ... Date: Sun, 10 Feb 2002... Blank line I send you this file in Body order to have your advice I hope you can help me “From” line separates messages September 12, 2017September 12, 2017

Regular Expressions “Completely” compatible with egrep By default, matches only header Watch out for spaces * From: cduan@fas Wrong * From:[ ]*cduan@fas Right! (That’s a space and a tab in [ ]) September 12, 2017September 12, 2017

Other Special Patterns ! Invert the pattern ? Run a program, use the exit code < Under specified number of bytes > Over specified number of bytes $ Evaluate quotes like /bin/sh September 12, 2017September 12, 2017

Using Procmail What is procmail? Basic procmailrc recipes Using patterns Recipe options File locking September 12, 2017September 12, 2017

Recipe Options Options placed after zero in header AaEe: Run based on previous recipe f: Change (filter) the mail c: Continue through this recipe Read “man procmailrc” September 12, 2017September 12, 2017

Another Exercise September 12, 2017September 12, 2017

Using Procmail What is procmail? Basic procmailrc recipes Using patterns Recipe options File locking September 12, 2017September 12, 2017

File Locking Prevents procmail processes from corrupting mailboxes Locking type depends on header :0 No locking :0: Default lock :0: lock Lock the file lock Not for forwarding, programs (?) September 12, 2017September 12, 2017

Hints and Tips Test your recipes before using them Resources for more information man procmail, procmailrc, procmailex www.procmail.org Have fun using procmail! September 12, 2017September 12, 2017

The Last Blank Slide September 12, 2017September 12, 2017