Re: [qmailtoaster] Dovecot howto
Dnia 2009-10-30, o godz. 17:13:25 Aleksander Podsiadly a...@westside.kielce.pl napisał(a): This patch is for x86_64 environment! For 32 bit OS change one line in this patch: from: mail_plugin_dir = /usr/lib64/dovecot/imap to: mail_plugin_dir = /usr/lib/dovecot/imap There is new version of Dovecot imap server: http://dl.atrpms.net/all/dovecot-1.2.10-2_107.src.rpm Release info: + %variables now support %{host}, %{pid} and %{env:ENVIRONMENT_NAME} everywhere. + LIST-STATUS capability is now advertised - maildir: Fixed several assert-crashes. - imap: LIST inbox shouldn't crash when using namespace with INBOX. prefix. - lazy_expunge now ignores non-private namespaces. My x86_64 config patch attached. For 32 bits architecture change 2 lines: mail_plugin_dir = /usr/lib64/dovecot/imap mail_plugin_dir = /usr/lib64/dovecot/pop3 from lib64 to lib. --- dovecot.conf.rpmnew 2010-01-29 09:54:57.0 +0100 +++ dovecot.conf 2010-01-24 10:30:21.0 +0100 @@ -238,15 +238,17 @@ # explicitly, ie. mail_location does nothing unless you have a namespace # without a location setting. Default namespace is simply done by having a # namespace with empty prefix. -#namespace private { +namespace private { # Hierarchy separator to use. You should use the same separator for all # namespaces or some clients get confused. '/' is usually a good one. # The default however depends on the underlying mail storage format. #separator = + separator = . # Prefix required to access this namespace. This needs to be different for # all namespaces. For example Public/. #prefix = + prefix = INBOX. # Physical location of the mailbox. This is in same format as # mail_location, which is also the default for it. @@ -255,6 +257,7 @@ # There can be only one INBOX, and this setting defines which namespace # has it. #inbox = no + inbox = yes # If namespace is hidden, it's not advertised to clients via NAMESPACE # extension. You'll most likely also want to set list=no. This is mostly @@ -271,7 +274,7 @@ # Namespace handles its own subscriptions. If set to no, the parent # namespace handles them (empty prefix should always have this as yes) #subscriptions = yes -#} +} # Example shared namespace configuration #namespace shared { @@ -298,6 +301,8 @@ # or names. doc/wiki/UserIds.txt #mail_uid = #mail_gid = +mail_uid = 89 +mail_gid = 89 # Group to enable temporarily for privileged operations. Currently this is # used only with INBOX when either its initial creation or dotlocking fails. @@ -377,6 +382,8 @@ # be done even if first_valid_uid is set to 0. #first_valid_uid = 500 #last_valid_uid = 0 +first_valid_uid = 89 +last_valid_uid = 89 # Valid GID range for users, defaults to non-root/wheel. Users having # non-valid GID as primary group ID aren't allowed to log in. If user @@ -384,6 +391,8 @@ # not set. #first_valid_gid = 1 #last_valid_gid = 0 +first_valid_gid = 89 +last_valid_gid = 89 # Maximum number of running mail processes. When this limit is reached, # new users aren't allowed to log in. @@ -563,8 +572,8 @@ # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. - #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/imap + mail_plugins = quota imap_quota trash + mail_plugin_dir = /usr/lib64/dovecot/imap # IMAP logout format string: # %i - total number of bytes read from client @@ -681,8 +690,8 @@ # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. - #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/pop3 + mail_plugins = quota + mail_plugin_dir = /usr/lib64/dovecot/pop3 # Workarounds for various client bugs: # outlook-no-nuls: @@ -908,7 +917,7 @@ # database (passwd usually), you can use static userdb. # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM # authentication to actually work. doc/wiki/PasswordDatabase.PAM.txt - passdb pam { + #passdb pam { # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=n] # [cache_key=key] [service name] # @@ -941,7 +950,7 @@ # args = session=yes %Ls # args = cache_key=%u dovecot #args = dovecot - } + #} # System users (NSS, /etc/passwd, or similiar) # In many systems nowadays this uses Name Service Switch, which is @@ -995,12 +1004,13 @@ #} # vpopmail authentication doc/wiki/AuthDatabase.VPopMail.txt - #passdb vpopmail { + passdb vpopmail { # [cache_key=key] - See cache_key in PAM for explanation. # [quota_template=template] - %q expands to Maildir++ quota # (eg. quota_template=quota_rule=*:backend=%q) #args = - #} +args = webmail=127.0.0.1 + } # # User database specifies where mails are located and what user/group IDs @@ -1073,8 +1083,9 @@ #} # vpopmail doc/wiki/AuthDatabase.VPopMail.txt - #userdb vpopmail { - #}
Re: [qmailtoaster] Dovecot howto
Dnia 2010-01-29, o godz. 12:30:06 Aleksander Podsiadły a...@westside.kielce.pl napisał(a): There is new version of Dovecot imap server: [...] Sorry for duplicate message :( -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Dnia 2009-11-28, o godz. 12:54:07 karpaha vinayaham vinaya...@gmail.com napisał(a): I have faced issues like imap error, when the users inbox size is more than 4 GB using courier-imap, whether this problem will be resolved if we use dovecot. Courier-imap has problem with great number of messages (files) in single directory. Maybe the problem is not in the size but in the number of messages. On Dovecot now I have 16k6 mails in one subdirectory and all works fine. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Thanks for the info Alex. 2009/11/28 Aleksander Podsiadły a...@westside.kielce.pl Dnia 2009-11-28, o godz. 12:54:07 karpaha vinayaham vinaya...@gmail.com napisał(a): I have faced issues like imap error, when the users inbox size is more than 4 GB using courier-imap, whether this problem will be resolved if we use dovecot. Courier-imap has problem with great number of messages (files) in single directory. Maybe the problem is not in the size but in the number of messages. On Dovecot now I have 16k6 mails in one subdirectory and all works fine. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group ( www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- With Regards Vinay
Re: [qmailtoaster] Dovecot howto
amit IKF wrote: Hi Aleksander/Eric/Jake/Maxwell and others, Finally I'm attaching doc file with step by step procedure of How to install Dovecot on Qmailtoaster. Please check all the steps and if everything fine then please upload it on the wiki. I had make this doc file for 32 bit arch. Please find attach file in mail. Regards, Amit 2009/11/25 Aleksander Podsiadły a...@westside.kielce.pl mailto:a...@westside.kielce.pl Dnia 2009-11-24, o godz. 11:51:58 Bill Holt bh...@net-axs.com mailto:bh...@net-axs.com napisał(a): Why does it need postgresql-devel to compile? Bill, it was hard to find your question. :| Cut off unimportant text, don't use HTML, please. We are admins not lusers. ;) Because in spec file is option --with-pgsql. Read file dovecot.spec from source rpm package. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl mailto:a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl mailto:a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com http://www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com http://qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com mailto:qmailtoaster-list-h...@qmailtoaster.com - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4645 (20091128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com you will have to delete qmailmrtg config for the old imap and pop3 or adapt it dovecot otherwise looks good! regards Lucian __ Information from ESET NOD32 Antivirus, version of virus signature database 4645 (20091128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
spoke to soon, it seems that if you use maildrop it will fail with /usr/bin/maildrop:_error_while_loading_shared_libraries:_libcourierauth.so.0:_cannot_open_shared_object_file:_No_such_file_or_directory/ rebuilding maildrop without courier dep and it should work. Regards Lucian amit IKF wrote: Hi Aleksander/Eric/Jake/Maxwell and others, Finally I'm attaching doc file with step by step procedure of How to install Dovecot on Qmailtoaster. Please check all the steps and if everything fine then please upload it on the wiki. I had make this doc file for 32 bit arch. Please find attach file in mail. Regards, Amit 2009/11/25 Aleksander Podsiadły a...@westside.kielce.pl mailto:a...@westside.kielce.pl Dnia 2009-11-24, o godz. 11:51:58 Bill Holt bh...@net-axs.com mailto:bh...@net-axs.com napisał(a): Why does it need postgresql-devel to compile? Bill, it was hard to find your question. :| Cut off unimportant text, don't use HTML, please. We are admins not lusers. ;) Because in spec file is option --with-pgsql. Read file dovecot.spec from source rpm package. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl mailto:a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl mailto:a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com http://www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com http://qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com mailto:qmailtoaster-list-h...@qmailtoaster.com - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4645 (20091128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com __ Information from ESET NOD32 Antivirus, version of virus signature database 4645 (20091128) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Dear All, I have faced issues like imap error, when the users inbox size is more than 4 GB using courier-imap, whether this problem will be resolved if we use dovecot. 2009/11/25 Aleksander Podsiadły a...@westside.kielce.pl Dnia 2009-11-25, o godz. 00:54:23 amit IKF a...@ikf.co.in napisał(a): Hi Aleksander/Eric/Jake/Maxwell and others, Finally I'm attaching doc file with step by step procedure of How to install Dovecot on Qmailtoaster. Please check all the steps and if everything fine then please upload it on the wiki. I had make this doc file for 32 bit arch. Patch file I attached can be used simpler after decompressing it: cd /etc; patch -p0 /path_to_patch_location/dovecot_config-1.1.8.patch My first post in this topic was short and synthetic, not for lusers, rather for geeks. :) -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group ( www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- With Regards Vinay
Re: [qmailtoaster] Dovecot howto
Hi Everone, I want to install Dovecot on my Qmail Toaster. I tried to follow Aleksander Dovecot howto steps and got stuck at very 1st step i.e. stop qmail, remove: courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster and check /var/qmail/supervise directory. How do I remove installed courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster from Qmail-Toaster. If I try yum remove courier-authlib-toaster my server is trying to remove following dependecy packages mentioned below: 1) control-panel-toaster 2) courier-imap-toaster 3) ezmlm-cgi-toaster 4) isoqlog-toaster 5) maildrop-toaster 6) maildrop-toaster-devel 7) qmailadmin-toaster 8) qmailmrtg-toaster 9) vqadmin-toaster Any help how do I start with installing Dovecot on my server. Thanks and regards, Amit
Re: [qmailtoaster] Dovecot howto
Dnia 2009-11-24, o godz. 19:41:26 amit IKF a...@ikf.co.in napisał(a): Hi Everone, I want to install Dovecot on my Qmail Toaster. I tried to follow Aleksander Dovecot howto steps and got stuck at very 1st step i.e. stop qmail, remove: courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster and check /var/qmail/supervise directory. How do I remove installed courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster from Qmail-Toaster. If I try yum remove courier-authlib-toaster my server is trying to remove following dependecy packages mentioned below: 1) control-panel-toaster 2) courier-imap-toaster 3) ezmlm-cgi-toaster 4) isoqlog-toaster 5) maildrop-toaster 6) maildrop-toaster-devel 7) qmailadmin-toaster 8) qmailmrtg-toaster 9) vqadmin-toaster Any help how do I start with installing Dovecot on my server. Thanks and regards, Amit rpm -e courier-imap-toaster and so on. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Hi Aleksander, Thanks for replying. When I type rpm -e courier-imap-toaster I'm getting below error: error: Failed dependencies: courier-imap-toaster = 4.1.2 is needed by (installed) control-panel-toaster-0.5-1.3.7.noarch Any help. Regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl Dnia 2009-11-24, o godz. 19:41:26 amit IKF a...@ikf.co.in napisał(a): Hi Everone, I want to install Dovecot on my Qmail Toaster. I tried to follow Aleksander Dovecot howto steps and got stuck at very 1st step i.e. stop qmail, remove: courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster and check /var/qmail/supervise directory. How do I remove installed courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster from Qmail-Toaster. If I try yum remove courier-authlib-toaster my server is trying to remove following dependecy packages mentioned below: 1) control-panel-toaster 2) courier-imap-toaster 3) ezmlm-cgi-toaster 4) isoqlog-toaster 5) maildrop-toaster 6) maildrop-toaster-devel 7) qmailadmin-toaster 8) qmailmrtg-toaster 9) vqadmin-toaster Any help how do I start with installing Dovecot on my server. Thanks and regards, Amit rpm -e courier-imap-toaster and so on. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group ( www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 15:17:19 Aleksander Podsiadły a...@westside.kielce.pl napisał(a): rpm -e courier-imap-toaster and so on. Sorry, you need one more option: rpm -e --nodeps courier-authlib-toaster courier-imap-toaster qmail-pop3d-toaster - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL7LcACgkQfgLJLO5aIX3BKgCgmFAKsCRrCAcrA58OP8HYhbVP 9lcAn0RLWnAN8MB2+pB0bdxwMO+7VLYL =VYal -END PGP SIGNATURE-
Re: [qmailtoaster] Dovecot howto
How about this. # man rpm # rpm -e --nodeps courier-imap-toaster Dave amit IKF wrote: Hi Aleksander, Thanks for replying. When I type "rpm -e courier-imap-toaster" I'm getting below error: error: Failed dependencies: courier-imap-toaster = 4.1.2 is needed by (installed) control-panel-toaster-0.5-1.3.7.noarch Any help. Regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl Dnia 2009-11-24, o godz. 19:41:26 amit IKF a...@ikf.co.in napisał(a): Hi Everone, I want to install Dovecot on my Qmail Toaster. I tried to follow "Aleksander Dovecot howto" steps and got stuck at very 1st step i.e. stop qmail, remove: courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster and check /var/qmail/supervise directory. How do I remove installed courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster from Qmail-Toaster. If I try "yum remove courier-authlib-toaster" my server is trying to remove following dependecy packages mentioned below: 1) control-panel-toaster 2) courier-imap-toaster 3) ezmlm-cgi-toaster 4) isoqlog-toaster 5) maildrop-toaster 6) maildrop-toaster-devel 7) qmailadmin-toaster 8) qmailmrtg-toaster 9) vqadmin-toaster Any help how do I start with installing Dovecot on my server. Thanks and regards, Amit rpm -e courier-imap-toaster and so on. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Thanks Aleksander. Now second step is I download source rpm i.e. wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm Now how do compile it with --with-vpopmail. Regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 15:17:19 Aleksander Podsiadły a...@westside.kielce.pl napisał(a): rpm -e courier-imap-toaster and so on. Sorry, you need one more option: rpm -e --nodeps courier-authlib-toaster courier-imap-toaster qmail-pop3d-toaster - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL7LcACgkQfgLJLO5aIX3BKgCgmFAKsCRrCAcrA58OP8HYhbVP 9lcAn0RLWnAN8MB2+pB0bdxwMO+7VLYL =VYal -END PGP SIGNATURE-
Re: [qmailtoaster] Dovecot howto
Perhaps it would be good if we could put step-by-step instructions on the Wiki? Just a thought. -- What a fool believes he sees, no wise man has the power to reason away... Doobie Brothers Zitat von amit IKF a...@ikf.co.in: Thanks Aleksander. Now second step is I download source rpm i.e. wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm Now how do compile it with --with-vpopmail. Regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 15:17:19 Aleksander Podsiadły a...@westside.kielce.pl napisał(a): rpm -e courier-imap-toaster and so on. Sorry, you need one more option: rpm -e --nodeps courier-authlib-toaster courier-imap-toaster qmail-pop3d-toaster - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL7LcACgkQfgLJLO5aIX3BKgCgmFAKsCRrCAcrA58OP8HYhbVP 9lcAn0RLWnAN8MB2+pB0bdxwMO+7VLYL =VYal -END PGP SIGNATURE- This message was sent using IMP, the Internet Messaging Program. binGl9xdL5scV.bin Description: Öffentlicher PGP-Schlüssel - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Also in my /var/qmail/supervise folder there is pop3 folder. Is it fine or do i need to delete it? Regards, Amit 2009/11/24 amit IKF a...@ikf.co.in Thanks Aleksander. Now second step is I download source rpm i.e. wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm Now how do compile it with --with-vpopmail. Regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 15:17:19 Aleksander Podsiadły a...@westside.kielce.pl napisał(a): rpm -e courier-imap-toaster and so on. Sorry, you need one more option: rpm -e --nodeps courier-authlib-toaster courier-imap-toaster qmail-pop3d-toaster - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL7LcACgkQfgLJLO5aIX3BKgCgmFAKsCRrCAcrA58OP8HYhbVP 9lcAn0RLWnAN8MB2+pB0bdxwMO+7VLYL =VYal -END PGP SIGNATURE-
Re: [qmailtoaster] Dovecot howto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 20:08:27 amit IKF a...@ikf.co.in napisał(a): Thanks Aleksander. Now second step is I download source rpm i.e. wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm Now how do compile it with --with-vpopmail. Regards, Amit You have to compile dovecot as root, ordinary user have no permission to access vpopmail libraries. The simplest way is install source: rpm -i dovecot-1.2.8-0_103.src.rpm go to spec file end edit it by vi: cd /usr/src/redhat/SPECS vi dovecot.spec find line --disable-static (line 97) and after it add line: --with-vpopmail \ save it and compile for 64 bits: rpmbuild -ba --target=i88_64 dovecot.spec or for 32 bits: rpmbuild -ba --target=i686 dovecot.spec Now you cen remove spec file and sources from /usr/src/redhat/SOURCES You successfully compiled dovecot. :) In /usr/src/redhat/SRPMS there is modified src.rpm In /usr/src/redhat/RPMS/x86_64 or /usr/src/redhat/RPMS/i686 there are 3 rpm packages, you need only the one without devel or debuginfo in name. - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL+5EACgkQfgLJLO5aIX1aGwCgzPhAeAkXaQi95Zs+NMoWvHkU UdMAnifGEWWCwedxoZkLfup0nptOLYbz =QXY8 -END PGP SIGNATURE-
Re: [qmailtoaster] Dovecot howto
Hi Aleksander, I just executed command rpmbuild --rebuild --with vpopmail dovecot-*.src.rpm. Will this also work. The above comand has built 3 RPMS mention below: 1) dovecot-1.2.8-0_103.i386.rpm 2) dovecot-debuginfo-1.2.8-0_103.i386.rpm 3) dovecot-devel-1.2.8-0_103.i386.rpm So do I install this all rpm or I had done some mistake. Thanks and regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 20:08:27 amit IKF a...@ikf.co.in napisał(a): Thanks Aleksander. Now second step is I download source rpm i.e. wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm Now how do compile it with --with-vpopmail. Regards, Amit You have to compile dovecot as root, ordinary user have no permission to access vpopmail libraries. The simplest way is install source: rpm -i dovecot-1.2.8-0_103.src.rpm go to spec file end edit it by vi: cd /usr/src/redhat/SPECS vi dovecot.spec find line --disable-static (line 97) and after it add line: --with-vpopmail \ save it and compile for 64 bits: rpmbuild -ba --target=i88_64 dovecot.spec or for 32 bits: rpmbuild -ba --target=i686 dovecot.spec Now you cen remove spec file and sources from /usr/src/redhat/SOURCES You successfully compiled dovecot. :) In /usr/src/redhat/SRPMS there is modified src.rpm In /usr/src/redhat/RPMS/x86_64 or /usr/src/redhat/RPMS/i686 there are 3 rpm packages, you need only the one without devel or debuginfo in name. - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL+5EACgkQfgLJLO5aIX1aGwCgzPhAeAkXaQi95Zs+NMoWvHkU UdMAnifGEWWCwedxoZkLfup0nptOLYbz =QXY8 -END PGP SIGNATURE-
Re: [qmailtoaster] Dovecot howto
Dnia 2009-11-24, o godz. 21:11:11 amit IKF a...@ikf.co.in napisał(a): I just executed command rpmbuild --rebuild --with vpopmail dovecot-*.src.rpm. There is no vpopmail option in spec file, so it will not work if you don't modify spec file. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Amit, Post it to the wiki not the list. It's easier to find that way. CJ amit IKF wrote: Thanks to Everyone. Finally I had configured Dovecot on my Qmail-Toaster. I had note down all the steps I had performed which I'm posting in my next mail. Regards, Amit 2009/11/24 Aleksander Podsiadły a...@westside.kielce.pl -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 16:28:13 Aleksander Podsiadły a...@westside.kielce.pl napisał(a): rpmbuild -ba --target=i88_64 dovecot.spec Should be rpmbuild -ba --target=i86_64 dovecot.spec My configuration patch attached. - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksMAM8ACgkQfgLJLO5aIX2BqwCcCD/iuB0ke1g5Q2Sufuo8Q5Nm jGMAmgNLcBcm13H8yhd/yx0h10Yfitw6 =Z3ZY -END PGP SIGNATURE- - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com -- Cecil Yother, Jr. "cj" cj's 2318 Clement Ave Alameda, CA 94501 tel 510.865.2787 | fax 510.864.7300 http://yother.com - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Hi Maxwell, I never posted to Wiki. This will be my first post and I don't know how much perfect this is. So I need all of your help to correct it and post on wiki. My steps are ready to post in a doc file. If you want I can attach the doc file. Regards, Amit
Re: [qmailtoaster] Dovecot howto
Aleksander Podsiadły wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dnia 2009-11-24, o godz. 20:08:27 amit IKF a...@ikf.co.in napisał(a): Thanks Aleksander. Now second step is I download source rpm i.e. wget http://dl.atrpms.net/all/dovecot-1.2.8-0_103.src.rpm Now how do compile it with --with-vpopmail. Regards, Amit You have to compile dovecot as root, ordinary user have no permission to access vpopmail libraries. The simplest way is install source: rpm -i dovecot-1.2.8-0_103.src.rpm go to spec file end edit it by vi: cd /usr/src/redhat/SPECS vi dovecot.spec find line --disable-static (line 97) and after it add line: --with-vpopmail \ save it and compile for 64 bits: rpmbuild -ba --target=i88_64 dovecot.spec or for 32 bits: rpmbuild -ba --target=i686 dovecot.spec Now you cen remove spec file and sources from /usr/src/redhat/SOURCES You successfully compiled dovecot. :) In /usr/src/redhat/SRPMS there is modified src.rpm In /usr/src/redhat/RPMS/x86_64 or /usr/src/redhat/RPMS/i686 there are 3 rpm packages, you need only the one without devel or debuginfo in name. - -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAksL+5EACgkQfgLJLO5aIX1aGwCgzPhAeAkXaQi95Zs+NMoWvHkU UdMAnifGEWWCwedxoZkLfup0nptOLYbz =QXY8 -END PGP SIGNATURE- Why does it need postgresql-devel to compile? -- bholt-netaxs.html Bill Holt bh...@net-axs.com "Remember, the government cannot give anything to anyone -- that they have not first taken from someone else." - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Dnia 2009-11-24, o godz. 11:51:58 Bill Holt bh...@net-axs.com napisał(a): Why does it need postgresql-devel to compile? Bill, it was hard to find your question. :| Cut off unimportant text, don't use HTML, please. We are admins not lusers. ;) Because in spec file is option --with-pgsql. Read file dovecot.spec from source rpm package. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Hi Aleksander/Eric/Jake/Maxwell and others, Finally I'm attaching doc file with step by step procedure of How to install Dovecot on Qmailtoaster. Please check all the steps and if everything fine then please upload it on the wiki. I had make this doc file for 32 bit arch. Please find attach file in mail. Regards, Amit 2009/11/25 Aleksander Podsiadły a...@westside.kielce.pl Dnia 2009-11-24, o godz. 11:51:58 Bill Holt bh...@net-axs.com napisał(a): Why does it need postgresql-devel to compile? Bill, it was hard to find your question. :| Cut off unimportant text, don't use HTML, please. We are admins not lusers. ;) Because in spec file is option --with-pgsql. Read file dovecot.spec from source rpm package. -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group ( www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com Dovecot.doc Description: MS-Word document - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
Dnia 2009-11-25, o godz. 00:54:23 amit IKF a...@ikf.co.in napisał(a): Hi Aleksander/Eric/Jake/Maxwell and others, Finally I'm attaching doc file with step by step procedure of How to install Dovecot on Qmailtoaster. Please check all the steps and if everything fine then please upload it on the wiki. I had make this doc file for 32 bit arch. Patch file I attached can be used simpler after decompressing it: cd /etc; patch -p0 /path_to_patch_location/dovecot_config-1.1.8.patch My first post in this topic was short and synthetic, not for lusers, rather for geeks. :) -- Pozdrawiam / Regards, Aleksander Podsiadły mail: a...@westside.kielce.pl jid: a...@jabber.westside.kielce.pl ICQ: 201121279 gg: 9150578 - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com) Vickers Consulting Group offers Qmailtoaster support and installations. If you need professional help with your setup, contact them today! - Please visit qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] Dovecot howto
W dniu 06.10.2009 15:28, Aleksander Podsiadly pisze: On my office servers I have Dovecot one year but I didn't know how it is fast. [...] A little change to previous dovecot.conf patch. I modified some lines for imap/vpopmail quota support. Now it works like with original QMT and squirrelmail shows quota. :) This patch was made for the latest http://dl.atrpms.net/all/dovecot-1.2.6-1_101.src.rpm dovecot distribution. Don't forget to modify spec file (--with-vpopmail). *Warning:* This patch is for x86_64 environment! For 32 bit OS change one line in this patch: from: mail_plugin_dir = /usr/lib64/dovecot/imap to: mail_plugin_dir = /usr/lib/dovecot/imap 8-- dovecot_config_x86_64.patch --- dovecot.conf.rpmnew2009-10-30 09:08:57.0 +0100 +++ dovecot.conf2009-10-30 16:55:34.0 +0100 @@ -238,15 +238,17 @@ # explicitly, ie. mail_location does nothing unless you have a namespace # without a location setting. Default namespace is simply done by having a # namespace with empty prefix. -#namespace private { +namespace private { # Hierarchy separator to use. You should use the same separator for all # namespaces or some clients get confused. '/' is usually a good one. # The default however depends on the underlying mail storage format. #separator = + separator = . # Prefix required to access this namespace. This needs to be different for # all namespaces. For example Public/. #prefix = + prefix = INBOX. # Physical location of the mailbox. This is in same format as # mail_location, which is also the default for it. @@ -255,6 +257,7 @@ # There can be only one INBOX, and this setting defines which namespace # has it. #inbox = no + inbox = yes # If namespace is hidden, it's not advertised to clients via NAMESPACE # extension. You'll most likely also want to set list=no. This is mostly @@ -271,7 +274,7 @@ # Namespace handles its own subscriptions. If set to no, the parent # namespace handles them (empty prefix should always have this as yes) #subscriptions = yes -#} +} # Example shared namespace configuration #namespace shared { @@ -298,6 +301,8 @@ # or names. doc/wiki/UserIds.txt #mail_uid = #mail_gid = +mail_uid = 89 +mail_gid = 89 # Group to enable temporarily for privileged operations. Currently this is # used only with INBOX when either its initial creation or dotlocking fails. @@ -377,6 +382,8 @@ # be done even if first_valid_uid is set to 0. #first_valid_uid = 500 #last_valid_uid = 0 +first_valid_uid = 89 +last_valid_uid = 89 # Valid GID range for users, defaults to non-root/wheel. Users having # non-valid GID as primary group ID aren't allowed to log in. If user @@ -384,6 +391,8 @@ # not set. #first_valid_gid = 1 #last_valid_gid = 0 +first_valid_gid = 89 +last_valid_gid = 89 # Maximum number of running mail processes. When this limit is reached, # new users aren't allowed to log in. @@ -563,8 +572,8 @@ # Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. - #mail_plugins = - #mail_plugin_dir = /usr/lib/dovecot/imap + mail_plugins = imap_quota quota trash + mail_plugin_dir = /usr/lib64/dovecot/imap # IMAP logout format string: # %i - total number of bytes read from client @@ -908,7 +917,7 @@ # database (passwd usually), you can use static userdb. # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM # authentication to actually work. doc/wiki/PasswordDatabase.PAM.txt - passdb pam { + #passdb pam { # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=n] # [cache_key=key] [service name] # @@ -941,7 +950,7 @@ # args = session=yes %Ls # args = cache_key=%u dovecot #args = dovecot - } + #} # System users (NSS, /etc/passwd, or similiar) # In many systems nowadays this uses Name Service Switch, which is @@ -995,12 +1004,13 @@ #} # vpopmail authentication doc/wiki/AuthDatabase.VPopMail.txt - #passdb vpopmail { + passdb vpopmail { # [cache_key=key] - See cache_key in PAM for explanation. # [quota_template=template] - %q expands to Maildir++ quota # (eg. quota_template=quota_rule=*:backend=%q) #args = - #} +args = webmail=127.0.0.1 + } # # User database specifies where mails are located and what user/group IDs @@ -1073,8 +1083,8 @@ #} # vpopmail doc/wiki/AuthDatabase.VPopMail.txt - #userdb vpopmail { - #} + userdb vpopmail { + } # User to use for the process. This user needs access to only user and # password databases, nothing else. Only shadow and pam authentication @@ -1090,7 +1100,7 @@ #chroot = # Number of authentication processes to create - #count = 1 + count = 1 # Require a valid SSL client certificate or the authentication fails. #ssl_require_client_cert = no @@ -1190,7 +1200,8 @@ # Note that % needs to be escaped as %%, otherwise % expands to
[qmailtoaster] Dovecot howto
On my office servers I have Dovecot one year but I didn't know how it is fast. Yesterday I installed the newest version 1.2.5 on my private server. It's 2-3 times faster then courier-imap. Source from http://atrpms.net/dist/el5/dovecot/ a little modification in spec file (added compile option --with-vpopmail) and voila. Next stop qmail, remove: courier-authlib-toaster, courier-imap-toaster and qmail-pop3d-toaster and check /var/qmail/supervise directory. There should be only: clamd, send, smtp, spamd and submission. Then migration: http://www.dovecot.org/tools/courier-dovecot-migrate.pl described on http://wiki.dovecot.org/Migration/Courier Next edit /etc/dovecot.conf: 8-- patch --- dovecot.conf.org2009-10-05 14:57:16.0 +0200 +++ dovecot.conf2009-10-05 16:42:06.0 +0200 @@ -238,15 +238,17 @@ # explicitly, ie. mail_location does nothing unless you have a namespace # without a location setting. Default namespace is simply done by having a # namespace with empty prefix. -#namespace private { +namespace private { # Hierarchy separator to use. You should use the same separator for all # namespaces or some clients get confused. '/' is usually a good one. # The default however depends on the underlying mail storage format. #separator = + separator = . # Prefix required to access this namespace. This needs to be different for # all namespaces. For example Public/. #prefix = + prefix = INBOX. # Physical location of the mailbox. This is in same format as # mail_location, which is also the default for it. @@ -255,6 +257,7 @@ # There can be only one INBOX, and this setting defines which namespace # has it. #inbox = no + inbox = yes # If namespace is hidden, it's not advertised to clients via NAMESPACE # extension. You'll most likely also want to set list=no. This is mostly @@ -271,7 +274,7 @@ # Namespace handles its own subscriptions. If set to no, the parent # namespace handles them (empty prefix should always have this as yes) #subscriptions = yes -#} +} # Example shared namespace configuration #namespace shared { @@ -298,6 +301,8 @@ # or names. doc/wiki/UserIds.txt #mail_uid = #mail_gid = +mail_uid = 89 +mail_gid = 89 # Group to enable temporarily for privileged operations. Currently this is # used only with INBOX when either its initial creation or dotlocking fails. @@ -377,6 +382,8 @@ # be done even if first_valid_uid is set to 0. #first_valid_uid = 500 #last_valid_uid = 0 +first_valid_uid = 89 +last_valid_uid = 89 # Valid GID range for users, defaults to non-root/wheel. Users having # non-valid GID as primary group ID aren't allowed to log in. If user @@ -384,6 +391,8 @@ # not set. #first_valid_gid = 1 #last_valid_gid = 0 +first_valid_gid = 89 +last_valid_gid = 89 # Maximum number of running mail processes. When this limit is reached, # new users aren't allowed to log in. @@ -908,7 +917,7 @@ # database (passwd usually), you can use static userdb. # REMEMBER: You'll need /etc/pam.d/dovecot file created for PAM # authentication to actually work. doc/wiki/PasswordDatabase.PAM.txt - passdb pam { + #passdb pam { # [session=yes] [setcred=yes] [failure_show_msg=yes] [max_requests=n] # [cache_key=key] [service name] # @@ -941,7 +950,7 @@ # args = session=yes %Ls # args = cache_key=%u dovecot #args = dovecot - } + #} # System users (NSS, /etc/passwd, or similiar) # In many systems nowadays this uses Name Service Switch, which is @@ -995,12 +1004,12 @@ #} # vpopmail authentication doc/wiki/AuthDatabase.VPopMail.txt - #passdb vpopmail { + passdb vpopmail { # [cache_key=key] - See cache_key in PAM for explanation. # [quota_template=template] - %q expands to Maildir++ quota # (eg. quota_template=quota_rule=*:backend=%q) -#args = - #} +args = webmail=127.0.0.1 + } # # User database specifies where mails are located and what user/group IDs @@ -1073,8 +1082,9 @@ #} # vpopmail doc/wiki/AuthDatabase.VPopMail.txt - #userdb vpopmail { - #} + userdb vpopmail { +args = quota_template=quota_rule=*:backend=%q + } # User to use for the process. This user needs access to only user and # password databases, nothing else. Only shadow and pam authentication @@ -1091,6 +1101,7 @@ # Number of authentication processes to create #count = 1 + count = 1 # Require a valid SSL client certificate or the authentication fails. #ssl_require_client_cert = no @@ -1191,6 +1202,7 @@ # quota_warning = storage=95%% /usr/local/bin/quota-warning.sh 95 # quota_warning2 = storage=80%% /usr/local/bin/quota-warning.sh 80 #quota = maildir + quota = maildir:ignore=Trash # ACL plugin. vfile backend reads ACLs from dovecot-acl file from maildir # directory. You can also optionally give a global ACL directory path where 8-- EOT patch Start services qmail and