[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sending mail out (only)



On  Thu, Aug  01, 2002  at  03:26:51PM -0400,  William L  Anderson
wrote:

> I've gotten OpenBSD to boot up  into a VMware partition, and I'd
> like to be able to send mail out from there.
>
> However,  I'm  having  trouble configuring  either  sendmail  or
> exim to  produce a  legal outgoing  address; it  always produces
> root@sigmund.localdomain
>
> I'd like to force this to be my real ISP email address.

Your DNS setup is screwed  up somewhere. I've said it before: SMTP
doesn't work  when DNS is hosed. Fix  DNS, and the rest  will most
likely fall into line.

You also really, really don't want to log in as root, even if it's
just a virtual machine. It's a nasty habit to get into, setting up
a user account takes a moment, and sudo is a snap. See:

    http://www.trumpetpower.com/OpenBSD/Meta-FAQ#sudo

> Also, resolv.conf seems to be  regenerated at boot time. How can
> I manually set domain and nameservers?

How are  you getting the  IP address for this  computer? It sounds
like  DHCP may  be  clobbering  it. If so,  either  fix your  DHCP
server to  supply the  proper information  or, barring  that, read
dhcp (8)  and all  referrenced manual pages,  especially including
dhclient.conf (5).

> I've spent a lot of time w/ my sendmail book, faqs and other net
> resources,  but I'd  be  happy  to follow  up  any other  useful
> documentation that is suggested.

That would  be DNS documentation,  but you probably won't  have to
wade through a lot of it. My guess is that fixing your DHCP server
will also fix your DNS environment  which will also fix your email
problems, but there are other paths you might wind up taking.

Cheers,

b&

--
Ben Goren
 mailto:ben@trumpetpower.com
 http://www.trumpetpower.com/
 icbm:33o25'37"N_111o57'32"W

[demime 0.98d removed an attachment of type application/pgp-signature]