dovecot imap · pdf filedovecot imap server date: ... – online vs. ... with gfs,...
TRANSCRIPT
![Page 1: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/1.jpg)
Dovecot IMAP Server
http://www.dovecot.org/
Date: July, 2009
![Page 2: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/2.jpg)
RackspaceEmail
• DovecotisusedtoserveIMAPforoveramillionpaidmailboxes(MSExchangealsoavailable)
• Usersassignedtospecificbackendservers– WithproprietaryreplicaEonsoFware
• DovecotIMAP/POP3proxiesinfront– AlsoforExchangeIMAP/POP3users
• AmazonS3for(encrypted)backups• Moreaboutclusteringlater..
![Page 3: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/3.jpg)
TheTalk
• Dovecotfeatures• IMAP&Dovecotperformance
• dboxmailboxformat
• Clustering
![Page 4: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/4.jpg)
Dovecot
Pictures from Wikipedia, by Cyril Thomas and Carcharoth
![Page 5: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/5.jpg)
History
• DovecotdesignwasstartedaroundJune2002• FirstreleasewasJuly2002• Late2003aredesignstarted• v1.0.0releasedApril13th2007• v1.1.0releasedJune21st2008• v1.2.0releasedJuly1st2009• v2.0betashopefullythisyear
![Page 6: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/6.jpg)
Features
• OFenhasbeZerperformancethancompeEEon.– OpEmizedforminimizingdiskI/O(index/cachefiles)– HosEngmyownmailson10yearsoldSparchelps
• Highlyconfigurablefordifferentenvironments– StandardmboxandMaildirwithtransparentindexing(externalmailboxmodificaEonsareok)
– dbox:Dovecot’shigh‐performancemailboxformat– Manydifferentwaysofclustering
– ExtremelyflexibleauthenEcaEon• Pos`ixandEximsupportDovecotforSMTPAUTH
![Page 7: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/7.jpg)
Features• Admin‐friendly/self‐healing
– Allerrorsarelogged– Understandableerrormessages
– Improvedconstantly(toreducemyemailload)
– Detected(index)corrupEongetsfixedautomaEcally
• file_dotlock_create(/home/Emo/Maildir/dovecot‐uidlist)failed:Permissiondenied(euid=1000(Emo)egid=1000(Emo)missing+xperm:
/home/Emo)
• chown(/home/Emo/Maildir/.box,‐1,0(root))failed:OperaEonnotpermiZed(egid=1000(Emo),groupbasedon/home/Emo/Maildir)
![Page 8: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/8.jpg)
v1.2NewFeatures
• Virtualmailboxes(searchviews)– ”Allunreademailsinallmailboxes”
– Allmessagesinallmailboxes(exceptTrash)• VirtualPOP3INBOX• Forsearchingmessagesfromallmailboxes• gmail‐likeconversaEonviews
• Userscansharemailboxestoeachothers– IMAPACLcommands
• ModificaEonsequences(CONDSTORE)– CustomcodewanEngquicksync?(e.g.backups)
![Page 9: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/9.jpg)
AuthenEcaEon
• PasswordanduserdatabaseseparaEon– Passdbforverifyinguser’spassword– Userdbforlookinguphowtoaccessmailbox
• Supportforalmosteverything:SQL,LDAP,PAM,checkpasswordscripts,etc.– Everythingisconfigurable(e.g.fullSQLqueries)– SupportsmulEpledbs(e.g.system+virtualusers)
• Authmechanisms:PLAIN,CRAM‐MD5,DIGEST‐MD5,Kerberos,OTP,etc.
• Passwordschemes:Plaintext,CRYPT,MD5,SHA1,SHA256,SSHA,SSHA256,etc.
![Page 10: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/10.jpg)
AuthenEcaEonCache
• Passdbanduserdblookupscanbecached• PasswordchangesareautomaEcallydetected:Ifauthisunsuccessful,andpreviousauthwasa) successful:douncachedpassdblookupb) usuccessful:faillogin
• NegaEvecachingcanbedisabled– Userdoesn’texistcaching– Passwordfailures(v1.2+)
• Avoidsaneedforimapproxywithwebmails?
![Page 11: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/11.jpg)
IMAPProtocol
• Baseprotocoliscomplex–difficulttoimplementitcorrectly(bothclient&server)
• Flexible–manydifferentwaystoimplementaclient(online&offlineclients)
• Extensible–therearealotofextensions– Clientsrarelysupportmorethansomebasicextensions,suchasIDLE.
– Thunderbirdv3addssupportforseveralnewextensions,suchasCONDSTORE.
![Page 12: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/12.jpg)
ImapTestIMAPServerTester
• WriZenoriginallyforDovecotstresstesEng– Foundalotofcrashes,hangsandmailboxcorrupEononotherIMAPserversaswell
• TestsIMAPservercompliancewithscriptedtestsanddynamicrandomstresstesEng.
• DovecotiscurrentlytheonlyIMAPserverthatfullypassesallofImapTesttests.• PandaIMAPispracEcallytheretoo
• Mostotherserversfailinmanydifferentways.• hZp://imapwiki.org/ImapTest
![Page 13: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/13.jpg)
OfflineIMAPClients
• Typicallydownloadnewlyseenmessages’bodiesonceandcachethemlocally
• OFencanbeconfiguredtodownloadimmediatelyvs.downloadwhenreading
• Someuseserversidesearches(Thunderbird)andsomedon’t(Outlook–ifsomemessageshaven’tbeendownloaded,thosearen’tsearched)
• Usuallyalsofetchmessages’metadataonce(headers,receiveddate)
• Server‐sidecachingmayhelp,butnotthatmuch– It’sextradiskI/O‐>morelikelyjusthurts
![Page 14: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/14.jpg)
OnlineIMAPClients
• WebmailsoFenkeepaskingforthesameinformaEonoverandoverandoveragain
• Pineandsomewebmailscachewhatthey’vealreadyseen,butnotpermanently
• MuZ(withoutlocalcache)andsomeothersfetchallmessages’metadataeveryEmewhenopeningamailbox
• Cachingisveryuseful,butdifferentclientswantdifferentmetadata
![Page 15: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/15.jpg)
IMAPServerPerformance
• Difficulttobenchmark• Dependsalotonclients:Whetherclientsusealocalcachemakesahugedifference.– Onlinevs.offlineclients
• Whatdatatoindex/cache?• SPECmail2009addssupportforIMAP
– EmulatesdifferentIMAPclients.Clientamountsareconfigurable.
– TheonlybenchmarkgivingrealisEcresults.
![Page 16: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/16.jpg)
DovecotCacheFile
• dovecot.index.cachefiles• ThemainreasonforDovecot’sgoodperformance• Dynamic:cachesonlywhatclientswant.
– Specificmessageheaders(From:,Subject:,etc),– MIMEstructureinformaEon,– Sent/receiveddate,etc.
• Cachingdecisionsforeachfield:“no”,“temporary”,“permanent”
• UnusedfieldsdroppedaFeramonth.• Cacheddataneverchanges(IMAPguarantees)• Cachefilegets“compressed”onceinawhile• OFenabout10‐20%ofmailboxsize
![Page 17: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/17.jpg)
DovecotIndexFiles
• dovecot.indexcontainsmessages’metadata– IMAPUniqueIDnumber(UID)idenEfiesmessages
– Flags(\Seen,\Answered,keywords,etc.)– Extensiondata:mboxfileoffsets,cachefileoffsets,modseqnumber(v1.2CONDSTORE),etc.
• Lazilycreated/updatedsincev1.1– dovecot.index.loghasallthelatestchanges.dovecot.indexisupdatedaFer8kBofnewdatahasbeenwriZentothe.log
![Page 18: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/18.jpg)
DovecotIndexFiles
• dovecot.index.logisamailboxtransacEonlog– Somewhatsimilartodatabases’transacEonlogsorfilesystemjournals.
– Containsallchangestobedonetodovecot.index.• dovecot.indexisreadtomemoryonceandthenupdatedfromdovecot.index.log– VeryefficientwithNFS/clusteredfilesystems!– Veryefficienttofindoutwhatchangesanothersessionhaddone!
![Page 19: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/19.jpg)
Plugins
• DovecotpluginscanhookintoalmostanythingandmodifyDovecot’sbehavior.SomeexisEngfeaturesimplementedasplugins:– AccessControlLists– Quota– Fulltextsearchindexes– Readingcompressedmbox/maildirfiles
• CanaddnewIMAPcommands• Implementnewmailstoragebackends(virtual,SQL,IMAPproxying)
![Page 20: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/20.jpg)
MailboxFormats
• mbox– Onemailbox=onefile
• Slowtodeleteoldmessages
• Maildir– Onefile=onemessage
• Fasttodeletemessages• Slow(er)toreadthroughallmessages• Filereadorderaffectsperformance,even2xormore!
• Single‐dboxandmulE‐dbox– Dovecot’sextensibleandhigh‐peformancemailboxformats
![Page 21: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/21.jpg)
Single‐dbox• AvailableinDovecotv1.1andlater• MainadvantageoverMaildir:filenamesdon’tchange.
• Directorylayoutlookslike:– mailboxes/INBOX/dbox‐Mails/
• dbox.index–dboxindex(removedinv2.0)• dovecot.index*‐Dovecot’sindexfiles• u.123‐MessagedataforIMAPUID123• u.125‐MessagedataforIMAPUID125
– mailboxes/Trash/dbox‐Mails/– mailboxes/Trash/temp/dbox‐Mails/
![Page 22: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/22.jpg)
Single‐dbox
• PrimarymetadatastorageisDovecot’sindexfiles• MetadatabackupswriZenaboutonceadaytodboxfiles‐>losingindexeswon’tloseallflags
• AutomaEcallyfixes/rebuildsbroken/lostindexes
• Future:Dovecotv2.0nolongerwritesflagstodboxfiles.Itcreatesseparateindexfilebackupsinstead.
![Page 23: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/23.jpg)
dboxFileFormat• Fileheader
– Messageheadersize
– FilecreaEondata• Messageheader(extensible)
– Messagesize
• Messagebody• Messagemetadata(extensible)
– Message’sgloballyUniqueID(GUID)
– Receiveandsavedate/Eme– Message’s”virtualsize”
– etc.• [mulE‐dbox:Nextmessage…]
![Page 24: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/24.jpg)
Single‐dbox:MaildirMigraEon
• SuperfastmigraEonfromMaildir:– RenamesMaildir/cur/todbox‐Mails/
– MovesotherusefulMaildirfilestoo
• NewmailswillbesavedusingnaEvedboxformat
• Oldmailsgetconvertedtodboxlaterwhenuserchangesoldmails’flags.– MailsmightstayasMaildirforalongEme
![Page 25: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/25.jpg)
Single‐dbox:AlternaEveStorage
• Usersrarelyaccesstheiroldmails• Lowerperformancestorageischeaper‐>Moveoldmailstolowperformancestorage
• dboxsupports”alternaEvepath”se~ng:Ifadboxfileisn’tfoundfromprimarypath,it’slookedupfromalternaEvepath.– mail_locaEon=dbox:~/dbox:ALT=/slow/%u/dbox
• Future:Supportforcloudstorage(likeCloudFiles/S3)?
![Page 26: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/26.jpg)
MulE‐dbox
• AvailableinupcomingDovecotv2.0• MulEplemessagesinasinglefile• MulEplefilesinasinglemailbox
– Filesareabout2MB(configurable)– Canberotatedeveryndays(forincrementalbackups)– Largerfiles‐>lessfragmentaEon,butdeleEonslower– DelayedionicednightlydeleEons
• Triesveryhardtopreserveasmuchdataaspossibleincaseof(filesystem)corrupEon.
• Crashorpowerlosscan’tcorruptorlosedata
![Page 27: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/27.jpg)
dboxFuture
• SingleinstanceaZachmentstorage• Abstractoutfilesystemaccessandimplement
– RegularPOSIXI/O– AsyncI/O– CloudstorageI/O
• MakeDovecotdomoreparallelprocessingtogetgoodperformancefor(highlatency)cloudstorageandtogetfulladvantageofasyncI/O.
![Page 28: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/28.jpg)
DovecotClustering
• Twodifferentwaystodoit:• Globallysharedfilesystem
– ManyIMAPservers,eachabletohandleanyuser
– NFS,clusterfilesystems
• Sharding– Eachuser’sdatamirroredin2‐3servers
– IMAPproxyforwardsuserstocorrectserver(s)– DRBD,proprietaryclusteringsoFware/hardware
![Page 29: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/29.jpg)
Clustering:TwoTypesofData
• Messagedata– ExisEngmessages(files)don’tchange– Userstypicallyreadmessagesonce‐>messageisreadfromdiskonlyonce(orfewEmes)
– Latencyhurts,butnotbadly(infutureevenless)• Indexdata
– Constantlookups:”Hasmailboxchanged?”– Latencyisverybadforperformance– ExisEngfileschangeconstantly‐>cachingtrouble!
• Differentstoragesformessages/index?
![Page 30: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/30.jpg)
Clustering:NFS
• NFSserverisoFensinglepointoffailure– Performanceproblemsaffecteveryone.Mightbedifficulttodiagnose/fix.
– Example:NFSlockingbroke‐>restarted‐>Dovecotbecameunusablyslow
• Cachingproblems,especiallywithindexfiles– mail_nfs_*se~ngstrytosolvethese
• Indexfilesonlocaldiskhelpsperformance
• hZp://wiki.dovecot.org/NFS
![Page 31: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/31.jpg)
Clustering:NFS
• SEckyserversforusers=onlyoneservermodifiesauser’smailbox– IMAPproxylooksupdesEnaEonserverfromdb– Avoidscachingproblems– Ifmaildeliveryupdatesindexes,mustbedonebythesameserverasIMAP.• EachserverreceivesmailswithSMTP/LMTP
– Storingindexesonlocaldiskshelpsperformance• Ifservergoesdown,reindexingmaybeslow• DRBDhybrid?
![Page 32: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/32.jpg)
Clustering:ClusterFS
• DovecotknowntoworkwithGFS,OCFS2,..• LesscachingproblemsthanwithNFS
– PerformancesEllbeZerwhenuseraccessesonlysingleserver(beZercaching,lesslockwaits)
• Performance?– Manysmallfilesarebad?
![Page 33: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/33.jpg)
Clustering:Sharding
• TypicallyinacEve/passiveserverpairs:• DedicatedacEveandpassiveservers
– Wastesservers
• Crossedpairs– EachserverisacEveforonesetofusersandpassiveforanothersetofusers
– Serverfailuredoublesthepassive’sload• DovecotIMAP/POP3proxyclusterinfront
![Page 34: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/34.jpg)
Clustering:Sharding
• Distributeindividualusers(notenEredomains)todifferentservers– Reducesloadspikes
• UsestaEsEcstoautomaEcallydistributeheavyuserstodifferentservers– v1.2canexportverydetailedstaEsEcsviaplugin– v2.0’supcomingdsyncuElity
![Page 35: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/35.jpg)
Clustering:DRBD
• FilesystemcorrupEongetsreplicated• SynchronousreplicaEon
– Nomaillossonfailures
– Tooslowforcross‐datacenter(?)• AsynchronousreplicaEon
– Somedatalossonfailure
• 3servers:SyncreplicaEonforin‐datacenterandasyncforcross‐datacenterbackup?
![Page 36: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/36.jpg)
ClusteringFuture:TheCloud
• Savemessagedataincheapcloudstorage– TypicallysimpleAPIstoaccessfiles
• dboxdesignedforthis– Typicallyhigherlatency
• DovecotneedstodomoreworkwhilewaiEng
• Indexdatakeptprimarilyinmemory– Mustbeverylowlatency‐>directcommunicaEonbetweenserversthataccessthesamemailbox
– Permanent(backup)storagemaysEllbeincloud
• Result:mulE‐masterreplicaEon
![Page 37: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/37.jpg)
Dovecotv2.0
• Somenewfeaturesalreadyimplemented:– Redesignedmasterprocess
• Easytoaddexternalservices,e.g.ManageSieve
– RedesignedconfiguraEon• Local/remoteIP/mask‐specificconfiguraEon
– SSLcerts• Allowchangingconfigdatasource(e.g.SQL?)
– LMTPserver– dsync:Realiablyandefficientlysynctwomailboxes(e.g.viaSSH)
![Page 38: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/38.jpg)
Dovecotv2.0
• Featuresnotyetimplemented,buthopefullywillbebytheendofthisyear:– Indexfileimprovements
• Nolocking(withatomicappends)
• SmallchecksumsallaroundfordetecEngcorrupEon• Ingeneralmakethecodesimplerandmorerobust
– MulE‐masterreplicaEon• dboxcloudstorage(forsomeexisEngcloudAPI(s)?)
• Indexsharing/replicaEonbetweenservers
![Page 39: Dovecot IMAP · PDF fileDovecot IMAP Server Date: ... – Online vs. ... with GFS, OCFS2,](https://reader031.vdocuments.mx/reader031/viewer/2022020214/5aafed427f8b9a190d8df7e4/html5/thumbnails/39.jpg)
QuesEons?