Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!mit-eddie!wuarchive!cs.utexas.edu!uunet!comp.vuw.ac.nz!asjl From: Andy.Linton@comp.vuw.ac.nz (Andy Linton) Newsgroups: comp.mail.sendmail Subject: Re: "buildaddr: no host"? Message-ID: <1991Feb15.011354.896@comp.vuw.ac.nz> Date: 15 Feb 91 01:13:54 GMT References: Sender: news@comp.vuw.ac.nz (News Admin) Reply-To: Andy.Linton@comp.vuw.ac.nz Organization: Computer Science Dept, Victoria Univ, Wellington, NEW ZEALAND Lines: 63 Nntp-Posting-Host: bats.comp.vuw.ac.nz Originator: asjl@bats.comp.vuw.ac.nz This isn't hard to do, see the following extracts from the .cf file: -- ###################### ### local macros ### ###################### # local domain DDcomp.vuw.ac.nz # This machine's mail server (where we SMTP `local' mail to). DSmailhost.comp.vuw.ac.nz -- S0 # tidy up local domains R$+@$+ $:$>15$1@$2 #send it to the mailhost R$+@$+ $#TCP $@$S $:$1@$2 # local mail send it to the mailhost too R$+ $#TCP $@$S $:$1@$D -- ############################################################ ############################################################ ##### ##### Local and Program Mailer specification ##### ##### We never use these but sendmail gets upset ##### if they aren't here! ##### ############################################################ ############################################################ MLOCAL, P=/bin/mail, F=lsDFMmnP, S=21/21, R=20/21, A=mail -r $g -d $u P=/bin/sh, F=lsDFMenuP, S=20, R=20, A=sh -c $u S20 S21 ############################################################ ############################################################ ##### ##### SMTP/IPC Mailer specification ##### ############################################################ ############################################################ MTCP, P=[IPC], F=CDFMXmsu, E=\r\n, S=23/23, R=22/23, A=IPC $h S22 S23 R$+@$+.$D $@$1@$D R$- $@$1@$D