差異處
這裏顯示兩個版本的差異處。
下次修改 | 前次修改 | ||
tech:poppassd [2008/10/22 07:25] – 建立 jonathan | tech:poppassd [2021/01/16 14:38] (目前版本) – 更換 plugin jonathan | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== | ||
+ | 之前安裝 SquirrelMail 有看到 change password 的功能, 但是最近需要讓使用者自己來更改密碼時才發現不見了, | ||
+ | ===== 下載與安裝設定 ===== | ||
+ | <cli> | ||
+ | cd / | ||
+ | mkdir poppassd | ||
+ | cd poppassd | ||
+ | wget ftp:// | ||
+ | gcc poppassd.c -o poppassd -lcrypt | ||
+ | vi / | ||
+ | </ | ||
+ | < | ||
+ | : | ||
+ | # (due to a bug in inetd the 3com-tsmux line is disabled) | ||
+ | 3com-tsmux | ||
+ | # | ||
+ | : | ||
+ | </ | ||
+ | <cli> | ||
+ | cd / | ||
+ | vi poppassd | ||
+ | </ | ||
+ | < | ||
+ | service poppassd | ||
+ | { | ||
+ | flags = REUSE | ||
+ | socket_type | ||
+ | wait = no | ||
+ | user = root | ||
+ | server | ||
+ | server_args | ||
+ | log_on_failure | ||
+ | disable | ||
+ | } | ||
+ | </ | ||
+ | <cli> | ||
+ | service xinetd restart | ||
+ | [root@vm-mail xinetd.d]# netstat -na | grep 106 | ||
+ | tcp 0 0 0.0.0.0: | ||
+ | [root@vm-mail xinetd.d]# telnet localhost 106 | ||
+ | Trying 127.0.0.1... | ||
+ | Connected to mail.ichiayi.com (127.0.0.1). | ||
+ | Escape character is ' | ||
+ | 200 vm-mail poppassd v1.6a hello, who are you? | ||
+ | quit | ||
+ | Connection closed by foreign host. | ||
+ | [root@vm-mail xinetd.d]# | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== 參考網址 ===== | ||
+ | * [[http:// | ||
+ | |||
+ | |||
+ | {{tag> |