SlideShare a Scribd company logo
1 of 10
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

What's hot

Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocols
Priyanka Shinde
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
Rajan Pandey
 
E mail transfer .74
E mail transfer .74E mail transfer .74
E mail transfer .74
myrajendra
 

What's hot (20)

Imap(internet massege access protocaols)
Imap(internet massege access protocaols)Imap(internet massege access protocaols)
Imap(internet massege access protocaols)
 
E mail protocol - SMTP
E mail protocol - SMTPE mail protocol - SMTP
E mail protocol - SMTP
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Mail server setup
Mail server setupMail server setup
Mail server setup
 
Mail server
Mail serverMail server
Mail server
 
E mail protocols
E mail protocolsE mail protocols
E mail protocols
 
transfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imaptransfer protocols,ftp,smtp,pop,imap
transfer protocols,ftp,smtp,pop,imap
 
FTP
FTPFTP
FTP
 
File Transfer Protocol - FTP
File Transfer Protocol - FTPFile Transfer Protocol - FTP
File Transfer Protocol - FTP
 
retrieving the mail
retrieving the mailretrieving the mail
retrieving the mail
 
Ftp server configuration on cisco packet tracer
Ftp server configuration on cisco packet tracerFtp server configuration on cisco packet tracer
Ftp server configuration on cisco packet tracer
 
POP3 Post Office Protocol
POP3 Post Office ProtocolPOP3 Post Office Protocol
POP3 Post Office Protocol
 
Information on protocols-email protocols
Information on protocols-email protocolsInformation on protocols-email protocols
Information on protocols-email protocols
 
Pop (post office protocol)e mail (electronic mail)
Pop (post office protocol)e mail (electronic mail)Pop (post office protocol)e mail (electronic mail)
Pop (post office protocol)e mail (electronic mail)
 
Lecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transferLecture 9 electronic_mail_representation_and_transfer
Lecture 9 electronic_mail_representation_and_transfer
 
File server
File serverFile server
File server
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
Smtp, pop3, imapv 4
Smtp, pop3, imapv 4Smtp, pop3, imapv 4
Smtp, pop3, imapv 4
 
E mail transfer .74
E mail transfer .74E mail transfer .74
E mail transfer .74
 
connectivity utility
connectivity utilityconnectivity utility
connectivity utility
 

Viewers also liked

DESIGN AND CONSTRUCTION OF A LINUX BASED WEB (1)
DESIGN AND CONSTRUCTION OF A LINUX BASED WEB (1)DESIGN AND CONSTRUCTION OF A LINUX BASED WEB (1)
DESIGN AND CONSTRUCTION OF A LINUX BASED WEB (1)
Ibrahim Yusuf Salihu
 
SureMail: Notification Overlay for Email Reliability
SureMail: Notification Overlay for Email ReliabilitySureMail: Notification Overlay for Email Reliability
SureMail: Notification Overlay for Email Reliability
webhostingguy
 
Slide 1 - Parallels Plesk Control Panel 8.6.0
Slide 1 - Parallels Plesk Control Panel 8.6.0Slide 1 - Parallels Plesk Control Panel 8.6.0
Slide 1 - Parallels Plesk Control Panel 8.6.0
webhostingguy
 
SureMail: Notification Overlay for Email Reliability
SureMail: Notification Overlay for Email ReliabilitySureMail: Notification Overlay for Email Reliability
SureMail: Notification Overlay for Email Reliability
webhostingguy
 
Get your website noticed by Jason King of HAVS
Get your website noticed by Jason King of HAVSGet your website noticed by Jason King of HAVS
Get your website noticed by Jason King of HAVS
webhostingguy
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
webhostingguy
 

Viewers also liked (20)

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

Similar to Linux Based Mail Server

Introduction to basics command in linux, and working in linux
Introduction to basics command in linux, and working in linuxIntroduction to basics command in linux, and working in linux
Introduction to basics command in linux, and working in linux
Gracia Marcom
 

Similar to Linux Based Mail Server (20)

Digital Forensics Research & Examination
Digital Forensics Research & ExaminationDigital Forensics Research & Examination
Digital Forensics Research & Examination
 
Mail server
Mail serverMail server
Mail server
 
CCNA 1 Chapter 10 v5.0 2014
CCNA 1 Chapter 10 v5.0 2014CCNA 1 Chapter 10 v5.0 2014
CCNA 1 Chapter 10 v5.0 2014
 
Application layer
Application layerApplication layer
Application layer
 
Linux instalação e-conf postfix - pop3 eimap
Linux instalação e-conf postfix - pop3 eimapLinux instalação e-conf postfix - pop3 eimap
Linux instalação e-conf postfix - pop3 eimap
 
EmailTracing.ppt
EmailTracing.pptEmailTracing.ppt
EmailTracing.ppt
 
Tcpip services and applications
Tcpip services and applicationsTcpip services and applications
Tcpip services and applications
 
Electronic Mail.ppt
Electronic Mail.pptElectronic Mail.ppt
Electronic Mail.ppt
 
L2 lotus help
L2 lotus helpL2 lotus help
L2 lotus help
 
Lotus Domino Admin.
Lotus Domino Admin.Lotus Domino Admin.
Lotus Domino Admin.
 
Postfix, Imap e Pop3
Postfix, Imap e Pop3Postfix, Imap e Pop3
Postfix, Imap e Pop3
 
Email
EmailEmail
Email
 
Mailing Server
Mailing ServerMailing Server
Mailing Server
 
Mail services and mail commands in linux
Mail services and mail commands in linuxMail services and mail commands in linux
Mail services and mail commands in linux
 
Electronic mail
Electronic mailElectronic mail
Electronic mail
 
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOLSMTP - SIMPLE MAIL TRANSFER PROTOCOL
SMTP - SIMPLE MAIL TRANSFER PROTOCOL
 
Article on SMPT
Article on SMPTArticle on SMPT
Article on SMPT
 
Introduction to basics command in linux, and working in linux
Introduction to basics command in linux, and working in linuxIntroduction to basics command in linux, and working in linux
Introduction to basics command in linux, and working in linux
 
Email ftp
Email ftpEmail ftp
Email ftp
 
Email Storage with Ceph - SUSECON2017
Email Storage with Ceph - SUSECON2017Email Storage with Ceph - SUSECON2017
Email Storage with Ceph - SUSECON2017
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.