Linux Operations and Administration Chapter Twelve Configuring a Mail Server.

Slides:



Advertisements
Similar presentations
Module 6: Configuring Windows XP Professional to Operate in a Microsoft Network.
Advertisements

Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Exchange server Mail system Four components Mail user agent (MUA) to read and compose mail Mail transport agent (MTA) route messages Delivery agent.
CS 497C – Introduction to UNIX Lecture 38: - Electronic Mail Chin-Chih Chang
FIREWALLS & NETWORK SECURITY with Intrusion Detection and VPNs, 2 nd ed. 6 Packet Filtering By Whitman, Mattord, & Austin© 2008 Course Technology.
Chapter 30 Electronic Mail Representation & Transfer
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols Network Fundamentals – Chapter.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
POP Configuration Microsoft Outlook Express 6.x.
2440: 141 Web Site Administration Services Instructor: Enoch E. Damson.
POP Configuration Microsoft Outlook What is POP? Short for Post Office Protocol, a protocol used to retrieve from a mail server. Most.
Electronic Mail: SMTP, POP, and IMAP
Introduction 1-1 Chapter 2 FTP & Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 IC322 Fall.
Linux Operations and Administration
1 Linux Networking and Security Chapter 3. 2 Configuring Client Services Configure DNS name resolution Configure dial-up network access using PPP Understand.
Electronic Mail (SMTP, POP, IMAP, MIME)
Linux Operations and Administration
Packet Filtering. 2 Objectives Describe packets and packet filtering Explain the approaches to packet filtering Recommend specific filtering rules.
Chapter 7: Using Windows Servers to Share Information.
Mail Server Three major components MTA MUA MDA Mail Transfer Agent
IT 424 Networks2 IT 424 Networks2 Ack.: Slides are adapted from the slides of the book: “Computer Networking” – J. Kurose, K. Ross Chapter 2: Application.
The Linux Operating System Lecture 7: Tonga Institute of Higher Education.
1 Computer Communication & Networks Lecture 27 Application Layer: Electronic mail and FTP Waleed.
SMTP PROTOCOL CONFIGURATION AND MANAGEMENT Chapter 8.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 12 Electronic Mail.
Module 8: Managing Client Configuration and Connectivity.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
Webmail. Agenda Why use webmail? Why use webmail? What is webmail What is webmail – basic » system MDA MDA MTA MTA MUA MUA »Protocol SMTP SMTP.
CSIE 1 Filtering mail Speaker: Chung yu Wu Adviser: Quincy Wu Date: 2005/12/07.
TCP/IP Protocol Suite 1 Chapter 20 Upon completion you will be able to: Electronic Mail: SMTP, POP, and IMAP Understand four configurations of architecture.
26.1 Chapter 26 Remote Logging, Electronic Mail, and File Transfer Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
BY SAGAR SINHA SAPTARSHI BAKSHI SARTHAK JAIN SHAILZA CHAUDHARY
Chapter 6: Packet Filtering
CPT 499 Internet Skills for Educators Electronic Mail Session Five.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Simple Mail Transfer Protocol (SMTP)
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Application Layer Functionality and Protocols.
1 Chapter Overview Using the New Connection Wizard to configure network and Internet connections Using the New Connection Wizard to configure outbound.
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.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 26 (Data Communication and Networking): Remote Logging, Electronic Mail, and.
1 Electronic Messaging Module - Electronic Messaging ♦ Overview Electronic messaging helps you exchange messages with other computer users anywhere in.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
2  Supervisor : MENG Sreymom  SNA 2012_Group4  Group Member  CHAN SaratYUN Sinot  PRING SithaPOV Sopheap  CHUT MattaTHAN Vibol  LON SichoeumBEN.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Introducing Microsoft Outlook Session Version 1.0 © 2011 Aptech Limited.
1 COP 4343 Unix System Administration Unit 14: – send and receive mail – mail filtering – mail server – mailing lists.
LinxChix And Exim. Mail agents MUA = Mail User Agent Interacts directly with the end user  Pine, MH, Elm, mutt, mail, Eudora, Marcel, Mailstrom,
INTERNET PROTOCOLS. Microsoft’s Internet Information Server Home Page Figure IT2031 UNIT-3.
Linux Operations and Administration
A Quick Look At How Works Understanding the basics of how works can make life a lot easier for any user. Especially those who are interested.
Amanda Fristy Damara Thea Bayu Gerhana Yuda Evita Fitri Ila Uswatun Hasanah Putri Ayuning Kartika Presented by :
RYAN HICKLING. WHAT IS AN An messages distributed by electronic means from one computer user to one or more recipients via a network.
Linux Operations and Administration
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter One Introduction to Exchange Server 2003.
1 Kyung Hee University Chapter 22 Simple Mail Transfer Protocol (SMTP)
By Toby Reed.
26.1 Electronic Mail Sending/Receiving Mail Addresses User Agent MIME Mail Transfer Agent Mail Access Protocols.
Windows Vista Configuration MCTS : Advanced Networking.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Application Layer instructors at St. Clair College in Windsor, Ontario for their slides. Special thanks to instructors at St. Clair College in Windsor,
how to configure Gmail account in MS Outlook 2010 account?
Mail Server Mail is just a message in any form sends from sender to receiver. Mail Server is a computerized system that is equivalent to virtual post office.
Guide to Operating Systems, 5th Edition
IIS.
has many aspects that work together to give people almost instant communication from any computer on the internet to any other computer There.
Unit – 4 Chap - 2 Mail Delivery System
Chapter 7 Network Applications
 Zone in name space  DNS IN THE INTERNET  Generic domains :There are fourteen generic domains, each specifying an organization type.
