PMDF Installation Guide
Linux Edition


Previous Next Contents Index

5.1.2 IMAP/POP Server Sample Configuration

Example 5-2 Sample pmdf configure mailbox_servers dialogue

# pmdf configure mailbox_servers
 
PMDF mailbox servers configuration utility, V6.7 
 
  You have a history file from a previous run of the configuration utility. 
 
Do you want to use answers from the previous run as defaults [N]? [RETURN]
  This utility creates the following files 
     /pmdf/table/dispatcher_mailbox_servers.cnf 
     /pmdf/table/pop3d.cnf        if native mail file is selected 
     /pmdf/table/imapd.cnf        if native mail file is selected 
     /pmdf/table/imappop.cnf      if MessageStore or popstore is selected 
     /pmdf/table/msgstore.chans   if MessageStore or popstore is selected 
     /pmdf/table/msgstore.rules   if MessageStore or popstore is selected 
     /pmdf/table/msgstore_option  if MessageStore or popstore is selected 
     /pmdf/table/popstore_option  if MessageStore or popstore is selected 
 
Do you wish to continue [Y]? 
Do you wish to have a detailed explanation printed before each question [N]? y
 
  Enter YES if you want to use a POP3 server in PMDF. 
  Enter NO if you do not want any POP3 server at all. 
 
Do you wish to run a POP3 server [Y]? [RETURN]
 
POP server 
 
 (1) Native BSD mail files and popstore 
 (2) MessageStore and popstore 
 
  There are currently two POP servers in PMDF: 
  Choosing (1) will select the POP server which serves out 
  native BSD mail files or popstore messages. The POP3 server 
  looks for user account in popstore first; if user does not 
  have a popstore account, then his native BSD mail file is 
  served out. This allows you to migrate POP3 only users to 
  the more efficient popstore. 
 
  popstore is optimized for POP3 access. MessageStore is optimized 
  for IMAP, but also can be used for POP.  Native mail is not optimized 
  for either POP or IMAP.  If most of your users only use POP, then 
  we recommend you choose (1) and put users in popstore. 
  If most of your users use IMAP, then we recommend you use Message 
  Store, and put your users in MessageStore while specifying each as 
  either a POP or IMAP user. Choose (2) to use MessageStore for your 
  POP users also. 
 
What do you want to use with this server [1]? 2
 
  Enter the maximum number of connections you want to support concurrently 
  on your system. Each POP3 user would normally have one connection 
  when they connect to the server. 
 
MAXIMUM concurrent POP3 connections you want supported on this system [25]? [RETURN]
 
  Enter the maximum number of connections you want to support concurrently 
  for each POP server process. 
 
MAXIMUM concurrent POP3 connections to allow per server process [5]? [RETURN]
 
  Enter YES if you want to turn on support for the POP3 command UIDL. 
 
Do you want the POP3 server to support the UIDL command [Y]? [RETURN]
 
  Enter YES if you want to use an IMAP server in PMDF. 
  Enter NO if you do not want any IMAP server at all. 
 
Do you wish to run an IMAP server [Y]? [RETURN]
 
IMAP server 
 
 (1) Native BSD mail files 
 (2) MessageStore 
 
  There are currently two IMAP servers in PMDF: 
  Choosing (1) will select the IMAP server which serves out 
  native BSD mail files 
  Choosing (2) will select the IMAP server which serves out 
  the mail in the MessageStore. 
 
  MessageStore is optimized for IMAP but also can be used for POP. 
  Native mail is not optimized for either POP or IMAP. 
  If you wish to serve out both native mail and MessageStore, you 
  have to run the two servers on different ports, and you have to 
  configure it manually. This procedure does not produce such a 
  configuration for you.  Choose the one you want to have on the 
  standard IMAP port, and add the other one manually later to 
  your dispatcher_mailbox_servers.cnf file. It is easier to choose 
  the MessageStore and manually add the native mail than vice versa. 
 
What do you want to use with this server [1]? 2
 
  Enter the maximum number of connections you want to support concurrently 
  on your system. Each IMAP user would normally have several connections 
  when connected to the server, and some may last hours or days. 
 
MAXIMUM concurrent IMAP connections you want to support on this system [25]? [RETURN]
 
  Enter the maximum number of connections you want to support concurrently 
  per IMAP server process. 
 
MAXIMUM concurrent IMAP connections to allow per server process [5]? [RETURN]
 
  Enter YES if you want to log POP and/or IMAP connection information 
  in the PMDF mail.log_current file. 
 
Do you wish to log connections [N]? y
 
  Enter the domain name to associate with the msgstore; e.g., 
  msgstore.example.com. 
 
Domain name corresponding to MessageStore/popstore []? msgstore.naples.example.com
 
  Enter the default message quota in Kbytes where 1 Kbyte is 
  1024 bytes.  Users may not receive new mail messages when their 
  current storage usage is at or exceeds the sum of their message 
  quota and message overdraft quota.  A message quota of zero 
  conveys unlimited storage quota. 
 
