|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/share/doc/dovecot-1.0.7/wiki/ |
Upload File : |
Running Dovecot From Inetd
==========================
Preferred way to run Dovecot is to just start the 'dovecot' binary, but it's
also possible to run from inetd:
---%<-------------------------------------------------------------------------
imap stream tcp nowait root /usr/sbin/tcpd
/usr/local/libexec/dovecot/imap-login
imaps stream tcp nowait root /usr/sbin/tcpd
/usr/local/libexec/dovecot/imap-login --ssl
pop3 stream tcp nowait root /usr/sbin/tcpd
/usr/local/libexec/dovecot/pop3-login
pop3s stream tcp nowait root /usr/sbin/tcpd
/usr/local/libexec/dovecot/pop3-login --ssl
---%<-------------------------------------------------------------------------
'imap-login' and 'pop3-login' automatically start 'dovecot' master process if
it's not already running.*NOTE:* If you change any configuration, Dovecot
doesn't notice the change unless the master process is restarted, or if HUP
signal is sent to it. This makes Dovecot somewhat special as a inetd-based
service.
Running Dovecot From xinetd
===========================
sample configuration for imap and imaps
---%<-------------------------------------------------------------------------
service imap
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/libexec/dovecot/imap-login
flags = IPv4
only_from = 127.0.0.1
banner = /usr/local/etc/deny_banner
}
service imaps
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/local/libexec/dovecot/imap-login
flags = IPv4
server_args = --ssl
}
---%<-------------------------------------------------------------------------
(This file was created from the wiki on 2007-06-15 04:42)