9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] dns failure
Date: Thu,  3 May 2007 14:15:37 +0100	[thread overview]
Message-ID: <e39b2288b61256ef3779d4e7b08399c8@quintile.net> (raw)
In-Reply-To: <20070503124710.166440@gmx.net>

Ok, to get as much debug as you can,
first try to send some mail.

once that has failed, do:
	tail /sys/log/runq

you should get somthing like this:

	May  3 10:46:10 steve/C.225661: execing '/mail/lib/remotemail' 'smtp' 'steve' 'net!$smtp' 'theirname@theirdomain.com' 

so, cut and pasteing from that you can run
remotemail under rc-x like this:

	rc -x '/mail/lib/remotemail' 'smtp' 'steve' 'net!$smtp' 'theirname@theirdomain.com'

which will give you some more debug, the last line of which is:

	exec /bin/upas/smtp -i -a -h mydomain.com 'net!$smtp' my-username-on-my-mail-relay theirname@theirdomain.com

interrupt this, and you can now re-run smtp, adding a -d option
to see the smtp debug:

	/bin/upas/smtp -d -i -a -h mydomain.com 'net!$smtp' my-username-on-my-mail-relay theirname@theirdomain.com

	expanding /net!$smtp
	sending /net/dns 'my.mail.relay.com mx'
	dns: dns: resource does not exist
	mxdial trying /net/net!mymailrelay.mydomain.com!smtp
	220 my.mail.relay.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 ready at  Thu, 3 May 2007 14:10:40 +0100 
	EHLO myhost.mydomain.com
	250-mymailrelay.mydomain.com Hello [192.168.253.1]
	250-TURN
	250-SIZE
	...etc

somwhere here you should be able see where your problem is occuring.

-Steve


  reply	other threads:[~2007-05-03 13:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 10:25 thagonzo
2007-05-03 12:01 ` Steve Simon
2007-05-03 12:47   ` Frank Walser
2007-05-03 13:15     ` Steve Simon [this message]
2007-05-04 16:23       ` thagonzo
2007-05-04 17:20         ` Steve Simon
2007-05-03 16:34 ` geoff

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=e39b2288b61256ef3779d4e7b08399c8@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@cse.psu.edu \
    /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).