The cw macro in the sendmail.cf file is used to tell sendmail which hosts it should consider to be local. This in no way will rewrite any out-bound addresses. Terry -----Original Message----- From: Kerry Hoath [mailto:kerry@xxxxxxxxxxxx] Sent: Monday, March 05, 2001 9:15 AM To: speakup at braille.uwo.ca Subject: Re: wait a minute There is a better way, it has something to do with the cw list you put your local domains in that list so sendmail knows to deliver locally to those addresses. I _think_ it is cw, I use exim, a much nicer mailer to configure. In there you set routers to deliver to remote addresses. First the domain is checked to see if it is local if it is it is handed to the directors. Otherwise it is handed to the routers. If local: it is handed to each director in turn and hopefully one handles it. Directors are things like aliasfile, local_user, forward_file etc. If the address is remote it is handed to a router like remote_smtp or uucp. I have all mail on this smachine handled remotely by a smarthost router that simply queues it all up for uucp delivery. Antiquated but it goes. I could alternatively set queue_only on the remote_smtp transport and run the queue when I connect. Each director/router must have a transport, the transport delivers the message for you for example remote_smtp uses the lookuphost router and the smtp transport. Easier to read than sendmail but sendmail is a defacto standard. Regards, Kerry. On Sun, Mar 04, 2001 at 07:12:16PM -0500, Charles Hallenbeck wrote: > > Hi Frankie, > Couple of questions please... > > > > make sure that > > Cwlocalhost > > #Dj > > CP. > > DS"your-isp's-smtpserver" > > > Question: Obviously I put my own ISP's smtp server there, which is > mail.mhonline.net, but do I keep the quotes or drop them? > > You suggested letting Pine supply the "from" address, but when I do that > it breaks the ability to send mail to other local users when the link is > down. > > There is a brute force solution that I am seriously thinking about - > namely, to switch pine configurations depending on whether I want to mail > to a local user or to the outside world. I have to strip all references to > my ISP from Pine for it to work on the local circuit, but I have to add > them again if I want a properly formed return address on outgoing > mail. There has got to be a better way! > > (famous last words) > > Chuck > > > > My web site is http://www.mhonline.net/~chuckh > The Moon is Waxing Gibbous (71% of Full) > > > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > -- -- Kerry Hoath: kerry at gotss.eu.org Alternates: kerry at emusys.com.au kerry at gotss.spice.net.au or khoath at lis.net.au ICQ UIN: 8226547 _______________________________________________ Speakup mailing list Speakup at braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup