User Tools

Site Tools


протокол_pop3

This is an old revision of the document!


Протокол POP3

Пример pop3 диалога

cX# telnet gX 110
user mailuser
pass 123
list
+OK 1 messages (810 octets)
1 810
.
top 1 0
+OK 810 octets
Received: by gX.class (mbox mailuser)
 (with Cubic Circle's cucipop (v1.31 1998/05/X) Thu Feb  2 18:12:X 2006)
…
retr 1
+OK 810 octets
Received: by gX.class (mbox mailuser)
 (with Cubic Circle's cucipop (v1.31 1998/05/X) Thu Feb  2 18:14:58 2006)
…
dele 1
+OK Message 1 deleted
quit
+OK

Настройка POP3 сервера

FreeBSD

[gX:~ ] # pkg_add -r popper

[gX:~ ] # cat /etc/inetd.conf
...
pop3   stream  tcp     nowait  root    /usr/local/libexec/popper       popper
...

[gX:~ ] # cat /etc/rc.conf 
...
inetd_enable=”YES”
...

[gX:~ ] # /etc/rc.d/inetd start

Ubuntu

root@g13:~# apt-get install openbsd-inetd

root@g13:~# apt-get install qpopper

root@g13:~# grep pop /etc/inetd.conf
pop-3           stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/in.qpopper -f /etc/qpopper.conf

root@g13:~# /etc/init.d/openbsd-inetd start
протокол_pop3.1241408457.txt.gz · Last modified: 2013/05/22 13:50 (external edit)