Thanks, though it looks like changing my /etc/hosts to read 127.0.0.1 localhost 24.115.135.172 cr275960-a.crdva1.bc.wave.home.com mi.crdva1.bc.wave.home.com mi
solved the problem. (The second entry in the second line is the one I needed.) -chris On Tue, 12 Sep 2000, staf wagemakers wrote: > On Mon, Sep 11, 2000 at 11:10:20AM -0700, Krzys Majewski wrote: > > e-mail account. After changing the hostname, I'm getting "Domain must > > resolve" errors from sendmail (formatted strangely here to fit 70 cols): > <snip> > > relay=smtp.cs.ubc.ca. [142.103.6.52], dsn=4.0.0, stat=Deferred: 451 > > <[EMAIL PROTECTED]>... Domain must resolve > > > > Also, it looks like the mails in question are not showing up in my > > mailbox. So I guess my question is, is there a sendmail flag for > > stifling the DNS lookup, and what is the debian-correct way to set it? > > If you send mail to an internet mailserver your domainname in the from address > must resolve. So the easiest solution is to change the from address in your > script. This is possible with the -f option. > > # echo "hello there" | sendmail [EMAIL PROTECTED] [EMAIL PROTECTED] > > An otherway is to masquerade your hostname with a existing domainname. This > can be done by adding the next lines to /etc/mail/sendmail.mc and rebuild > sendmail.cf. > > MASQUERADE_AS(`newdomain.name') > MASQUERADE_DOMAIN(`your_host_name') > FEATURE(masquerade_entire_domain) > FEATURE(masquerade_envelope) > > -- > Staf Wagemakers > > email : [EMAIL PROTECTED] > homepage : http://www.digibel.org/~staf >