30
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mail User Agents (MUAs): Resident MS+MTA Mohsen Banan: http://mohsen.banan.1.byname.net/ContactMe http://mohsen.banan.1.byname.net/PLPC/120057 March 1 and 3, 2016 Varbatim Copying Permitted Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Mail User Agents (MUAs): Resident MS+MTAMohsen Banan: http://mohsen.banan.1.byname.net/ContactMe

http://mohsen.banan.1.byname.net/PLPC/120057

March 1 and 3, 2016Varbatim Copying Permitted

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 2: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUA

Part I

Mail User Agents (MUAs): ResidentMS+MTA

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 3: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Part 1: Mail User Agents (MUAs): Resident MS+MTA

1 The MUA ModelMUA Model – Picture

2 Types Of MUAsWhat Are The Characteristics Of The Ultimate MUADiversity In MUAs Is A Good ThingThe Protocols Hour Glass ModelLinux Native MUAs LandscapeWeb Based MUAs Landscape

3 Concept Of Resident MS+MTA MUAThe Right qmail Autonomous Client Configuration

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 4: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUAMUA Model – Picture

The MUA Model

Message Transfer Service (MTS) – SMTPMessage Store – The MailBox On the serverMail User Agent – Mail Reader /SorterMail Box Access – IMAPSearching Your Email

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 5: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

A Protocol’s Position in The Protocol Hour Glass

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 6: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUA

What Are The Characteristics Of The Ultimate MUADiversity In MUAs Is A Good ThingThe Protocols Hour Glass ModelLinux Native MUAs LandscapeWeb Based MUAs Landscape

Types Of MUAs

Native MUAsWeb Based MUAsMobile MUAs

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 7: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

What Are The Characteristics Of The Ultimate MUA

Watches For Your PrivacyIs Fully integrated in your user environment

Address Book, Calendar, Spell Checker, Editor, Multi-Lingual

Strong Search CapabilitiesScriptableMail Folder OrganizationOffline reading and writingDynamic Mailing List CapabilitiesAbility To Manage Multiple Back-EndsImportance, Urgency, Alerts

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 8: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Comparison Of Mail Systems – (servers, clients, webmailproviders)

Comparison of mail servers - Wikipedia —https://en.wikipedia.org/wiki/Comparison_of_mail_serversComparison of email clients - Wikipedia —https://en.wikipedia.org/wiki/Comparison_of_email_clientsComparison of webmail providers - Wikipedia — https://en.wikipedia.org/wiki/Comparison_of_webmail_providersList of collaborative software - Wikipedia — https://en.wikipedia.org/wiki/List_of_collaborative_software

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 9: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUA

What Are The Characteristics Of The Ultimate MUADiversity In MUAs Is A Good ThingThe Protocols Hour Glass ModelLinux Native MUAs LandscapeWeb Based MUAs Landscape

Diversity In MUAs Is A Good Thing

Concept Of Hour Glass Shape In Software/Communications ArchitectureMUAs are at the very top – Diversity Is ExpectedCohesion In Mail Sending FacilitiesCohesion In Mail Receiving Facilities

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 10: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

A Protocol’s Position in The Protocol Hour Glass

W

A

IS

W

W

W

Gopher

Telnet

File Transfer

E-M

ail

AT

M

Frame R

elay

ISDN

Ethernet

CD

PD

PSTN

(SLIP&

PPP)

Many Applications

Running over

TCP/IPor

UDP/IP

Using

Many Subnetworks

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 11: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUA

What Are The Characteristics Of The Ultimate MUADiversity In MUAs Is A Good ThingThe Protocols Hour Glass ModelLinux Native MUAs LandscapeWeb Based MUAs Landscape

Linux Native MUAs Landscape (2016)

lcaMailToolsBinsPrep.shEvolutionbalsaclaws-mailGnus

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 12: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUA

What Are The Characteristics Of The Ultimate MUADiversity In MUAs Is A Good ThingThe Protocols Hour Glass ModelLinux Native MUAs LandscapeWeb Based MUAs Landscape

Web Based MUAs Landscape (2016)

lcaMailToolsBinsPrep.shsquirrelmail

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 13: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

The MUA ModelTypes Of MUAs

Concept Of Resident MS+MTA MUAThe Right qmail Autonomous Client Configuration

Concept Of Resident MS+MTA MUA

A Local (Resident) MS Store is sync-ed with the Remote MS StoreA Local (Resident) MTA takes care of spooling Of outgoing messages toremote submit serversA local agent receives pushed emails

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 14: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

The Right qmail Autonomous Client Configuration

Internet (Wi-Fi, ...)

qmail-queue

qmail-smtpd IMAP-Server

Maildir

Mail Alert

Mail User Agent:ClawsMail /Evolution /GNUS / ...

Alert /Alert Control GUI