Presentation transcript:

Linux Operations and Administration Chapter Twelve Configuring a Mail Server

Linux Operations and Administration Objectives Identify key elements in the Linux architecture Describe how MTAs and MUAs are used in the Linux mail system Configure a mail server in YaST 2

Linux Operations and Administration Introduction to the Linux Mail System predates the Internet Today, is the most widely used Internet service OpenSUSE includes sophisticated programs –Such as Evolution and Kmail In Linux environment, is modular –A separate program is used to manage each function 3

Linux Operations and Administration Introduction to the Linux Mail System (cont’d.) 4 Figure 12-1 The Linux architecture © Cengage Learning 2013

Linux Operations and Administration Introduction to the Linux Mail System (cont’d.) Two main types of programs typically used on a Linux server: –Mail transfer agent (MTA) A program for receiving and delivering messages via Simple Mail Transfer Protocol In Linux, the MTA is often Postfix or sendmail –Mail user agent (MUA) An program that enables users to access their mailboxes for reading and sending electronic messages Examples: Evolution, KMail, command-line utility mail 5

Linux Operations and Administration Introduction to the Linux Mail System (cont’d.) Simple Mail Transfer Protocol (SMTP) –TCP/IP protocol that defines how is sent across the network Postfix –Default MTA in openSUSE 6

Linux Operations and Administration Introduction to the Linux Mail System (cont’d.) When MTA receives the message from MUA: –It determines whether the message is intended for a recipient on local domain or a recipient on another domain –If it’s on the local domain (example.com): MTA saves the message in local machine’s message store until the recipient reads it –For a recipient on another domain: MTA sends the message via SMTP to a remote MTA 7

Linux Operations and Administration Mail Transfer Agents MTA –Actual mail server –Responsible for: Receiving s from local users Forwarding them to a local message store or a remote MTA Messages are transferred from the local message store to users via mail delivery agent (MDA) –Protocols which can be used for the transfer: Post Office Protocol (POP3) Internet Message Access Protocol (IMAP) 8

Linux Operations and Administration Mail Transfer Agents (cont’d.) Process of an MTA sending messages not belonging to local domain to a remote MTA isn’t automatic –Your domain’s DNS settings must be configured correctly –MTA needs to be able to establish a connection with the remote MTA 9

Linux Operations and Administration Sendmail –Most widely used MTA on UNIX/Linux systems –Not the preferred MTA on openSUSE Linux systems Postfix –Preferred MTA Ease of configuration, reliability, and security 10

Linux Operations and Administration Sendmail (cont’d.) In most organizations, employees need to send e- mail to many other domains You can edit Sendmail configuration file to: –Change the MTA behavior to allow multiple domains –Set rules, such as message filters Sendmail is a large program compared with other mail programs –It performs all MTA functions 11

Linux Operations and Administration Qmail Written by Dan Bernstein A fast, modular MTA Lightweight, secure, and reliable Designed with security and ease of use in mind Easier to configure –Such as allowing multiple domains Multiple modules handle qmail’s MTA functions –Each no bigger than 30 KB 12

Linux Operations and Administration Postfix Developed by Wietse Venema Default MTA package on openSUSE Linux systems Designed as a modular MTA Easier to configure, and more reliable and secure than sendmail Its modular design enhances security –Each module has its own set of permissions to follow the guideline of least privileges 13

Linux Operations and Administration Mail User Agents MUA –An program that enables users to send and read messages stored in their mailboxes In the Linux system: –Each user has a local mailbox –Local MTAs send messages to users’ mailboxes –MUA doesn’t actually receive messages It allows users to read messages that have already been placed in mailboxes 14

Linux Operations and Administration Mail User Agents (cont’d.) MUAs can store messages in one of two ways –Method 1 Messages are stored on users’ computers Frees up space on the server –Method 2 Messages are stored on the mail server Users can access them from any computer on the local domain 15

Linux Operations and Administration Mail User Agents (cont’d.) Table 12-1 –Describes four MUA packages included with openSUSE All these packages can use both methods of storing messages 16

Linux Operations and Administration Mail User Agents (cont’d.) 17 Table 12-1 Common openSUSE Linux MUAs

Linux Operations and Administration Using Mailx Example showing how to use mailx 18

Linux Operations and Administration Example: using mailx to read messages in mailbox: Using Mailx (cont’d.) 19

Linux Operations and Administration Using Mailx (cont’d.) Using mail command with no arguments displays all messages in mailbox Table 12-2 –Describes common commands that can be entered at the interactive prompt Activity 12-1: Using the Mailx Program –Send and display s with the mailx program 20

Linux Operations and Administration Using Mailx (cont’d.) 21 Table 12-2 Common mailx commands

Linux Operations and Administration Mail Server Configuration Configuration procedures differ depending on the Linux distribution With openSUSE Linux, you can use a mail server configuration utility in YaST Control Center to perform configuration tasks, including: –Enable virus scanning –Define the type of network connection MTA uses to determine how is delivered –Configure an outbound mail server that’s used if you have a dial-up connection or aren’t connected to the Internet 22

Linux Operations and Administration Mail Server Configuration (cont’d.) –Define masquerade name for outgoing Useful for companies that prefer using a more professional name than actual mail server name –Configure incoming mail options, such as: Firewall settings Root mailbox account Whether to accept mail from remote servers Local alias accounts Virtual domains 23

Linux Operations and Administration The Mail Server Configuration Wizard Root user can start Mail Server Configuration Wizard yast2 mail command is used to start wizard Following sections describe the steps in wizard 24

Linux Operations and Administration General Settings Can use General Settings window to specify network connection type –Determines how MTA delivers messages –Default option is “Permanent” Selecting this option allows Postfix (the MTA) to send messages in real time as they’re created 25

Linux Operations and Administration General Settings (cont’d.) –Dial-up option For Linux machines that connect to the Internet via a dial-up connection Forces users to queue outbound mail server manually when they’re ready to send or receive messages Example: –To a user on a remote computer, you must use sendmail -q command after sending your message 26

Linux Operations and Administration General Settings (cont’d.) –“No connection” option For Linux machines that don’t have access to the Internet Users with this option can each other only on local machines Can also use General Settings window to enable virus scanning with AMaViS program –AMaViS stands for A Mail Virus Scanner 27

Linux Operations and Administration General Settings (cont’d.) 28 Figure 12-2 The General Settings window © Cengage Learning 2013

Linux Operations and Administration Outgoing Mail Outgoing Mail window is used to configure dial-up connections by: –Adding your ISP’s SMTP server, such as smtp.provider.com –Clicking Authentication button to enter authentication credentials MTAs can send messages to remote MTAs –If your mail server is connected to the Internet, you can leave outgoing mail server entry blank 29

Linux Operations and Administration Outgoing Mail (cont’d.) When you send s, your full computer name is used in the name field –Example: Most companies prefer to have the organization name displayed –To do this: Click the Masquerading button Set a display name for each user on the network 30

Linux Operations and Administration Outgoing Mail (cont’d.) 31 Figure 12-3 The Outgoing Mail window © Cengage Learning 2013

Linux Operations and Administration Incoming Mail Accept remote SMTP connections option –This check box is disabled if: If your computer isn’t directly connected to the Internet You have a dial-up connection –Select this option if: If you’re connected to the Internet directly –If you select this option, you must configure firewall settings Need to select Open Port in Firewall check box 32

Linux Operations and Administration Incoming Mail (cont’d.) 33 Figure 12-4 The Incoming Mail window © Cengage Learning 2013

Linux Operations and Administration Incoming Mail (cont’d.) Downloading section –If a company hosts on a server that isn’t connected directly to its networks: Enter remote server’s credentials in Downloading section –Protocols that can be used to transfer from a remote MTA: POP3—Post Office Protocol 3 (POP3) IMAP—Internet Message Access Protocol (IMAP) 34

Linux Operations and Administration Incoming Mail (cont’d.) “Forward root’s mail to” text box –Root user account has full access to all Linux machines on a network –Logging in to mail server as a regular user with limited permissions is recommended –You can redirect system s to your regular user account by entering your username in “Forward root’s mail to” text box 35

Linux Operations and Administration Incoming Mail (cont’d.) Delivery Mode drop-down list –Options Directly Through procmail To Cyrus IMAP Server Aliases button –Used for redirecting to a different local user or a list of local users Virtual domains button –Used to create an alias for your domain name 36

Linux Operations and Administration Incoming Mail (cont’d.) If you selected masquerading option in Outgoing Mail window: –You should configure a domain alias Activity 12-2: Configuring a Mail Server –Configure a mail server to send from a user on one computer to a user on another computer 37

Linux Operations and Administration Incoming Mail (cont’d.) 38 Figure 12-5 The Forwarder Settings window © Cengage Learning 2013

Linux Operations and Administration Summary is based on standard protocols for sending, storing, and receiving electronic messages Mail transfer agent delivers messages between systems via Simple Mail Transfer Protocol Mail user agent is the mail application users run to access mailboxes and send and receive SMTP is the standard protocol for sending across a network Sendmail is the most widely used MTA on Linux systems Postfix is the preferred MTA in openSUSE 39

Linux Operations and Administration Summary (cont’d.) Qmail is a modular MTA KMail and Evolution are two graphical MUAs Mailx is a command-line MUA Fetchmail is a text-based MUA Can configure settings for an openSUSE mail server with YaST Mail Server Configuration Wizard POP3 and IMAP are client/server protocols for receiving Procmail: to filter and sort incoming Cyrus: a type of IMAP server 40