BBS水木清华站∶精华区
发信人: gobly (漫天星光), 信区: Unix
标 题: Re: 再次询问:如何在Solaris 2.x中配置POP3 Server?
发信站: BBS 水木清华站 (Sat Oct 18 18:47:06 1997)
【 在 like (Yes!) 的大作中提到: 】
∶ 再次询问:如何在Solaris 2.x中配置POP3 Server?:
∶ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
∶ 世界这么大,它们在哪里?
∶ ^^^^^^^^^^^^^^^
∶ ^^^^^^^^^^^^^
∶ 一点思路都没有,您就救人救到底吧!
∶ 谢谢白大侠!
1.D/L qpopper 2.2,(I have it about 200k):)
2.use gunzip and tar to unzip it!
3.read the REAME(This is important!)and INSTALL
4.Complile it using cc or gcc
5.modify ined.conf and services,see details in INSTALL pls.
ined.conf
pop3 stream tcp nowait root /usr/local/lib/popper popper -s
services
pop3 110/tcp # Post Office
6.test,
telnet hostname pop3
type help
USER XXX
PASS ********
STAT
QUIT
like this:
iad 4# telnet pevirc.xjtu.edu.cn 110
Trying 202.117.38.22...
Connected to pevirc.xjtu.edu.cn.
Escape character is '^]'.
+OK QPOP (version 2.2) at pevirc starting. <16094.877167754@pevirc>
user yxq
+OK Password required for yxq.
......
INSTALL:
After running make on the appropriate OS, you need to move the
popper to a known location. There is no one correct place. Many
sysadmins prefer /usr/local/lib.
Modify your /etc/inetd.conf file to contain the following line.
You may have to modify it to support your version of the file. Note:
for AIX sysadmins, you should use SMIT and not edit the following
files.
pop3 stream tcp nowait root /usr/local/lib/popper popper -s
If your OS does not have an inetd.conf file then it uses the
config file /etc/servers. Use the following line:
pop3 tcp /usr/local/etc/popper popper -s
For all OS version you must modify your /etc/services file to
include the following line.
pop3110/tcp# Post Office
Restart inetd with a kill -HUP <inetdpid> and you should be all
set (some systems can use inetd -c).
If you have modified these files for AIX, the following commands
may work for you. First you need to import the new inetd.conf file
and then you need to re-init inetd. Use the following commands.
inet imp
refresh -s inetd
If you are running NIS, please don't forgot to update your maps.
DEBUGGING:
Telnet to the popper port "telnet <popper host> pop3". If you
receive one of the following error messages
"connect: Connection refused"
This message is telling you that inetd is not servicing the
pop port. Check your services file and make sure the port name
"pop3" is spelt the same way as the one in inetd.conf. It can
also mean that you have not reset inetd (kill -HUP <inetd PID>)
or similar messages indicate that inetd has the correct port
assigned to the popper, but that either the program cannot be
located or it is failing on startup. If you are compiling
with a listed OS, chances are the pop program is mis named in
the /etc/inetd.conf file. Otherwise, add the -d flag and check
your log messages for the source of the problem.
What you are looking for is the startup banner. If you see the
following line then you have correctly installed the popper as far
as inetd is concerned.
+OK QPOP (version 2.1.4-R4) at <system> starting. <13625.811191280@system>
Now you need to run two commands to authorize yourself. You
should make sure you have a message or two queued up so you can
make sure the popper is pointed at the correct mail spool file.
Don't be alarmed, the password is echoed back, that's the way it
is suppose to work:
user <your user name here>
+OK Password required for <your user name hsers>
pass <your password>
+OK mark has 2 message(s) (4123 octets).
You have successfully authorized yourself. You have two messages.
At this point you can enter "quit" to exit. list and uidl are two
commands to list out each message by size and unique ID respectively.
If you get this far Eudora or any other pop client will not have a
problem communicating with your popper.
If you get the following line:
Unable to process From lines (envelops), change recognition modes.
It means that your mailbox is corrupted (the first line is not a
recognizable From header or MMDF separator) or there is a From line
I haven't seen before. Edit the mail spool file and send me the first
line. If the first line is blank then remove it until you reach the
From line.
If you get an error message saying that your password is incorrect,
you might be using shadow password and need to use the -DAUTH define.
Or, you might be using a UID less than 11 (default) which is automatically
blocked from access.
∶q
--
※ 修改:·gobly 於 Oct 18 18:50:22 修改本文·[FROM: 202.117.38.6]
※ 修改:·gobly 於 Oct 18 18:51:08 修改本文·[FROM: 202.117.38.6]
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.117.38.6]
BBS水木清华站∶精华区