From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,f419456857333b30 X-Google-Attributes: gidf678f,public X-Google-Thread: 1020c6,f419456857333b30 X-Google-Attributes: gid1020c6,public X-Google-Thread: 10cebf,f419456857333b30 X-Google-Attributes: gid10cebf,public X-Google-Thread: 1164f8,f419456857333b30 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10de99,f419456857333b30 X-Google-Attributes: gid10de99,public X-Google-Thread: fee84,f419456857333b30 X-Google-Attributes: gidfee84,public From: John McNulty Subject: Re: How to install POP to grab mail off unix to PC? Date: 1998/01/28 Message-ID: <34CF9197.FCEB8826@uvo.dec.com>#1/1 X-Deja-AN: 320063388 Content-Transfer-Encoding: 7bit References: <34C67151.44917B00@hotmail.com> Mime-Version: 1.0 To: Dan Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment Co Ltd. Newsgroups: comp.unix.osf.misc,comp.sys.dec.micro,comp.sys.dec,comp.unix.admin,comp.unix.osf.osf1,comp.mail.sendmail 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 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 '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 & 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. 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