Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible...

16
Email Service CPTE 433 John Beckett

Transcript of Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible...

Page 1: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Email Service

CPTE 433John Beckett

Page 2: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

The Fundamentals

• Reliable• Scalable

– Issue is speed• Flexible

– Clients, locations• Growing issue: Spam control• Growing issue: Storage

Page 3: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Privacy

• Fit with your organization’s culture.• Clearly state policy.• Distribute policy; get signatures.• Use policy as a statement of

maximum intrusion, not minimum.• Keep incidentally-acquired

knowledge secret.

Page 4: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Namespaces

• See previous chapter.• Two issues:

– Recognition of who this is– Non-duplication

• Special problem for colleges: marriage

• What about when people move around?– You might have an alias list pointing to

people with specific responsibilities, e.g. eclasshelp.

Page 5: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Reliability

• Upgrade plans for email must be laid more carefully than those for other services.

• Better to hold mail at bay than to lose it.– Simplest method: unplug the Ethernet

jack or take down the service

Page 6: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Aspects

• Mail Transport– This is done by the equipment designated to the

right of the “@”.– In DNS, this is the “MX” record.

• Delivery– GUI / non-GUI client– Webmail/OWA/SquirrelMail (is both client and

server)– Consider protocols used: POP3 and IMAP4

• List Processing– Big question is, who can send to which list?

Page 7: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Fading Technologies

• MTA on a client machine– May wish to deny this in your firewall

• Proprietary protocols – CCMail– CompuServe

Page 8: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Emerging Technologies

• Encryption*• Non-repudiation*• Spam control

* This is a reason SAU has migrated from Procmail to Microsoft Exchange Server.

Page 9: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Automation

• Setting up the account should be part of the process of signing up for a job.

• List administration should be automated either ex officio or at user’s election.

• What about when people leave? – No forwarding outside.– Either refuse the mail or send it to their

replacement.– At SAU: When does a person really

leave?

Page 10: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Monitoring

• Watch disk space consumption. That will tell you:– If someone is being attacked.– If you are not filtering SPAM properly.– If someone is using email to do something

that should be done through another process.

• Watch the bandwidth. – Positive trend: more bandwidth on

connection– Negative trend: SPAM

Page 11: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Redundancy

• Keep mail flowing in and out of the site even if one mail exchanger goes down.

Page 12: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Scaling

• Move other services off the mail machine.

• Separate mail functions such as WebMail client and MTA.

• Get a bigger machine.• Do a better job of SPAM control.• Provide alternate means or hosts for

troublesome emails – Art department example.

Page 13: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Security

• Your mail system will be a target.• If you count SPAM, it’s a target every

second of the day!• Watch the resources: disk I/O, disk

space, bandwidth.• Of course, stay updated.

Page 14: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Backups

• Do you want to back up local folders?– Yes: You have to be able to recover it if it

breaks.– Yes: You may be required to recover deleted

emails.– No: That’s not your job.– No: Leaves unnecessary records that could

be used by a prosecutorial opponent.• Backup policy should be clearly stated

and understood by all.

Page 15: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

High-Volume Lists

• You may want to split the list into multiple sub-lists for simultaneous processing.

• GC example: From 4 hours to 30 minutes on a 30,000-person list.

Page 16: Email Service CPTE 433 John Beckett. The Fundamentals Reliable Scalable –Issue is speed Flexible –Clients, locations Growing issue: Spam control Growing.

Consider Off-Site

• Gmail.com is happy to do it (free!)