Update ---- Sendmail not working from command line.
James Lee
jlee at visi.com
Fri Apr 25 08:16:53 PDT 2003
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 = A, class = 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 at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of James Lee
Sent: Friday, April 25, 2003 9:31 AM
To: freebsd-questions at 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 at freebsd.org
Sent: Thursday, April 24, 2003 11:45 PM
To:
Cc: freebsd-questions at 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:
>To: <freebsd-questions at freebsd.org>
>Subject: RE:RE: Sendmail not working from command line.
>Date: Thu, 24 Apr 2003 20:12:48 -0500
>
># mail -v myname at mydomain.com
>Subject: test
>.
>EOT
>Null message body; hope that's ok
>myname at mydomain.com... Connecting to localhost.com. via relay...
>myname at 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 at freebsd.org
>[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Toni
>Schmidbauer
>Sent: Thursday, April 24, 2003 5:02 PM
>To: freebsd-questions at 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 at mydomain.com
> >
> > I got nothing in my mailbox.
>
>try mail -v myname at 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ären sie, was sie sein | toni at stderror
>dot at
>sollten, und du wirst ihnen helfen, zu werden, was | Toni Schmidbauer
>sie sein können. - Johann Wolfgang von Goethe |
>
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"freebsd-questions-unsubscribe at freebsd.org"
_________________________________________________________________
What is SARS? Find out! http://server1.msn.co.in/completecoverage/sars/
Be
informed.
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list