From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 08:16:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4578A37B401 for ; Fri, 25 Apr 2003 08:16:53 -0700 (PDT) Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96B0E43F75 for ; Fri, 25 Apr 2003 08:16:52 -0700 (PDT) (envelope-from jlee@visi.com) Received: from xp (jlee.dsl.visi.com [209.98.144.80]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id E0E1A82C0 for ; Fri, 25 Apr 2003 10:16:51 -0500 (CDT) From: "James Lee" To: Date: Fri, 25 Apr 2003 10:16:51 -0500 Message-ID: <000701c30b3d$b2d722a0$0100a8c0@xp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <002801c30b37$5201eab0$0100a8c0@xp> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: Update ---- Sendmail not working from command line. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 15:16:53 -0000 Dig gives no resolve for localhost. There is no answer. # dig localhost ; <<>> DiG 8.3 <<>> localhost ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 2 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUERY SECTION: ;; localhost, type =3D A, class =3D IN ;; AUTHORITY SECTION: . 47m31s IN SOA A.ROOT-SERVERS.NET. NSTLD.MYISP-GRS.COM. ( 2003042500 ; serial 30M ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum ;; Total query time: 102 msec ;; FROM: mydomain.com to SERVER: default -- 208.98.98.98 ;; WHEN: Fri Apr 25 09:44:49 2003 ;; MSG SIZE sent: 27 rcvd: 102 I changed my domain to mydomain.com in the FROM row. I also changed the name of my ISP in the AUTHORITY SECTION. When I do a dig the MX record of my domain it does resolve to my IP address. This is a copy of my hosts file 127.0.0.1 localhost.com localhost 192.168.0.253 mydomain.com mydomain 192.168.0.253 mydomain.com. I changed to mydomain from my real domain name. I don't think bind is running. # ps aux | grep named root 7103 0.0 0.7 1356 664 p0 S+ 9:46AM 0:00.02 grep named # kill 7103 7103: No such process # ps aux | grep named # ps aux | grep named root 7107 0.0 0.2 284 172 p0 R+ 9:47AM 0:00.00 grep named # ps aux | grep bind # -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of James Lee Sent: Friday, April 25, 2003 9:31 AM To: freebsd-questions@freebsd.org Subject: RE:---- Sendmail not working from command line. This is the output for nslookup localhost.com # nslookup localhost.com Server: ra.myisp.com Address: 208.98.98.98 Non-authoritative answer: Name: localhost.com Address: 10.11.12.13 # I changed the servers name to ra.myisp.com because it points to my providers DNS server. I also changed the address underneath server because it was my ISPs DNS address. I don't know where to fix this problem. I also don't know why the Non-authoritative's address is 10.11.12.13 -----Original Message----- From: owner-freebsd-questions@freebsd.org=20 Sent: Thursday, April 24, 2003 11:45 PM To:=20 Cc: freebsd-questions@freebsd.org Subject: RE:RE: Sendmail not working from command line. Hi, just nslookup localhost.com If this resolves properly to 127.0.0.1 Then check whether sendmail is running. Regards SSR >From:=20 >To: >Subject: RE:RE: Sendmail not working from command line. >Date: Thu, 24 Apr 2003 20:12:48 -0500 > ># mail -v myname@mydomain.com >Subject: test >. >EOT >Null message body; hope that's ok >myname@mydomain.com... Connecting to localhost.com. via relay... >myname@mydomain.com... Deferred: Operation timed out with localhost.com. ># > > >It does really say localhost.com, I only changed my email address. I'm >also trying to get my form to work send me mail on my website. I think >it's related to this problem. The forms say the message was sent but it >never gets to me. It also takes a long time to complete once send is >pressed on the form. > > > > >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Toni >Schmidbauer >Sent: Thursday, April 24, 2003 5:02 PM >To: freebsd-questions@freebsd.org >Subject: Re: Sendmail not working from command line. > >On Thu, Apr 24, 2003 at 11:31:34AM -0500, wrote: > > I typed into the command line echo "hi there" | mail >myname@mydomain.com > > > > I got nothing in my mailbox. > >try mail -v myname@mydomain.com (after the subject, end your >message with a single dot and a newline). what happens? post the output. > >toni >-- >Behandle die Menschen, als w=E4ren sie, was sie sein | toni at stderror >dot at >sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer >sie sein k=F6nnen. - Johann Wolfgang von Goethe | > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to=20 >"freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ What is SARS? Find out! http://server1.msn.co.in/completecoverage/sars/ Be=20 informed. _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"