Dovecot – server for pop and imap

Slides:



Advertisements
Similar presentations
Case Studies for Projects. Network Audit A brief description of the systems (via fingerprinting, if black box is used) Network perimeter should be described.
Advertisements

Apache Web Server Quick and Dirty Steve Gibbard for SANOG 16 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Server Upgrade From UW to Cyrus. What is an IMAP Server? Provides access to your mail messages stored on the mail server Requires authentication.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Administering Your.
Mail Server Fitri Setyorini. Content SMTP POP3 How mail server works IMAP.
SquirrelMail for Webmail AfNOG 2012 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Serrekunda, Gambia (Original Materials by Joelja)
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
Mozilla Thunderbird Roderick Bautista Cheryl Knott Gyeong Lee Lee Raynes Kelly Santos.
Implementing POP3 and IMAP4 Using Dovecot
Backup Local Online For secure offsite storage of your , and making it available from any computer or smart phone. Backup accessed with.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Four Configuring Outlook and Outlook Web Access.
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Dovecot – server for pop and imap AfNOG CHIX Blantyre, Malawi October - November, 2011 (Materials developed by Joel Jaeggli For AfNOG)‏
Databases and security continued CMSC 461 Michael Wilson.
4 Mailbox Technologies for James Eric Charles, U-Mangate Nov
1 Apache and Virtual Sites and SSL Dorcas Muthoni.
Single Sign-on with Kerberos 1 Chris Eberle Ryan Thomas RC Johnson Kim-Lan Tran CS-591 Fall 2008.
1 Securing Data and Communication. 2 Module - Securing Data and Communication ♦ Overview Data and communication over public networks like Internet can.
Apache Web Server Quick and Dirty for AfNOG 2015 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Ozan Şahin Ömer Üçler.  Purpose of Project  Used Technologies  Database Design  Problems&Solutions  Use Case’s  Demo.
Apache Web Server Quick and Dirty Evelyn NAMARA for AfNOG 2014 (Originally by Joel Jaeggli for AfNOG 2007) ‏
Apache Web Server Quick and Dirty Ayitey Bulley for AfNOG 2011 (Originally by Joel Jaeggli for AfNOG 2007) ‏
1 COP 4343 Unix System Administration Unit 14: – send and receive mail – mail filtering – mail server – mailing lists.
Apache Web Server Quick and Dirty Kevin G. Chege for AfNOG 2013 (Originally by Joel Jaeggli for AfNOG 2007) ‏
LinuxChix Apache. Serving Webpages The layer 7 protocol (HTTP) is what our browsers talk to get us the websites we can't seem to live without. HTTP is.
1 FreeBSD Installation AFNOG X Cairo, Egypt May 2009 Hervey Allen.
P.O.P. A presentation brought to you by Thomas. Topics Introduction General Information Area of use Functionality The alternative way POP3 vs. IMAP Conclusion.
Apache with SSL and php Apache with ssl support should be the basic platform for providing web services... There are several different implementations.
Implementing POP3 and IMAP4 Using Dovecot AfNOG 2012 Scalable Internet Services (SS-E) Serrekunda, Gambia Presented by Michuki Mwangi (Built on materials.
Scaling Dovecot using Mysql and Virtual Users AfNOG 2013 Scalable Internet Services (SS-E) Lusaka, Zambia Presented by Michuki Mwangi.
1 FreeBSD Installation AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni and Evelyn Namara.
1 Web Server Administration Chapter 8 Providing Services.
Unit – 5 FTP Server. FTP Introduction One of the oldest and most commonly used protocols The original specification for the File Transfer Protocol was.
SquirrelMail for Webmail Quick and Dirty Michuki Mwangi for AfNOG 2010.
LINUXCHIX WEBMAIL. Software run by an ISP or online service that provides access to send, receive, and review using only your Web browser. Users.
Introduction to Oracle  Oracle Database XE, APEX and Oracle SQL Developer.
VIRTUAL SERVERS Chapter 7. 2 OVERVIEW Exchange Server 2003 virtual servers Virtual servers in a clustering environment Creating additional virtual servers.
Implementing POP3 and IMAP4 Using Dovecot AfNOG 2016 Scalable Internet Services (SS-E) Gaborone, Botswana Presented by Michuki Mwangi (Built on materials.
101 Derek Carter
Apache with SSL building from source Apache with ssl support should be the basic platform for providing web services... There are several different implementations.
FreeRADIUS Install and Configuration Joel Jaeggli 05/04/2006.
` ` Alice’s Mail Provider Bob’s Mail Provider Architecture Mary
beas group AG Beas sql guide Martin Heigl CTO
How to Start SQL Server and SSDT BI in Local
Network Programming 10- SMTP-POP3
Best Practices, Postfix and Dovecot
Data Virtualization Tutorial… SSL with CIS Web Data Sources
Apache with SSL building from source
Tutorial on Creating Certificates SSH Kerberos
Apache Security with SSL Using FreeBSD
SquirrelMail for Webmail
(Originally by Joel Jaeggli for AfNOG 2007)‏
XWN740 X-Windows Configuring and Using Remote Access
Implementing POP3 and IMAP4 Using Dovecot
How to Add Your Gmail Account to Outlook 2013 Using IMAP settings? | Call
RR RR Problems Along With Solutions For iPhone And iPad Toll Free ( )
LPIC-2 Real Q&As. How is the LDAP administrator account configured when the rootdn and rootpw directives are not present in the slapd.conf file?
7 Steps to Set Up AT&T on MS Outlook | Customer Support Number
Single Sign-on with Kerberos
Homework #05 SSL and TLS Announce: Due:
Information Services & Technology
Chapter 2: Application layer
Post Install Configuration FreeBSD
FTP AND COMMAND PROCESSING IN FTP
SOP of Configuring Auto-mail Alarm
APACHE WEB SERVER.
Part II Application Layer.
Configuring Setup for Apple deivices
We Need To Talk Security
Presentation transcript:

Dovecot – server for pop and imap AfNOG CHIX Blantyre, Malawi October - November, 2010 (Materials developed by Joel Jaeggli For AfNOG)‏ 1 1

What is Dovecot? High-performance POP and IMAP server Developed byTimo Sirainen Unlike say UW IMAP it wasn't written in the 80s Transparently index's mailbox contents (Why is this important?) Supports both mbox and maildir formats Capable of operating in an environment with minimal locking. (Why is this important) Graceful around failures (index repair for example) 2 2

Let's install it the FreeBSD way cd /usr/ports/mail/dovecot make Note all the options for databases! It is typical for small applications to do authentication of users using the unix password file or PAM. Big mail installations can use an SQL database interface for the storage of user credentials. The defaults are ok for our purposes 3 3

FreeBSD install cont make install Take a look at /usr/local/etc/rc.d/dovecot Edit /etc/rc.conf dovecot_enable="YES" Ok, now we could start it but we really need to configure it first. Look at /usr/local/etc/dovecot.conf 4 4

Dovecot Configuration Find the lines:(Only do this if you have successfully created SSL keys in the previous Cryptography Lab Session) #ssl_cert_file = /etc/ssl/certs/dovecot.pem #ssl_key_file = /etc/ssl/private/dovecot.pem Uncomment them, Then amend them to point at the certificate and keyfile that we created during the apache webserver tutorial. Disable plaintext authentication by altering: disable_plaintext_auth = no Note: unencrypted connections can still be made from localhost! 5 5

Dovecot Configuration 2 Note that the default listening services are: protocols = imap imaps pop3 pop3s TCP listeners are on 110 143 993 and 995 If you need the unencrypted versions of the protocol for some reason (e.g. a webmail application) then you should firewall them off from the rest of your end users (end-user clients should never be be allowed to connect insecurely) Otherwise disable imap and pop3 ** Please leave them on for this AfCHIX Workshop ** 6 6

Dovecot Configuration – mailbox location The mail storage by default on Exim is in /var/mail/ The storage format is also Mbox and we shall keep this format as well for purposes of this exercise. To change this to use a different storage format and location Locate the line: mail_location = mbox:~/mail/:INBOX=/var/mail/%u See examples infile above this line for Maildir option Ok we should have a sufficiently tuned dovecot to be able to start it. /usr/local/etc/rc.d/dovecot start 7 7

Done If everything works correctly you should be able to point an imap client towards your system at port 993. 8 8