From owner-freebsd-questions Fri Jul 21 15:46:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2a.ispchannel.com (smtp.ispchannel.com [24.142.63.7]) by hub.freebsd.org (Postfix) with ESMTP id 1E04137B61A for ; Fri, 21 Jul 2000 15:46:23 -0700 (PDT) (envelope-from vandena@ispchannel.com) Received: from cm-206-153-129-137.gulfbreeze.mediacom.ispchannel.com ([206.153.129.137]) by smtp2a.ispchannel.com (InterMail vK.4.02.00.00 201-232-116 license 7d3764cdaca754bf8ae20adf0db2aa60) with ESMTP id <20000721224812.CYXT539.smtp2a@cm-206-153-129-137.gulfbreeze.mediacom.ispchannel.com>; Fri, 21 Jul 2000 15:48:12 -0700 Date: Fri, 21 Jul 2000 17:46:21 -0500 (CDT) From: Steve Van Den Akker To: juro Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Sendmail In-Reply-To: <3978B401.BDF76410@savba.sk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had a similar problem when I first set up sendmail. I changed the /etc/hosts file to simply my isp domain. After editing the sendmail.cf file (and installing fetchmail), everything workied just fine. Hope this helps. Steve On Fri, 21 Jul 2000, juro wrote: > Hello, > I have a question. I use several Internet providers and when I send > mail, I have to use separate servers for each provider; for example, for > provider X I have to use smtp.X.com, which doesn't work with provider Y. > So I tried to use sendmail from my own machine and put "localhost" to be > my outgoing mail server in Netscape (my sendmail runs as a daemon). But > this doesn't work. I have Apache server configured and it works fine. > (However, almost equal configuration works in my Linux box.) How can I > make sendmail send, in Netscape, mail from my machine? To change > smtp.servers every time I use a different provider is annoying. > > The second question is related to the first one. I have two machines > linked on a parallel laplink cable and everything works fine. I can > telnet, ssh and lynx to another machine. I have a private network, my > first machine is defined as "one" with IP address 10.0.0.1. The second > machine is "two" with IP address 10.0.0.2. My connection works, but how > can I send mail from machine "one" to machine "two"? Every attempt to > use elm, pine, etc with address two@localhost fails. > My /etc/hosts file is: > # > 127.0.0.1 localhost localhost.my.domain myname.my.domain > ::1 localhost localhost.my.domain myname.my.domain > #0.0.0.0 localhost localhost.my.domain myname.my.domain > # > # Imaginary network. > 10.0.0.1 one > 10.0.0.2 two > #10.0.0.3 myfriend.my.domain myfriend > > My /etc/resolv.conf is empty. > > Any help would be appreciated. > > Juraj > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message