Default message quota in Kbytes [10240]? [RETURN]
 
  Enter the default message overdraft quota in Kbytes where 1 Kbyte 
  is 1024 bytes.  The overdraft quota is the amount by which users 
  may exceed their account quota. 
 
Default message overdraft quota in Kbytes [512]? 4096
 
  Enter the name to reserve for posting to public folders, so that 
  sending to "post+foo" will go into that "Public Folders/foo" if 
  permissions permit, 
 
Name to reserve for posting to public folders [post]? [RETURN]
 
  Enter YES if you wish to permit public posting to public folders 
  by default, and NO if you do not. 
 
Should public folders default to permit public posting [Y]? n
 
  Enter the name of the file for the Mailbox Servers to be 
  included in the Dispatcher configuration. 
 
PMDF Mailbox Servers configuration file name [/pmdf/table/dispatcher_mailbox_servers.cnf]? [RETURN]
 
  Enter the name of the POP/IMAP server configuration option file. 
 
IMAP/POP server for the MessageStore configuration option file name [/pmdf/table/imappop.cnf]? [RETURN]
 
  Enter the name of the MessageStore/popstore channel definition file. 
 
MessageStore channel definitions file name [/pmdf/table/msgstore.chans]? [RETURN]
 
  Enter the name of the MessageStore/popstore rewrite rules file. 
 
MessageStore rewrite rules file name [/pmdf/table/msgstore.rules]? [RETURN]
 
  Enter the name of the MessageStore channel option file. 
 
MessageStore/popstore channel option file name [/pmdf/table/msgstore_option]? [RETURN]
 
  Enter the name of the popstore channel option file. 
  (It is used by the MessageStore also.) 
 
popstore option file name [/pmdf/table/popstore_option]? [RETURN]
 
 
               >>> WARNING   WARNING   WARNING <<< 
WARNING: If you have popstore accounts which were created with 
USERNAME_STYLE other than 3 (including all popstore accounts created 
by versions prior to PMDF 6.0), then running this configuration 
utility could make those accounts inaccessible. Please see Sections 
1.3.1 and 3.3 of the MessageStore and popstore Manager's Guide for 
 information on the USERNAME_STYLE option. 
               >>> WARNING   WARNING   WARNING <<< 
 
 
  This procedure generates a checklist file that contains the list of 
  steps you must perform in order to complete your PMDF configuration. 
  This procedure does *NOT* perform these steps itself; you must do 
  them manually. 
 
PMDF checklist file name [/pmdf/table/mailbox_servers.checklist]? [RETURN]
 
  This question gives you a last chance to change your mind 
  before any files are written.  Answer NO if you are not sure 
  you want to generate the configuration you have specified.  Answer 
  YES if you do. 
 
Do you wish to generate the configuration files [Y]? [RETURN]
 
Generating the file /pmdf/table/dispatcher_mailbox_servers.cnf... 
 
Generating the file /pmdf/table/imappop.cnf... 
 
Generating the file /pmdf/table/msgstore.rules... 
 
Generating the file /pmdf/table/msgstore.chans... 
 
Generating the file /pmdf/table/msgstore_option... 
 
Generating the file /pmdf/table/popstore_option... 
Forking a child to create a default user account... 
popstore "default" user account successfully created 
 
Generating the checklist file, /pmdf/table/mailbox_servers.checklist... 
 
*********************************************************************** 
* 
*   To complete your PMDF configuration, carry out the steps 
*   detailed in the checklist file /pmdf/table/mailbox_servers.checklist. 
* 
*********************************************************************** 
 
 
 Enter YES if you want to see the checklist now. You can still type 
 the file out later if you say NO. 
 
Do you want to see the checklist now [Y]? [RETURN]
Checklist for completing the setup of your PMDF POP and IMAP servers 
Written by root, Thu Nov 17 16:36:53 EST 2011 
This file was created by the PMDF configuration generator V6.7 
 
(1) Be sure to shutdown any POP/IMAP servers currently 
    running, and if they were not running under the PMDF 
    Dispatcher, you should disable them using whatever method 
    is appropriate for them so they won't interfere the next 
    time the system reboots. 
 
(2) Uncomment the line in the file /pmdf/table/dispatcher.cnf 
    which looks like: 
 
!</pmdf/table/dispatcher_mailbox_servers.cnf 
 
    so that it looks like: 
 
</pmdf/table/dispatcher_mailbox_servers.cnf 
 
(3) Uncomment the lines in the file /pmdf/table/http.cnf for popstore 
    and/or MessageStore cgi if you want to enable web-based access to 
       MessageStore/popstore User Interface, 
       popstore Administration, and/or 
       MessageStore Administration. 
 
(4) Changes to existing configuration files won't be seen until 
    you restart the Dispatcher with the command 
 
        pmdf restart dispatcher 
 
(5) If you want the SMTP/POP/IMAP connections to be logged to 
    a different file other than the mail.log_current file, then set 
 
      SEPARATE_CONNECTION_LOG=1 
      LOG_CONNECTION=3 
 
    in the PMDF option file, option.dat. 


Previous Next Contents Index