From: mikey@mustang.smartstar.com (Mike Rambour)
Subject: POP server info
Date: 1995/04/13 [thread overview]
Message-ID: <D6zqq8.31I@beach.silcom.com> (raw)
Here is the mail message I got from DEC that I spoke of last week. I
had incorectly assumed that aside from the poster who had asked the question
that there would not be enough interest to be worth wasting bandwidth, turns
out it would have been a waste several people asked for this message. It
came directly from DEC any typos after this point are not mine...
mike
POP Mail Installation
Setting Up the POP server
-------------------------
1. create a group called 'pop' in /etc/group file, like this:
pop:*:30:pop,pop-user1,pop-user2
where 30 is the group ID. This ID must be unique in this file. If 30 is
being used, then choose another number.
Then add in all those POP users to this group, including 'pop' (this is
for step 2).
2. create an account called 'pop' with /usr/spool/pop as the home
directory, by editing the /etc/passwd file, and add this entry:
pop:*:57:30:MH POP:/usr/spool/pop:/:
where 57 is the user ID. This ID must be unique in this file. If 57 is
being used, then choose another number. 30 is the group ID for group
'pop' set up in step 1.
3. create the /usr/spool/pop directory owned by 'pop'.
# cd /usr/spool
# mkdir pop
# chown pop pop
# chgrp pop pop
# chmod 777 pop
4. create a file in the /usr/spool/pop directory called POP owned by 'pop'.
Add an entry into the POP file in the following format for every user
who will use the POP server:
user::user:::::::0
# cd /usr/spool/pop
# vi POP
add in entry as shown above.
# chown pop POP
# chgrp pop POP
# chmod 666 POP
5. run /usr/lib/mh/popaka to obtain aliases for all of the users in the POP
file.
NOTE: An apparent bug in popaka causes it to look for the POP database in
the /usr/spool/pop/pop directory. To work around the bug, make the
/usr/spool/pop/pop directory and create a symbolic link in it for POP
pointing back to the POP file in the /usr/spool/pop directory.
# cd /usr/spool/pop
# mkdir pop
# chown pop pop
# chgrp pop pop
# chmod 777 pop
# cd pop
# ln -s ../POP
# /usr/lib/mh/popaka
6. enter the strings produced from running 'popaka' in the systemwide alias
file, /usr/adm/sendmail/aliases on OSF/1 or /etc/aliases on ULTRIX.
7. run 'newaliases' to update the mail aliases database.
# /etc/newaliases
or
# /usr/sbin/newaliases
8. use 'popwrd' to enter a password for each POP user.
# /usr/lib/mh/popwrd pop-user1
9. make sure that 'pop' is the owner of /usr/lib/mh/spop with a mask of
'rwsr-xr-x'.
# chown pop /usr/lib/mh/spop
# chmod 4755 /usr/lib/mh/spop
10. make sure the port name 'pop' is in /etc/services file.
pop 109/tcp postoffice
NOTE: if you make change to this file, don't forget to kill the 'inetd' and
restart it again, like this:
# kill -9 inetd-pid
# /etc/inetd &
or
# /usr/sbin/inetd &
11. run 'popd' in the background and redirect its output to a null file:
# /usr/lib/mh/popd -p 110 >& /dev/null &
NOTE: popd on ULTRIX & OSF/1 are based on pop3 protocol, by default its
using port 109. If the pop application is looking for port 110, then
use the '-p' option as shown above to indicate the port number.
Where does POP mail reside?
OSF/1: at /usr/spool/pop directory with pop-user as the file name,
with owner & group both 'pop'.
ULTRIX: at /usr/spool/mail directory (regular UNIX mail).
NOTE: I have seen the pop DELE function (delete mail) looks for the
pop mail at /usr/spool/pop. to get around with this problem,
make a soft link
ln -s /usr/spool/mail/login-name /usr/spool/pop/pop-user
NOTE:
**The following data has not yet been verified. Use it at your own risk.**
If you are running in a Network Information Service (NIS) environment, you
must perform the following steps to enable users on client machines to reply
or send mail so that the return address will be correctly sent to the POP
server machine:
1. YP aliases for the POP user should point to the POP server machine.
2. Run quick 'mailsetup' (OSF/1 only, /usr/sbin/mailsetup) or modify the
send mail configuration file (/usr/var/adm/sendmail/sendmail.cf on OSF/1
or /usr/lib/sendmail.cf on ULTRIX) to specify the POP serve machine.
3. Check the /etc/svc.conf to make certain the 'local', yp' aliases are
there. If they are not there, add them.
Further Ultrix Configuration:
Add:
Mpop, P=/usr/lib/mh/spop, F=nsmFDM, S=10, R=10, A=pop $u
after the line:
Mprog, P=/bin/sh, F=lsDFe, S=10, R=10, A=sh -c $u
Then Add to the rule S0 the following immediately after the word "S0":
# Fake hosts in my domain to run the pop tool
#
R$+<@POP> $#pop $@$j $:$1 username@POP
Also Add as part of the S7 rule:
R$+<@POP>$* $@$1<@POP>$2 POP already OK
last modified by sns on Wed 25-May-94, 14:50
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Rambour __._._. O (Yahoo!)
SmartStar/Sapiens Co. ____ ._.. /\,
Bug Writer err: Programmer -|~(*)
(805)685-8000 x 264 :::::::::. (*)
mikeY@smartstar.com or mikey@silcom.com ::::::::::\............
***********************************************************************
If you want to learn more about the ULTIMATE BRITISH sports car, then
take a look at http://silcom.com/~mikey/nasoc.html Its the home
page of NASOC, the North American SINGER Owners Clubs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
reply other threads:[~1995-04-13 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox