Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: Basic address rewriting? Message-ID: <1991May21.214811.5451@mp.cs.niu.edu> Date: 21 May 91 21:48:11 GMT References: <16400@helios.TAMU.EDU> Distribution: na Organization: Northern Illinois University Lines: 50 In article <16400@helios.TAMU.EDU> greg@carnivore.tamu.edu (Greg Economides) writes: >uunet.uu.net. Is it possible/wise/a-good-idea to put a rule in the >sendmail.cf file to rewrite address of the form: > someone@this.dang.machine.com > >to be of the form: > > someone%this.dang.machine.com@uunet.uu.net > >so that the users don't have to do their own routing like this? Is there That is a terrible idea, for two reasons: 1. You may be unnecessarily burdening uunet.uu.net 2. It is a hack partial solution at best. Your real problem is that you are using a version of 'sendmail' which does not understand MX records. Solutions: Easy:- Find a host on your campus (Texas A & M ??) which can handle these addresses, and set up you mail system to relay ALL outbound mail through that host. Obviously you must get permission first, and if so, the admin of the relay system can probably help you with the setup. General:- Look in /usr/lib. You will find there are two executables with names that look like sendmail. One is called 'sendmail' and the other is called 'sendmail.mx'. You will need to start using the second one. cd /usr/lib mv sendmail sendmail.nomx ln sendmail.mx sendmail Now do some tests on your 'sendmail.cf'. As a result of the different version the automatic definition of $w and $j may have changed. You will have to make the needed adjustments so that it works correctly. When you have it working, kill and restart the sendmail daemon. (I do assume you have access to a nameserver). -- =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= Neil W. Rickert, Computer Science Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940