JARING-UUCP-SENDMAIL-mini-Howto ------------------------------- Maznan Deraman maznan@msctm.net.my 13/4/1999 Introduction ------------ This mini-howto just to provide a sample of my uucp + sendmail setting which tested to work on Jaring (www.jaring.my/jaring) uucp service. I have no intention to give a full detail description/explanation on each setting used in the configuration files since it already described in original UUCP-Howto in the Linux documentation. If you still having problem to do it successfully, just try it over and over :).. What you need? -------------- You need to register an account for uucp (domain) and service from jaring. read all the information and account description once you received it from jaring. The most important part are, account name, password, uucpname, uucpserver address. Configure your dial-up/connection to the Internet. Check your PPP-Howto if you don't know how to do it. How to configure UUCP --------------------- Normally, if you installed linux with uucp, you can find a directory /etc/uucp being created. The files in that directory normally contained nothing, and you can use my sample to configure your own. To download the sample, get it from http://sifu.rindu.net/course/uucp.tar.gz to extract, type tar -zxvf uucp.tar.gz Edit (use pico/vi) all the file one by one, and change some parameter to your setting. Once you have finished it, you can edit your crontab to start the uucp. How to configure Sendmail ------------------------- Edit your /etc/sendmail.cf. place your domain for uucp (i.e myhome.po.my) after the line "Cwlocalhost" (i.e Cwlocalhost myhome.po.my). Put also your uucp domain at line "DM" (i.e DMmyhome.po.my). Edit your /etc/sendmail.cw file and place your uucp domain (i.e myhome.po.my) in the file. Now you can restart (killall -HUP sendmail) your sendmail. A sample for sendmail.cf and sendmail.cw can be obtained from this url, http://maznan.msctm.net.my/course/sendmail-uucp.tar.gz It have 2 files (sendmail.cf & sendmail.cw), edit the domain name part. How to test ----------- Run this command "/usr/sbin/uucico -r 1 -S jaring" (which can be set in your crontab). You can view log report in /var/log/uucp/logs. See if any error message and try to troubleshoot. Try to send mail to external address. Check your mail using PINE or whichever program you have. What Else? ---------- Check your /etc/hosts whether your domain name for uucp already placed in the file (i.e 192.168.1.1 myhome.po.my myhome) Check also your local DNS setting (if you run named) for your uucp domain name. Good luck!. p/s: please don't email me to ask how to do it, before you try yourself at least 20 times. :) --END--

1