SlideShare a Scribd company logo
LINUX BASED MAIL
SERVER
 Gábor Bernics
Me
1


       Gábor Bernics
       29 years old
       IT Specialist at Penta Unió Ltd.
       Love Linux, prefer Debian
       Hungarian wine, „Túró Rudi”, playing futsal




                          Gábor Bernics - Linux based mail server   2013.02.24.
Why?
2


    E-mail is very current:
     Cheap

     Immediatly

     Anywhere at anytime



    E-mail is part of my life: manage e-mail servers and
      desktop clients, contact with clients, make direct
      marketing compaign, etc.

    20.000.000.000 per day (without spam)
                              Gábor Bernics - Linux based mail server   2013.02.24.
Trip
3




MUA > SMTP > MTA > SMTP > MTA > INBOX > IMAP/POP3 >
                        MUA




                       Gábor Bernics - Linux based mail server   2013.02.24.
3M
4

       MTA (Mail Transfer Agent):
           Transfer message from one to another computer
           Client - server architecture over SMTP
           Postfix, Exim, Sendmail
       MDA (Mail or Local Delivery Agent):
           Deliver to user mailbox
           Procmail, Postfix-Virtual, Dovecot LDA
       MUA (Mail User Agent):
           Client for access user’s email
           Thunderbird, Outlook, web based mail clients

                                  Gábor Bernics - Linux based mail server   2013.02.24.
Protocols
5

       SMTP (Simple Mail Transfer Protocol)
         Internet standard for electrnic mail transmission across Internet Protocol (IP)
         defined by RFC821 (1982)
         Port number: 25 (MTA – MTA)
          Simply, text based, MIME encode

           IMAP (Internet Message Access Protocol):
           defined by RFC 3501
           Support Online - Offline mode
           Port number: 143

       POP3 (Post Office Protocol):
          Older than IMAP
          Defined by RFC 918 (1984)
          simple download-and-delete
          Port number: 110


                                              Gábor Bernics Linux based mail server     2013.02.24.
IMAP vs POP3
6



Store email on the server and client too             Low storage one server (but more
Folders, mark read/
                  unread/
                        deleted mail                   risk!)
        Fast search on the background                Low system load on the server
                 Log every momentum                  Can access to mails without network
                                                       connection




                                           Gábor Bernics - Linux based mail server   2013.02.24.
Postfix
7

        Install postfix with basic parameters:
                                    apt-get install postfix
        Check the log:
                                    cat /var/log/mail.log
        Add your domain to the config files:
                           postconf -e "myorigin = example.com„
        Add your hostname (computer name):
                     postconf -e "myhostname=server1.example.com”
        Now add the domain names that your system will handle:
        postconf -e "relay_domains = example.com, example2.com, example3.com”
        Reload Postfix Server:
                                        postfix reload

                                           Gábor Bernics Linux based mail server   2013.02.24.
9   Thank you!

    Gábor Bernics
    gabor@bernics.hu
    +36 70/233-9767
    http://bernics.hu/presentation


         Gábor Bernics Linux mail server in 10 minutes   2013.02.24.
9   Thank you!

    Gábor Bernics
    gabor@bernics.hu
    +36 70/233-9767
    http://bernics.hu/presentation


         Gábor Bernics Linux mail server in 10 minutes   2013.02.24.

More Related Content

PPTX
Mail server on linux
PPS
Linux10 sendmail
PPTX
Email server system1.ppt
PPTX
PPTX
Internet mail server
PDF
Application layer protocol
PDF
PDF
Email - Electronic Mail
Mail server on linux
Linux10 sendmail
Email server system1.ppt
Internet mail server
Application layer protocol
Email - Electronic Mail

What's hot (20)

PPTX
Imap(internet massege access protocaols)
PDF
E mail protocol - SMTP
PPTX
Simple Mail Transfer Protocol
PPT
Mail server setup
PPT
Mail server
PPTX
E mail protocols
PPT
transfer protocols,ftp,smtp,pop,imap
PPTX
PPTX
File Transfer Protocol - FTP
PPT
retrieving the mail
PDF
Ftp server configuration on cisco packet tracer
PPTX
POP3 Post Office Protocol
PPTX
Information on protocols-email protocols
PPTX
Pop (post office protocol)e mail (electronic mail)
PDF
Lecture 9 electronic_mail_representation_and_transfer
PDF
File server
PPTX
Simple Mail Transfer Protocol
PPTX
Smtp, pop3, imapv 4
PPT
E mail transfer .74
PPT
connectivity utility
Imap(internet massege access protocaols)
E mail protocol - SMTP
Simple Mail Transfer Protocol
Mail server setup
Mail server
E mail protocols
transfer protocols,ftp,smtp,pop,imap
File Transfer Protocol - FTP
retrieving the mail
Ftp server configuration on cisco packet tracer
POP3 Post Office Protocol
Information on protocols-email protocols
Pop (post office protocol)e mail (electronic mail)
Lecture 9 electronic_mail_representation_and_transfer
File server
Simple Mail Transfer Protocol
Smtp, pop3, imapv 4
E mail transfer .74
connectivity utility
Ad

