cp imapd/imapd /usr/sbin
cp ipopd/ipop3d /usr/sbin
------------------
vi /etc/xinetd.d/imapd
service imap
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
}
-------------------
vi /etc/xinetd.d/ipop3d
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
}
-------------------
vi /etc/services
......
pop3 110/tcp pop-3 # POP version 3
pop3 110/udp pop-3
......
imap 143/tcp imap2 # Interim Mail Access Proto v2
imap 143/udp imap2
......
-------------------
/etc/rc.d/init.d/xinetd restart
cp ipopd/ipop3d /usr/sbin
------------------
vi /etc/xinetd.d/imapd
service imap
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
}
-------------------
vi /etc/xinetd.d/ipop3d
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
}
-------------------
vi /etc/services
......
pop3 110/tcp pop-3 # POP version 3
pop3 110/udp pop-3
......
imap 143/tcp imap2 # Interim Mail Access Proto v2
imap 143/udp imap2
......
-------------------
/etc/rc.d/init.d/xinetd restart