127.0.0.0

offlineimap

ssl, tls

qmail-send

qmail-smtp-auth(to specific server)

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 15: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

What Is ByStar Gnus++Internet News – And Gmane

Searching Through Your Mail – With Total Privacy

Part II

ByStart Gnus MS+MTA UltimateMessaging Environment

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 16: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Part 2: ByStart Gnus MS+MTA Ultimate MessagingEnvironment

4 What Is ByStar Gnus++

5 Internet News – And Gmane

6 Searching Through Your Mail – With Total Privacy

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 17: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

What Is ByStar Gnus++

It is a tight integration of the following:EmacsGnusqmail (outgoing only)offlineimap – Syncs external servers with local maildirscourierimap (localhost in the clear for use by Gnusnotmuch (resident search engine)bbdb (Address Book)Org-Mode – calendar

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 18: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

What Is ByStar Gnus++Internet News – And Gmane

Searching Through Your Mail – With Total Privacy

Internet News – And Gmane

Extracts And Appends Mail Header Fields

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 19: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

What Is ByStar Gnus++Internet News – And Gmane

Searching Through Your Mail – With Total Privacy

Searching Through Your Mail – With Total Privacy

notmuchafewlcaNotmuchManage.sh

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 20: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Accessing Your Accounts On ByStar Mail ServerBash Scripting – MailBot and MailInjector Exercises

Part III

Class Activities

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 21: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Part 3: Class Activities

7 Accessing Your Accounts On ByStar Mail ServerYour Domains, Your Account+PasswdByStar Mail Server Basic Tests

8 Bash Scripting – MailBot and MailInjector ExercisesmailInjector.sh EvolutionmailBot.sh EvolutionOfflineimap + notmuch

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 22: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Accessing Your Accounts On ByStar Mail ServerBash Scripting – MailBot and MailInjector Exercises

Your Domains, Your Account+PasswdByStar Mail Server Basic Tests

Your Domains, Your Account+Passwd

smtp.first.1.last.byname.net – imap.first.1.last.byname.netYour account is the first field in the /etc/passwd file that was emailedYour passwd was emailed to you

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 23: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Accessing Your Accounts On ByStar Mail ServerBash Scripting – MailBot and MailInjector Exercises

Your Domains, Your Account+PasswdByStar Mail Server Basic Tests

ByStar Mail Server Basic Tests

ping smtp.first.1.last.byname.netFrom Your Bellevue College Account Send Messages [email protected] Server Tests Against smtp.first.1.last.byname.net

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 24: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Accessing Your Accounts On ByStar Mail ServerBash Scripting – MailBot and MailInjector Exercises

mailInjector.sh EvolutionmailBot.sh EvolutionOfflineimap + notmuch

mailInjector.sh Evolution

cd /̃isit442mv mailInjector mailInjector.20160223cp -r -p /opt/public/osmt/bin/mailInjector .

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 25: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Accessing Your Accounts On ByStar Mail ServerBash Scripting – MailBot and MailInjector Exercises

mailInjector.sh EvolutionmailBot.sh EvolutionOfflineimap + notmuch

mailBot.sh Evolution

Top-Down Design, Bottom-Up ImplementationManaging Complexity, Cohision, Consistency – mailInjector.shPanel.org Omni-Available FeaturesIim Omni-Available FeaturesBashing – Procedural vs Functional Vs Object-Oriented

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 26: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Accessing Your Accounts On ByStar Mail ServerBash Scripting – MailBot and MailInjector Exercises

mailInjector.sh EvolutionmailBot.sh EvolutionOfflineimap + notmuch

Offlineimap + notmuch

Hit Your ByStar Imap Account With offlineimparun notmuch on your locally synched messages

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 27: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Review Of Last Week’s AssignmentsNext Set Of Assignments

Part IV

Assignments

Mohsen Banan Mail User Agents (MUAs): Resident MS+MTA

Page 28: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Part 4: Assignments

9 Review Of Last Week’s Assignments

10 Next Set Of Assignments

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 29: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Review Of Last Set Of Assignments

Familiarize yourself with offlineimapFamiliarize yourself with notmuchFamiliarize yourself with gmaneConfigure claws-mail with your bystar account

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .

Page 30: Mail User Agents (MUAs): Resident MS+MTAmohsen.1.banan.byname.net/content/generated/doc.free/mohsen/PLPC… · Concept Of Resident MS+MTA MUA What Are The Characteristics Of The Ultimate

Next Set Of Assignments (Due 3/10)

Work On Your Own Full Mail Processing Loop:Use mailInjector.sh to send out a pdf attchamnet to your ByStar account.Use offlineimap to automatically retrieve that message.Use mailBot.sh to disect the pdf message into its original pdf file.Print out a command that would have printed that pdf file.Make it such that all of the above can be automated repeatedly.

. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .