From: "Russ Cox" <rsc@swtch.com>
To: marina@surferz.net, 9fans@cse.psu.edu
Subject: Re: [9fans] Still picking at a wierd mail issue under Qemu...
Date: Wed, 8 Mar 2006 14:04:11 -0500 [thread overview]
Message-ID: <728ac7a9dba39b9c1f2fe35b2328feca@swtch.com> (raw)
In-Reply-To: <380-22006338185551616@M2W052.mail2web.com>
> Yes, there is no mx record for my ISP's outgoing SMTP server.
> Should there be one ? It seems that only domains that are actually
> having mail delivered to them should need an MX record.
The way that /mail/lib/remotemail invokes upas/smtp,
it is giving smtp.cox.east.net as the domain to deliver
the mail to. If the mx lookup returns zero entries
then it dials the name directly, but if the mx returns
a dns failure, then it waits for dns to unbreak.
You could change /mail/lib/remotemail to say
exec /bin/upas/smtp -g $addr -h $fd $addr $sender $*
(e.g., add the -g $addr option) and that should
dial the given address even when dns is failing.
Otherwise, edit /sys/src/cmd/upas/smtp/mxdial.c
is where to start, as Erik said.
Russ
next prev parent reply other threads:[~2006-03-08 19:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-08 18:55 marina
2006-03-08 19:04 ` Russ Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-03-08 8:03 Marina Brown
2006-03-08 11:54 ` erik quanstrom
2006-03-08 11:59 ` erik quanstrom
2006-03-08 14:55 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=728ac7a9dba39b9c1f2fe35b2328feca@swtch.com \
--to=rsc@swtch.com \
--cc=9fans@cse.psu.edu \
--cc=marina@surferz.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).