{"id":208,"date":"2010-08-13T13:56:53","date_gmt":"2010-08-13T11:56:53","guid":{"rendered":""},"modified":"2010-08-17T11:06:08","modified_gmt":"2010-08-17T09:06:08","slug":"dovecot-1213","status":"publish","type":"post","link":"https:\/\/drfugazi.eu.org\/en\/dovecot-1213\/","title":{"rendered":"dovecot-1.2.13"},"content":{"rendered":"<p>Dovecot is an open source IMAP and POP3 email server for Linux\/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It&#8217;s fast, simple to set up, requires no special administration and it uses very little memory.<\/p>\n<p style=\"text-align: right; font-style: italic;\">Source: <a href=\"http:\/\/dovecot.org\/\" target=\"_blank\">http:\/\/dovecot.org\/<\/a><\/p>\n<p>Below you can find transcript of configuration and compilation session of Dovecot server and a script which I use for this purpose (as attachement).<\/p>\n<pre>\r\nroot@feniks:~# su - soft\r\nsoft@feniks:~% cd dovecot\r\nsoft@feniks:~\/dovecot% wget http:\/\/dovecot.org\/releases\/1.2\/dovecot-1.2.13.tar.gz\r\nsoft@feniks:~\/dovecot% gtar -zxf dovecot-1.2.13.tar.gz\r\nsoft@feniks:~\/dovecot% cp drf_dovecot-1.2.6_conf drf_dovecot-1.2.13_conf\r\nsoft@feniks:~\/dovecot% vi !$\r\n<\/pre>\n<p>In this configuration file I set up additional paths to OpenLDAP and SSL libraries and optimalization options (for SunStudio).<\/p>\n<p><!--break--><\/p>\n<pre>\r\nCFLAGS=\"-xO3 -xautopar\"\r\nCXXFLAGS=$CFLAGS\r\nCPPFLAGS=\"-I\/usr\/local\/ssl\/include -I\/usr\/local\/openldap\/include -I\/usr\/local\/include\"\r\nLDFLAGS=\"-L\/usr\/local\/ssl\/lib -R\/usr\/local\/ssl\/lib -L\/usr\/local\/openldap\/lib -R\/usr\/local\/openldap\/lib -L\/usr\/local\/lib -R\/usr\/local\/lib\"\r\n<\/pre>\n<p>Configuration with use of my script:<\/p>\n<pre>\r\nsoft@feniks:~\/dovecot% .\/drf_dovecot-1.2.13_conf \r\ncc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007\/07\/12\r\nusage: cc [ options] files.  Use 'cc -flags' for details\r\nPATH=\/usr\/local\/bin:\/usr\/bin:\/opt\/SUNWspro\/bin:\/usr\/ccs\/bin:\/usr\/ucb\r\nCFLAGS=-xO3 -xautopar\r\nCPPFLAGS=-I\/usr\/local\/ssl\/include -I\/usr\/local\/openldap\/include -I\/usr\/local\/include\r\nCXXFLAGS=-xO3 -xautopar\r\nLDFLAGS=-L\/usr\/local\/ssl\/lib -R\/usr\/local\/ssl\/lib -L\/usr\/local\/openldap\/lib -R\/usr\/local\/openldap\/lib -L\/usr\/local\/lib -R\/usr\/local\/lib\r\n=============================================\r\ndmake clean [y|n] ?\r\nn\r\n=============================================\r\nconfigure [y|n] ?\r\ny\r\nchecking for a BSD-compatible install... \/usr\/local\/bin\/ginstall -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... \/usr\/local\/bin\/mkdir -p\r\nchecking for gawk... gawk\r\n...\r\n<\/pre>\n<p>This is important when you will use LDAP for authentication:<\/p>\n<pre>\r\nchecking for ldap_init in -lldap... yes\r\nchecking ldap.h usability... yes\r\nchecking ldap.h presence... yes\r\nchecking for ldap.h... yes\r\nchecking for ldap_initialize in -lldap... yes\r\nchecking for ldap_start_tls_s in -lldap... yes\r\nchecking for ber_free in -lldap... no\r\nchecking for ber_free in -llber... yes\r\n...\r\n<\/pre>\n<p>Configuration summary:<\/p>\n<pre>\r\nInstall prefix . : \/usr\/local\/dovecot-1.2.13\r\nFile offsets ... : 64bit\r\nI\/O polling .... : poll\r\nI\/O notifys .... : none\r\nSSL ............ : yes (OpenSSL)\r\nGSSAPI ......... : no\r\npassdbs ........ : passwd passwd-file shadow pam checkpassword ldap\r\n                 : -bsdauth -sia -sql -vpopmail\r\nuserdbs ........ : static prefetch passwd passwd-file checkpassword ldap\r\n                 : -sql -vpopmail -nss\r\nSQL drivers .... :\r\n                 : -pgsql -mysql -sqlite\r\n<\/pre>\n<p>Compilation time:<\/p>\n<pre>\r\n=============================================\r\ndmake [y|n] ?\r\nydmake  all-recursive\r\nMaking all in src\r\nMaking all in lib\r\ndmake  all-am\r\nsource='array.c' object='array.o' libtool=no \\\r\nDEPDIR=.deps depmode=none \/bin\/bash ..\/..\/depcomp \\\r\ncc -DHAVE_CONFIG_H -I. -I..\/..    -I\/usr\/local\/ssl\/include -I\/usr\/local\/openldap\/include -I\/usr\/local\/include  -xO3 -xautopar -I\/usr\/local\/openssl-0.9.8o\/include -c array.c\r\n...\r\nMaking all in doc\r\nMaking all in wiki\r\ncat dovecot-config.in | sed \\\r\n-e \"s|^moduledir=|moduledir=\/usr\/local\/dovecot-1.2.13\/lib\/dovecot|\" \\\r\n-e \"s|^dovecot_incdir=|dovecot_incdir=\/usr\/local\/dovecot-1.2.13\/include\/dovecot|\" > dovecot-config\r\nCompillation successful\r\n=============================================\r\ndmake test || dmake check [y|n] ?\r\ny\r\ndmake: Fatal error: Don't know how to make target `test'\r\nMaking check in src\r\nMaking check in lib\r\ndmake  check-am\r\n...\r\n<\/pre>\n<p>Certain software has set of tests which are called by <code>make test<\/code> command. Dovecot does not have those tests, so error message is shown and <code>make check<\/code> is called. The compillation is successful, so you can switch to root and run <code>make install<\/code> command:<\/p>\n<pre>\r\nsoft@feniks:~\/dovecot% exit\r\nroot@feniks:~# cd \/home\/soft\/dovecot\/dovecot-1.2.13 \r\nroot@feniks:\/home\/soft\/dovecot\/dovecot-1.2.13# dmake -m serial install\r\n...\r\ntest -z \"\/usr\/local\/dovecot-1.2.13\/lib\/dovecot\" || \/usr\/local\/bin\/mkdir -p \"\/usr\/local\/dovecot-1.2.13\/lib\/dovecot\"\r\ntest -z \"\/data\/etc\/dovecot\" || \/usr\/local\/bin\/mkdir -p \"\/data\/etc\/dovecot\"\r\n \/usr\/local\/bin\/ginstall -c -m 644 dovecot-example.conf '\/data\/etc\/dovecot'\r\ntest -z \"\/usr\/local\/dovecot-1.2.13\/include\/dovecot\" || \/usr\/local\/bin\/mkdir -p \"\/usr\/local\/dovecot-1.2.13\/include\/dovecot\"\r\n<\/pre>\n<p>As you see above I do not care about running service, because I install Dovecot to different directory. When I want to switch to new version then I will stop service, change symbolic link in <code>\/usr\/local<\/code>, to new Dovecot and run service. Before upgrade always worth is to read Release Notes, especially when major number of version is changed. If you have possibilities it is worth to test new version on developement server before you run it on production.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dovecot is an open source IMAP and POP3 email server for Linux\/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It&#8217;s fast, simple to set up, requires no special administration and it uses very little memory.<\/p>\n<p style=\"text-align: right; font-style: italic;\">Source: <a href=\"http:\/\/dovecot.org\/\" target=\"_blank\">http:\/\/dovecot.org\/<\/a><\/p>\n<p>Below you can find transcript of configuration and compilation session of Dovecot server and a script which I use for this purpose (as attachement).<\/p>\n<pre>\r\nroot@feniks:~# su - soft\r\nsoft@feniks:~% cd dovecot\r\nsoft@feniks:~\/dovecot% wget http:\/\/dovecot.org\/releases\/1.2\/dovecot-1.2.13.tar.gz\r\nsoft@feniks:~\/dovecot% gtar -zxf dovecot-1.2.13.tar.gz\r\nsoft@feniks:~\/dovecot% cp drf_dovecot-1.2.6_conf drf_dovecot-1.2.13_conf\r\nsoft@feniks:~\/dovecot% vi !$\r\n<\/pre>\n<p>In this configuration file I set up additional paths to OpenLDAP and SSL libraries and optimalization options (for SunStudio).<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[],"tags":[22],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7M9Tz-3m","jetpack-related-posts":[{"id":209,"url":"https:\/\/drfugazi.eu.org\/en\/dovecot-12-sieve-0117\/","url_meta":{"origin":208,"position":0},"title":"dovecot-1.2-sieve-0.1.17","author":"drfugazi","date":"Friday August 13th, 2010","format":false,"excerpt":"Dovecot Sieve is a fully rewritten Sieve implementation for Dovecot v1.2 and newer. The main reason for rewriting the Sieve engine was to provide more reliable script execution and to provide better error messages to users and system administrators. This implementation is part of the Pigeonhole project. Source: http:\/\/wiki.dovecot.org\/LDA\/Sieve\/Dovecot At\u2026","rel":"","context":"In \"Mail system\"","block_context":{"text":"Mail system","link":"https:\/\/drfugazi.eu.org\/en\/tag\/mail_system\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":206,"url":"https:\/\/drfugazi.eu.org\/en\/dovecot-1213\/","url_meta":{"origin":208,"position":1},"title":"dovecot-1.2.13","author":"drfugazi","date":"Friday August 13th, 2010","format":false,"excerpt":"Dovecot jest Open Sourceowym serwerem IMAP i POP3 dla system\u00f3w Linux\/UNIX, napisanym z naciskiem na bezpiecze\u0144stwo. Dovecot jest doskona\u0142ym wyborem zar\u00f3wno dla ma\u0142ych jak i wielkich instalacji. Jest szybki, \u0142atwy do ustawienia, nie wymaga specjalnej administracji i u\u017cywa niewiele pami\u0119ci. \u0179r\u00f3d\u0142o: http:\/\/dovecot.org\/ Poni\u017cej znajdziecie zapis sesji konfiguracji i kompilacji serwera\u2026","rel":"","context":"In \"Dovecot\"","block_context":{"text":"Dovecot","link":"https:\/\/drfugazi.eu.org\/en\/tag\/dovecot\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":219,"url":"https:\/\/drfugazi.eu.org\/en\/dovecot-203\/","url_meta":{"origin":208,"position":2},"title":"dovecot-2.0.3","author":"drfugazi","date":"Wednesday October  6th, 2010","format":false,"excerpt":"Dovecot is an open source IMAP and POP3 email server for Linux\/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very little memory. Source: http:\/\/dovecot.org\/ Below you\u2026","rel":"","context":"In \"Mail system\"","block_context":{"text":"Mail system","link":"https:\/\/drfugazi.eu.org\/en\/tag\/mail_system\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":207,"url":"https:\/\/drfugazi.eu.org\/en\/dovecot-12-sieve-0117\/","url_meta":{"origin":208,"position":3},"title":"dovecot-1.2-sieve-0.1.17","author":"drfugazi","date":"Friday August 13th, 2010","format":false,"excerpt":"Dovecot Sieve jest kompletnie przepisan\u0105 implementacj\u0105 Sieve dla Dovecota w wersji 1.2 i nowszych. G\u0142\u00f3wnym powodem przepisania silnika Sieve by\u0142o zapewnienie bardziej niezawodnego wykonywania skryptu oraz lepszych komunikat\u00f3w b\u0142\u0119d\u00f3w dla u\u017cytkownik\u00f3w i administrator\u00f3w systemu. Ta implementacja jest cz\u0119\u015bci\u0105 Projektu Pigeonhole. \u0179r\u00f3d\u0142o: http:\/\/wiki.dovecot.org\/LDA\/Sieve\/Dovecot \u015aci\u0105gni\u0119cie \u017ar\u00f3de\u0142, rozpakowanie i edycja skryptu do konfiguracji\u2026","rel":"","context":"In \"Dovecot\"","block_context":{"text":"Dovecot","link":"https:\/\/drfugazi.eu.org\/en\/tag\/dovecot\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":216,"url":"https:\/\/drfugazi.eu.org\/en\/dovecot-203\/","url_meta":{"origin":208,"position":4},"title":"dovecot-2.0.3","author":"drfugazi","date":"Tuesday September 21st, 2010","format":false,"excerpt":"Dovecot jest Open Sourceowym serwerem IMAP i POP3 dla system\u00f3w Linux\/UNIX, napisanym z naciskiem na bezpiecze\u0144stwo. Dovecot jest doskona\u0142ym wyborem zar\u00f3wno dla ma\u0142ych jak i wielkich instalacji. Jest szybki, \u0142atwy do ustawienia, nie wymaga specjalnej administracji i u\u017cywa niewiele pami\u0119ci. \u0179r\u00f3d\u0142o: http:\/\/dovecot.org\/ Poni\u017cej znajdziecie zapis sesji konfiguracji i kompilacji serwera\u2026","rel":"","context":"In \"Dovecot\"","block_context":{"text":"Dovecot","link":"https:\/\/drfugazi.eu.org\/en\/tag\/dovecot\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":220,"url":"https:\/\/drfugazi.eu.org\/en\/dovecot-20-sieve-020\/","url_meta":{"origin":208,"position":5},"title":"dovecot-2.0-sieve-0.2.0","author":"drfugazi","date":"Wednesday October  6th, 2010","format":false,"excerpt":"Pigeonhole - Sieve Support for Dovecot Projekt Pigeonhole is the name of the project that adds support for the Sieve language (RFC 5228) and the ManageSieve protocol (RFC 5804) to the Dovecot Secure IMAP Server. In the literal sense, a pigeonhole is a a hole or recess inside a dovecot\u2026","rel":"","context":"In \"Mail system\"","block_context":{"text":"Mail system","link":"https:\/\/drfugazi.eu.org\/en\/tag\/mail_system\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/208"}],"collection":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":0,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"wp:attachment":[{"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/drfugazi.eu.org\/en\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}