Choosing the right hostname
sehh at altered.com
Fri Feb 7 08:50:59 GMT 2003
On Thu, 6 Feb 2003 11:47:04 -0000 "Andrew" <andrew.hodgson at blueyonder.co.uk> wrote:
> <<< 553 5.1.8 <root at dhcp-64-50354.missinglink.uk.com>... Domain of sender
> address root at dhcp-64-50354.missinglink.uk.com does not exist
I think you have a problem in your dns server resolving the address dhcp-64-50354.missinglink.uk.com.
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;dhcp-64-50354.missinglink.uk.com. IN A
Notice the QUERY 1, ANSWER 0 (no answer).
Sendmail is doing a spam check, and the domain of the sender can not be resolved
as an IP address at all via an authoritative DNS server.
Sendmail does NOT look at your /etc/hosts. If you want to forward the daily updates
from your fbsd box to your real email address then you'll have to force sendmail
to use a real domain name, or something that resolves at your local DNS server. If
you don't run your own dns server then you can use Dyndns.org and register a dynamic domain!
I registered 'your-mom.kicks-ass.org' at dyndns.org, which now resolves back to my
system, then i changed the sendmail configuration to force it to use that domain
instead of my 'server' domain:
# file containing names of hosts for which we receive email
# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
More information about the Ukfreebsd