[svlug] Issue with sendmail

Robert Hajime Lanning lanning at lanning.cc
Thu Apr 28 14:29:17 PDT 2005


<quote who="Skip Evans">
> Hey Robert and all,
>
> I still don't seem to be able to resolve this. What I added
> to hosts was the last line below for the system that is
> sending out the email via the PHP script,
> timelessdesigns.com. That is the IP address (td).com
> of the machine where the site resolves.
>
> [root at localhost etc]# cat hosts
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1       localhost.localdomain
> 207.234.184.231 timelessdesigns.com
>
> The resolv.conf file contains:
> [root at localhost etc]# cat resolv.conf
> nameserver 127.0.0.1
> nameserver 216.219.239.7
> nameserver 216.219.239.8
> search localdomain
>
>
> But I'm not sure what do to next.
>
> Skip

1) change your hostname.  Give the machine a proper
   hostname.  "localhost" is generic and is the name of
   127.0.0.1.  I have:

192.168.2.21    mr0.sv.mailhost.seagate.com     mr0

2) change your domainname.  Edit /etc/resolv.conf
   "domain <put.the.real.domain.here.>" The mail relays
   I have here, have their /etc/resolv.conf set to:

domain sv.mailhost.seagate.com
search sv.mailhost.seagate.com
nameserver      192.168.2.23
nameserver      192.168.2.17

3) make sure the hostname under the domainname is in DNS.
   (Don't mind the IP difference in my DNS, we have a NAT.)

$  dig @ns1.seagate.com mr0.sv.mailhost.seagate.com

; <<>> DiG 8.4 <<>> @ns1.seagate.com mr0.sv.mailhost.seagate.com
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36922
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 6
;; QUERY SECTION:
;;      mr0.sv.mailhost.seagate.com, type = A, class = IN

;; ANSWER SECTION:
mr0.sv.mailhost.seagate.com.  5M IN A  192.55.4.52

;; AUTHORITY SECTION:
seagate.com.            1D IN NS        ns1.seagate.com.
seagate.com.            1D IN NS        ns2.seagate.com.
seagate.com.            1D IN NS        ns3.seagate.com.
seagate.com.            1D IN NS        ns4.seagate.com.
seagate.com.            1D IN NS        dbru.br.ns.els-gms.att.net.
seagate.com.            1D IN NS        dmtu.mt.ns.els-gms.att.net.

;; ADDITIONAL SECTION:
ns1.seagate.com.        1D IN A         192.55.4.49
ns2.seagate.com.        1D IN A         192.55.20.49
ns3.seagate.com.        1D IN A         192.55.4.51
ns4.seagate.com.        1D IN A         192.55.20.50
dbru.br.ns.els-gms.att.net.  1d20h28m25s IN A  199.191.128.106
dmtu.mt.ns.els-gms.att.net.  1d20h28m25s IN A  12.127.16.70

;; Total query time: 38 msec
;; FROM: largo to SERVER: 192.55.4.49
;; WHEN: Thu Apr 28 14:24:25 2005
;; MSG SIZE  sent: 45  rcvd: 291

-- 
END OF LINE
       -MCP





More information about the svlug mailing list