{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

cs312-lecture14_slides

cs312-lecture14_slides - CS 312 Linux System Administration...

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 312 Linux System Administration 14: Services: Email & DNS Jeff Sheltren & Lance Albertson OSU Picture © Greg Keene used under CC SA 3.0 license
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Today's Objectives Email service How it works Configuration Postfix Planning DNS Caching vs. Authoritative
Image of page 2
Email: System Components Mail User Agent (MUA) Mail Transport Agent (MTA) Delivery Agent (MDA) Access Agent (MAA)
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Email: System Components
Image of page 4
Transport Agents Accept mail form user agent Postfix More common, easier to configure & use Sendmail Highly configurable, steep learning curve Others Exim – Similar to Postfix Qmail – Logging is horrid, but some people like it
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Delivery Agents & Message Stores procmail – great filtering maildrop – newer procmail-like mail.local Message Stores mbox – one large file, locking problems maildir – one file per message, great for IMAP
Image of page 6
Anatomy of a Mail Message Envelope Destination email address Headers Record of variety of important information Great for tracking down problems Body of the message
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
MTA Log Files Track emails via queue ID Look something like: 03CE18819A Tracking via message ID Informational fields to, from, status, relay, etc Log files differ between each MTA
Image of page 8
Configuring Postfix /etc/postfix main.cf – main config file master.cf – postfix process config file /etc/aliases – local email forwarding Set to relay email to central MTA relayhost = [smtp.osuosl.org] myorigin = osuosl.org /etc/aliases -- root: [email protected]
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Sendmail Config files created via m4 Makefile Always edit the .mc files not the .cf files Remember to rebuild .cf files with make Extremely configurable
Image of page 10
Email: Viruses & Spam Virus Clamav Ensure freshclam is running too Spam Spamassassin All-in-one Amavis Check abuse emails
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}