From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <70ab6919b9e9da4e33bc68072bba0a1c@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] Failure notice by smtp In-Reply-To: <39AC6052-1343-11D8-977B-000393A941BC@ar.aichi-u.ac.jp> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-qebinxtonoagrniryqistmwuly" Date: Mon, 10 Nov 2003 07:40:26 -0500 Topicbox-Message-UUID: 846f2bc0-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-qebinxtonoagrniryqistmwuly Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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? --upas-qebinxtonoagrniryqistmwuly Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Mon Nov 10 01:02:55 EST 2003 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Mon Nov 10 01:02:52 EST 2003 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 3452C19BB5; Mon, 10 Nov 2003 01:02:44 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id B3D9119B6F; Mon, 10 Nov 2003 01:02:25 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id B5D4919A20; Mon, 10 Nov 2003 01:01:03 -0500 (EST) Received: from ar.aichi-u.ac.jp (ar.aichi-u.ac.jp [202.250.160.40]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id E8D5E199FD for <9fans@cse.psu.edu>; Mon, 10 Nov 2003 01:00:50 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v606) Content-Transfer-Encoding: 7bit Message-Id: <39AC6052-1343-11D8-977B-000393A941BC@ar.aichi-u.ac.jp> Content-Type: text/plain; charset=US-ASCII; format=flowed To: 9fans@cse.psu.edu From: arisawa@ar.aichi-u.ac.jp X-Mailer: Apple Mail (2.606) Subject: [9fans] Failure notice by smtp Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 10 Nov 2003 15:00:45 +0900 X-Spam-Status: No, hits=0.8 required=5.0 tests=NO_REAL_NAME,USER_AGENT_APPLEMAIL version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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 --upas-qebinxtonoagrniryqistmwuly--