9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Failure notice by smtp
Date: Mon, 10 Nov 2003 07:40:26 -0500	[thread overview]
Message-ID: <70ab6919b9e9da4e33bc68072bba0a1c@plan9.bell-labs.com> (raw)
In-Reply-To: <39AC6052-1343-11D8-977B-000393A941BC@ar.aichi-u.ac.jp>

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

It runq eventually gives up, the sender should be notified via email.  Is
that what you are asking for?

The last thing runq does before removing the file is sending an error
email to the sender.  Can you actually send email to
ar.aichi-u.ac.jp!arisawa on the system in question?  Do you
see anything in /sys/log/mail at the same time as the
	ar Nov 10 11:50:32 removing none/C.004414
in the runq log?

[-- Attachment #2: Type: message/rfc822, Size: 4365 bytes --]

From: arisawa@ar.aichi-u.ac.jp
To: 9fans@cse.psu.edu
Subject: [9fans] Failure notice by smtp
Date: Mon, 10 Nov 2003 15:00:45 +0900
Message-ID: <39AC6052-1343-11D8-977B-000393A941BC@ar.aichi-u.ac.jp>

Hello,

I would like to be informed smtp failure.
Failure notice by mail will be more desirable.
How to change upas source codes so that failure notice is to be sent to
me?

The followings are the logs that do not informed the failure.
(the recipient z27c856d bellow is not exact one. I have changed for
privacy)

#
#	I sent two mails to z27c856d@jp-t.ne.jp
#
term% tail -1000 mail|grep z27c8
...
ar Nov 10 07:26:31 remote jp-t.ne.jp!z27c856d From
ar.aichi-u.ac.jp!arisawa Mon Nov 10 07:26:13 JST 2003 863
ar Nov 10 07:54:42 remote jp-t.ne.jp!z27c856d From
ar.aichi-u.ac.jp!arisawa Mon Nov 10 07:54:25 JST 2003 947

#
#	/sys/log/smtpd.fail reported connection timed out after some trials
#
term% tail smtp.fail
...
ar Nov 10 07:26:30 connection timed out (net!jp-t.ne.jp)
ar Nov 10 07:50:24 connection timed out (net!jp-t.ne.jp)
ar Nov 10 07:54:42 connection timed out (net!jp-t.ne.jp)
ar Nov 10 08:10:23 connection timed out (net!jp-t.ne.jp)
ar Nov 10 08:30:23 connection timed out (net!jp-t.ne.jp)
ar Nov 10 09:40:23 connection timed out (net!jp-t.ne.jp)
ar Nov 10 10:50:23 connection timed out (net!jp-t.ne.jp)
term% date
Mon Nov 10 13:37:13 JST 2003

#
#	Looking /sys/log/smtp we can confirm these two mails have not been
delivered
#
term% tail smtp
...
term%

#
#	Looking /sys/log/runq we can confirm runq removed queued messages
after some trials
#
tern% tail runq
...
ar Nov 10 07:26:13 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 07:50:06 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 07:54:25 none/C.004626: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
...
ar Nov 10 08:10:06 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 08:14:47 none/C.004626: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 08:14:47 removing none/C.004626
...
ar Nov 10 08:30:06 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
...
ar Nov 10 09:40:06 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 10:50:06 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 11:50:32 none/C.004414: execing '/mail/lib/remotemail' 'mail'
'arisawa' 'net!jp-t.ne.jp' 'z27c856d'
ar Nov 10 11:50:32 removing none/C.004414
...
term% date
Mon Nov 10 13:41:33 JST 2003
term%


Thanks in advance,

Kenji Arisawa

  reply	other threads:[~2003-11-10 12:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10  6:00 arisawa
2003-11-10 12:40 ` David Presotto [this message]
2003-11-10 14:30   ` arisawa
2003-11-10 15:31 David Presotto
2003-11-11  0:22 ` arisawa
2003-11-11  2:44 David Presotto
2003-11-11  8:32 ` arisawa
2003-11-12 17:13 David Presotto
2003-11-12 22:00 ` arisawa

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=70ab6919b9e9da4e33bc68072bba0a1c@plan9.bell-labs.com \
    --to=presotto@closedmind.org \
    --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).