From: John McNulty <jm@uvo.dec.com>
To: Dan <dkirkpatrick@hotmail.com>
Subject: Re: How to install POP to grab mail off unix to PC?
Date: 1998/01/28 [thread overview]
Message-ID: <34CF9197.FCEB8826@uvo.dec.com> (raw)
In-Reply-To: 34C67151.44917B00@hotmail.com
Dan wrote:
>
> We're running Digital Unix v3.2c with the bundled Sendmail...
>
> How do I go about getting a POP service installed so we can use POP to
> grab mail off the unix box to PC's???
>
> Thanks!
> Please send a copy to my email!
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 <on ULTRIX>
or
# /usr/sbin/newaliases <on OSF/1>
8. use 'popwrd' to enter a password for each POP user.
# /usr/lib/mh/popwrd pop-user1
9. make sure that 'root' is the owner of /usr/lib/mh/spop with a mask
of 'rwsr-xr-x'.
# chown root /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 & <on ULTRIX>
or
# /usr/sbin/inetd & <on OSF/1>
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.
BTW, V3.2c is retired now .. just in case you didn't know.
John
--------------------------------------------------------
John McNulty | Email: jm@uvo.dec.com
UK CSC, Unix Support Group | Tel: (44) 1256 373862
Digital Equipment Corporation | DTN: 833-3862
Disclaimer: The views expressed are the author's alone,
and not necessarily those of DIGITAL Equipment Corporation
prev parent reply other threads:[~1998-01-28 5:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-21 5:00 How to install POP to grab mail off unix to PC? Dan
1998-01-22 5:00 ` Joel Gallun
1998-01-23 5:00 ` Jeff Donsbach
1998-01-24 5:00 ` Tom Smith
1998-01-24 5:00 ` Dr. Strangelove
1998-01-24 5:00 ` Dr. Strangelove
1998-01-26 5:00 ` Jeffrey J. Potoff
1998-01-28 5:00 ` John McNulty [this message]
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