Viewers also liked (20)

PDF
Mail server on Ubuntu Server 12.04 (Postfix, Courier, SSL, SpamAssassin, Clam...
PPTX
DESIGN AND CONSTRUCTION OF A LINUX BASED WEB (1)
PPTX
Install skyline & Redis in Centos 7
PDF
Dovecot & Postfix バージョンアップ動向 201401-201505
PDF
rspamd-hyperscan
PDF
rspamd-fosdem
PDF
mail server
PDF
Rhce syllabus | Red Hat Linux Training: IPSR Solutions
PDF
OTechs Advanced Mail Administration (POSTFIX) Training Course
PDF
Massive emailing with Linux, Postfix and Ruby on Rails
PPT
Computer notes - Postfix
PPT
SureMail: Notification Overlay for Email Reliability
PPT
PPT
Slide 1 - Parallels Plesk Control Panel 8.6.0
PPT
PPT
SureMail: Notification Overlay for Email Reliability
PPT
Get your website noticed by Jason King of HAVS
PDF
Slide 1
PPS
IT Power Management Strategy
PPT
Mail server on Ubuntu Server 12.04 (Postfix, Courier, SSL, SpamAssassin, Clam...
DESIGN AND CONSTRUCTION OF A LINUX BASED WEB (1)
Install skyline & Redis in Centos 7
Dovecot & Postfix バージョンアップ動向 201401-201505
rspamd-hyperscan
rspamd-fosdem
mail server
Rhce syllabus | Red Hat Linux Training: IPSR Solutions
OTechs Advanced Mail Administration (POSTFIX) Training Course
Massive emailing with Linux, Postfix and Ruby on Rails
Computer notes - Postfix
SureMail: Notification Overlay for Email Reliability
Slide 1 - Parallels Plesk Control Panel 8.6.0
SureMail: Notification Overlay for Email Reliability
Get your website noticed by Jason King of HAVS
Slide 1
IT Power Management Strategy
Ad

Similar to Linux Based Mail Server (20)

PPTX
Digital Forensics Research & Examination
PPT
Mail server
PDF
CCNA 1 Chapter 10 v5.0 2014
PPTX
Application layer
PDF
Linux instalação e-conf postfix - pop3 eimap
PPT
EmailTracing.ppt
PPT
Tcpip services and applications
PPT
Electronic Mail.ppt
PDF
L2 lotus help
PDF
Lotus Domino Admin.
PDF
Postfix, Imap e Pop3
PPT
Email
PPTX
Mailing Server
PPTX
Chapter 12 Computer Networks II class 12.pptx
PPTX
Mail services and mail commands in linux
PPTX
Electronic mail
DOCX
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
DOCX
Article on SMPT
PPTX
CN Unit-5.pptx dns jdlj;lvk;ckx; gfvfdcffdf
PPTX
Introduction to basics command in linux, and working in linux
Digital Forensics Research & Examination
Mail server
CCNA 1 Chapter 10 v5.0 2014
Application layer
Linux instalação e-conf postfix - pop3 eimap
EmailTracing.ppt
Tcpip services and applications
Electronic Mail.ppt
L2 lotus help
Lotus Domino Admin.
Postfix, Imap e Pop3
Email
Mailing Server
Chapter 12 Computer Networks II class 12.pptx
Mail services and mail commands in linux
Electronic mail
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
Article on SMPT
CN Unit-5.pptx dns jdlj;lvk;ckx; gfvfdcffdf
Introduction to basics command in linux, and working in linux

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
KodekX | Application Modernization Development
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Machine learning based COVID-19 study performance prediction
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Programs and apps: productivity, graphics, security and other tools
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Understanding_Digital_Forensics_Presentation.pptx
MYSQL Presentation for SQL database connectivity
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KodekX | Application Modernization Development
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Machine learning based COVID-19 study performance prediction
Chapter 3 Spatial Domain Image Processing.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Weekly Chronicles - August'25 Week I
MIND Revenue Release Quarter 2 2025 Press Release
Dropbox Q2 2025 Financial Results & Investor Presentation
sap open course for s4hana steps from ECC to s4
Programs and apps: productivity, graphics, security and other tools

Linux Based Mail Server

  • 1. LINUX BASED MAIL SERVER Gábor Bernics
  • 2. Me 1  Gábor Bernics  29 years old  IT Specialist at Penta Unió Ltd.  Love Linux, prefer Debian  Hungarian wine, „Túró Rudi”, playing futsal Gábor Bernics - Linux based mail server 2013.02.24.
  • 3. Why? 2 E-mail is very current:  Cheap  Immediatly  Anywhere at anytime E-mail is part of my life: manage e-mail servers and desktop clients, contact with clients, make direct marketing compaign, etc. 20.000.000.000 per day (without spam) Gábor Bernics - Linux based mail server 2013.02.24.
  • 4. Trip 3 MUA > SMTP > MTA > SMTP > MTA > INBOX > IMAP/POP3 > MUA Gábor Bernics - Linux based mail server 2013.02.24.
  • 5. 3M 4  MTA (Mail Transfer Agent):  Transfer message from one to another computer  Client - server architecture over SMTP  Postfix, Exim, Sendmail  MDA (Mail or Local Delivery Agent):  Deliver to user mailbox  Procmail, Postfix-Virtual, Dovecot LDA  MUA (Mail User Agent):  Client for access user’s email  Thunderbird, Outlook, web based mail clients Gábor Bernics - Linux based mail server 2013.02.24.
  • 6. Protocols 5  SMTP (Simple Mail Transfer Protocol)  Internet standard for electrnic mail transmission across Internet Protocol (IP)  defined by RFC821 (1982)  Port number: 25 (MTA – MTA)  Simply, text based, MIME encode  IMAP (Internet Message Access Protocol):  defined by RFC 3501  Support Online - Offline mode  Port number: 143  POP3 (Post Office Protocol):  Older than IMAP  Defined by RFC 918 (1984)  simple download-and-delete  Port number: 110 Gábor Bernics Linux based mail server 2013.02.24.
  • 7. IMAP vs POP3 6 Store email on the server and client too Low storage one server (but more Folders, mark read/ unread/ deleted mail risk!) Fast search on the background Low system load on the server Log every momentum Can access to mails without network connection Gábor Bernics - Linux based mail server 2013.02.24.
  • 8. Postfix 7  Install postfix with basic parameters: apt-get install postfix  Check the log: cat /var/log/mail.log  Add your domain to the config files: postconf -e "myorigin = example.com„  Add your hostname (computer name): postconf -e "myhostname=server1.example.com”  Now add the domain names that your system will handle: postconf -e "relay_domains = example.com, example2.com, example3.com”  Reload Postfix Server: postfix reload Gábor Bernics Linux based mail server 2013.02.24.
  • 9. 9 Thank you! Gábor Bernics gabor@bernics.hu +36 70/233-9767 http://bernics.hu/presentation Gábor Bernics Linux mail server in 10 minutes 2013.02.24.
  • 10. 9 Thank you! Gábor Bernics gabor@bernics.hu +36 70/233-9767 http://bernics.hu/presentation Gábor Bernics Linux mail server in 10 minutes 2013.02.24.

Editor's Notes

  • #2: Hello, I am Gabor and this is my first presentation about a typical linux based mail server. It is a very wide range subject, becouse I have only 10 minutes that’s why I will be short.
  • #3: On the first slide you can see basic information about me. My name is Gabor Bernics, I am twentynine years old, I work as IT Specialist at Penta Unió Ltd. I have been liking Linux since 2002, I prefer Debian from 3.0 („Woody”) I Like hungarian wine, Túró Rudi and I like playing futsal.
  • #4: First question: Why choose this topic? Because email is very current, it’s cheap (very cheapper than normal mail), people can read and write immediatly and can use anywhere and anytime. E-mail is part of my life too: I manage e-mail servers and desktop clients, contact with clients via email, I make direct marketing compaign, et cetra. People send 20 billion email per day, it’s a very big number..but spams give up to 90 percent of daily email traffic. The fight for spams is a seperate industry nowday.
  • #5: On the fird slide you see a typical route of an email: User send an email by Mail User Agent across smtp to our provider, provider give the mail to the MTA server of recipient. MUA of recipient get the mail from IMAP or POP 3.
  • #6: On these slide you show three concept with 3M: The task of MTA (Mail Transfer Agent) is a transfer message from one to another computer. These is a client – server architecture, SMTP server can works both. Typical MTAs on Linux are Postfix, Exim and Sendmail The task of MDA (Mail or Local Delivery Agent) is deliver mails to user user mailbox. Typical MDAs on Linux are Procmail, Postfix-Virtual delivery agent and Dovecot LDA MUA is Mail User Agent, there are clients for access user’s email Typical MUA are Thunderbird, Outlook, but users prefer web basedmail clients nowday – it’s flexible, not depend the place or OS. The current webmail providers are gmail, hotmail, yahoomail.