dbmail-imapd(8) provides access to the DBMail system to clients supporting Internet Message Access Protocol, IMAP4r1, as specified in RFC 3501.


dbmail-imapd [-f configfile] [-p pidfile] [-nvVh]


The dbmail-imapd daemon is a fully featured IMAP4r1 server. It will spawn into a number of default processes as set in the dbmail.conf file. These processes will enable full IMAP4r1 communication with clients.


-p pidfile

Specify an alternate pid file. The daemons are currently hardcoded to use /var/run/dbmail-<daemon> for their pid files, and will halt if the pid file cannot be written. Use the -p pidfile option to place the pid file in your system's preferred location.


No daemonize. The program remains attached to the console from which it was started. This is quite useful for debugging when combined with the -v option.


-f configfile

Specify an alternate config file. The utilities are currently hardcoded to use /etc/dbmail.conf for their configs, and will halt if the config file cannot be found. Use the -f configfile option to specify your system's preferred config file location.


Quietly skip interactive prompts and helpful status messages which would otherwise be printed to stdout. Use two -q's to silence errors which would otherwise be printed to stderr.


Operate verbosely. Some of the utilities in the DBMail suite can take two -v's for extra verbosity. Those which don't understand this convention won't complain about having the extra -v and will simply operate at their normal verbosity.


Show the version and copyright, then exit.


Show a brief summary of options, then exit.


For xinetd:

  # /etc/xinet.d/dbmail-imap
  service imap
          socket_type     = stream
          wait            = no
          user            = root
          server          = /usr/local/sbin/dbmail-imapd
          protocol        = tcp
          server_args     = -n
          log_on_failure  += USERID
          disable         = no

For stunnel:

  pid = /var/run/stunnel.pid
  cert = /etc/stunnel/yourkeys.pem
  # The next two sections will turn stunnel
  # into a 'secure inetd'. This is mutually
  # exclusive with the proxy sections below.
  accept = 995
  exec = /usr/local/sbin/dbmail-pop3d
  execargs = dbmail-pop3d -n
  accept = 993
  exec = /usr/local/sbin/dbmail-imapd
  execargs = dbmail-imapd -n
  # The next two sections will proxy
  # from the secure protocol over to
  # the insecure protocol. In this case,
  # use BINDIP=localhost in dbmail.conf!
  accept  = 995
  connect = 110
  accept  = 993
  connect = 143
  # Useful if your preferred SMTP server doesn't do SSL/TLS.
  # This is with your MTA configuration, not DBMail, per se.
  accept  = 465
  connect = 25


If you experience inexplicable problems with DBMail, please report the issue to the [1]DBMail Bug Tracker.


DBMail and its components are distributed under the terms of the GNU General Public License. Copyrights are held variously by the authors listed below.


DBMail is a collaborative effort among the core developers listed below and the tremendous help of the testers, patchers and bug hunters listed in the AUTHORS and THANKS files found in the DBMail source distribution.

Eelco van Beek      Aaron Stone            Paul J Stevens
Roel Rozendaal      Open Source Engineer   NFG Net Facilities Group BV
Ilja Booij          Palo Alto, CA USA      http://www.nfg.nl
IC&S                http://hydricacid.com
Koningsweg 4
3582 GE Utrecht


1. DBMail Bug Tracker