9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Failure notice by smtp
@ 2003-11-12 17:13 David Presotto
  2003-11-12 22:00 ` arisawa
  0 siblings, 1 reply; 9+ messages in thread
From: David Presotto @ 2003-11-12 17:13 UTC (permalink / raw)
  To: 9fans

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

Are you sure that mail to you works on that system?

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

[-- Attachment #2.1.1: Type: text/plain, Size: 6472 bytes --]

Your request ``mail /net.alt/tcp!ar.aichi-u.ac.jp arisawa '' failed (code Giveup).
The symptom was:

Mon Nov 10 10:32:21 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 10:47:58 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 11:06:06 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 11:26:06 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 11:46:07 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 12:46:07 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 13:46:08 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 14:46:09 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 15:46:10 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 16:46:11 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 17:46:12 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 18:46:14 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 19:56:13 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 20:56:14 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 21:56:15 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 22:56:16 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Mon Nov 10 23:56:17 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 01:06:19 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 02:16:19 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 03:26:20 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 04:36:21 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 05:46:22 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 06:56:22 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 07:56:23 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 08:56:24 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 10:00:58 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 11:06:36 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 12:06:37 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 13:06:38 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 14:16:38 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 15:16:44 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 16:26:40 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 17:26:41 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 18:36:42 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 19:46:43 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 20:46:44 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 21:46:45 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 22:46:46 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Tue Nov 11 23:56:47 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 00:56:48 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 01:56:49 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 02:56:50 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 03:56:51 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 04:56:51 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 06:06:11 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 07:06:12 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 08:06:14 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 09:06:15 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system
Wed Nov 12 10:06:15 EST 2003 connect to /net.alt/tcp!ar.aichi-u.ac.jp:
refused
connection closed unexpectedly by remote system

[-- Attachment #2.1.2: Type: message/rfc822, Size: 1310 bytes --]

From: David Presotto <presotto@closedmind.org>
To: ar.aichi-u.ac.jp!arisawa
Subject: Re: [9fans] Failure notice by smtp
Date: Mon, 10 Nov 2003 10:32:18 -0500

I just looked at the dates a little more closely.  For runq to remove the mail
the same day that it was delivered implies that it thought that the mail
was successfully delivered (or that the clock on the file server is 3 days
off).

The fact that the message was removed without an accompanying smtp.fail message
with the same timestamp implies that the smtp succeeded.  However, there should
have been a log entry in smtp should that have been true.  Your original
message shows:

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

I'm not sure what this means, but I'm assuming it means that there was
nothing in the smtp log?  This is all just a bit wierd.  Have you changed
the /mail/lib/remotemail script?  It really looks like the script did not
return an error code as if the smtp had succeeded.

If there is inded nothing in /mail/lib/smtp, it sounds like either the
remotemail script is broken or smtp is.  Either way, I think you need to
start debugging.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
  2003-11-12 17:13 [9fans] Failure notice by smtp David Presotto
@ 2003-11-12 22:00 ` arisawa
  0 siblings, 0 replies; 9+ messages in thread
From: arisawa @ 2003-11-12 22:00 UTC (permalink / raw)
  To: 9fans

Sorry David,

Mails to ar.aichi-u.ac.jp are rejected except from Japan.
Please send to: arisawa@aichi-u.ac.jp

Kenji arisawa



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
  2003-11-11  2:44 David Presotto
@ 2003-11-11  8:32 ` arisawa
  0 siblings, 0 replies; 9+ messages in thread
From: arisawa @ 2003-11-11  8:32 UTC (permalink / raw)
  To: 9fans

Hello, David.

> Actually, first
> 	grep 'returning|dumping' /sys/log/runq
> to see if there's anything there.

ar% grep 'returning|dumping' /sys/log/runq
ar Oct 24 04:29:11 none/C.020830: runq - dumping p to p mail
'/mail/lib/remotemail' 'mail' '/dev/null' 'net!msn.com' 'lmjidvp'
ar Oct 24 04:29:45 none/C.020829: runq - dumping p to p mail
'/mail/lib/remotemail' 'mail' '/dev/null' 'net!msn.com' 'lmjidvp'
ar Oct 30 13:10:28 none/C.117150: runq - dumping p to p mail
'/mail/lib/remotemail' 'mail' '/dev/null' 'net!yahoo.com'
'emerald_bluey'
ar Oct 30 13:28:25 none/C.117469: runq - dumping p to p mail
'/mail/lib/remotemail' 'mail' '/dev/null' 'net!yahoo.ca' 'jpuckettai'
ar Nov 11 15:21:32 none/C.019994: runq - dumping p to p mail
'/mail/lib/remotemail' 'mail' '/dev/null' 'net!yahoo.com' '5cgpqwes'
ar%

Kenji Arisawa



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
@ 2003-11-11  2:44 David Presotto
  2003-11-11  8:32 ` arisawa
  0 siblings, 1 reply; 9+ messages in thread
From: David Presotto @ 2003-11-11  2:44 UTC (permalink / raw)
  To: arisawa, 9fans

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

Actually, first
	grep 'returning|dumping' /sys/log/runq
to see if there's anything there.

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

From: arisawa@ar.aichi-u.ac.jp
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Failure notice by smtp
Date: Tue, 11 Nov 2003 09:22:14 +0900
Message-ID: <199580D2-13DD-11D8-8CD9-000393A941BC@ar.aichi-u.ac.jp>

Hello David,

> or that the clock on the file server is 3 daysoff

No, look bellow
ar% date; >x; ls -l x
Tue Nov 11 08:10:28 JST 2003
--rw-rw-r-- M 16992 arisawa arisawa 0 Nov 11 08:10 x
ar%


> term% tail smtp
> ...
> term%
>
> I'm not sure what this means, but I'm assuming it means that there was
> nothing in the smtp log?
I am only interested in z27c856d@jp-t.ne.jp.
This means many sent messages are shown but for z27c856d@jp-t.ne.jp.

>  Have you changed the /mail/lib/remotemail script?
No, except fd assignment.
Mine is:
------------- /mail/lib/remotemail ---------------
#!/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
	;
case *
	#fd=yourdomain.dom
         fd=ar.aichi-u.ac.jp
}
# echo remotemail: `{date} $fd $addr $sender $* >> /sys/log/test
#    smtp: the -h option uses host as the local system name;
#    it may be fully-qualified or not.
#    If .domain is given, it is appended to the end of the system name.
exec /bin/upas/smtp -h $fd $addr $sender $*
---------------------------------------------


> Either way, I think you need to start debugging.
Ok. I will follow you.
What do you recommend?

Kenji Arisawa

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
  2003-11-10 15:31 David Presotto
@ 2003-11-11  0:22 ` arisawa
  0 siblings, 0 replies; 9+ messages in thread
From: arisawa @ 2003-11-11  0:22 UTC (permalink / raw)
  To: 9fans

Hello David,

> or that the clock on the file server is 3 daysoff

No, look bellow
ar% date; >x; ls -l x
Tue Nov 11 08:10:28 JST 2003
--rw-rw-r-- M 16992 arisawa arisawa 0 Nov 11 08:10 x
ar%


> term% tail smtp
> ...
> term%
>
> I'm not sure what this means, but I'm assuming it means that there was
> nothing in the smtp log?
I am only interested in z27c856d@jp-t.ne.jp.
This means many sent messages are shown but for z27c856d@jp-t.ne.jp.

>  Have you changed the /mail/lib/remotemail script?
No, except fd assignment.
Mine is:
------------- /mail/lib/remotemail ---------------
#!/bin/rc
shift
sender=$1
shift
addr=$1
shift
fd=`{/bin/upas/aliasmail -f $sender}
switch($fd){
case *.*
	;
case *
	#fd=yourdomain.dom
         fd=ar.aichi-u.ac.jp
}
# echo remotemail: `{date} $fd $addr $sender $* >> /sys/log/test
#    smtp: the -h option uses host as the local system name;
#    it may be fully-qualified or not.
#    If .domain is given, it is appended to the end of the system name.
exec /bin/upas/smtp -h $fd $addr $sender $*
---------------------------------------------


> Either way, I think you need to start debugging.
Ok. I will follow you.
What do you recommend?

Kenji Arisawa



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
@ 2003-11-10 15:31 David Presotto
  2003-11-11  0:22 ` arisawa
  0 siblings, 1 reply; 9+ messages in thread
From: David Presotto @ 2003-11-10 15:31 UTC (permalink / raw)
  To: 9fans

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

I just looked at the dates a little more closely.  For runq to remove the mail
the same day that it was delivered implies that it thought that the mail
was successfully delivered (or that the clock on the file server is 3 days
off).

The fact that the message was removed without an accompanying smtp.fail message
with the same timestamp implies that the smtp succeeded.  However, there should
have been a log entry in smtp should that have been true.  Your original
message shows:

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

I'm not sure what this means, but I'm assuming it means that there was
nothing in the smtp log?  This is all just a bit wierd.  Have you changed
the /mail/lib/remotemail script?  It really looks like the script did not
return an error code as if the smtp had succeeded.

If there is inded nothing in /mail/lib/smtp, it sounds like either the
remotemail script is broken or smtp is.  Either way, I think you need to
start debugging.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
  2003-11-10 12:40 ` David Presotto
@ 2003-11-10 14:30   ` arisawa
  0 siblings, 0 replies; 9+ messages in thread
From: arisawa @ 2003-11-10 14:30 UTC (permalink / raw)
  To: 9fans


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

> Can you actually send email to
> ar.aichi-u.ac.jp!arisawa on the system in question?
Yes.

> 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?
No I cannot see anything relevant. The bellow is log messages around
Nov 10 11:50:32.
(some addresses are changed for privacy)

ar# tail -1000 mail|grep 'Nov 10 11:[45].'
ar Nov 10 11:50:32 remote hm4.aitai.ne.jp!beloved From
ar.aichi-u.ac.jp!arisawa Mon Nov 10 11:50:31 JST 2003 793
ar Nov 10 11:50:39 remote local!arisawa From yahoo.com!arowigb Mon Nov
10 11:50:39 JST 2003 (ar.aichi-u.ac.jp!arisawa) 2205
ar Nov 10 11:51:41 remote local!arisawa From gnu.de!gpc-owner+M3391 Mon
Nov 10 11:51:40 JST 2003 (ar.aichi-u.ac.jp!arisawa) 3302
ar Nov 10 11:54:34 remote local!arisawa From cox.net!esw1 Mon Nov 10
11:54:34 JST 2003 (ar.aichi-u.ac.jp!arisawa) 1529
ar Nov 10 11:56:51 remote local!arisawa From cse.psu.edu!9fans-admin
Mon Nov 10 11:56:50 JST 2003 (ar.aichi-u.ac.jp!arisawa) 2554
ar Nov 10 11:59:25 remote local!arisawa From earthlink.com!b012rc Mon
Nov 10 11:59:25 JST 2003 (ar.aichi-u.ac.jp!arisawa) 1636
ar Nov 10 11:59:47 remote local!arisawa From AOL.COM!DOMINIQUEAUERSWALD
Mon Nov 10 11:59:47 JST 2003 (ar.aichi-u.ac.jp!arisawa) 1282


Thanks,

Kenji Arisawa



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [9fans] Failure notice by smtp
  2003-11-10  6:00 arisawa
@ 2003-11-10 12:40 ` David Presotto
  2003-11-10 14:30   ` arisawa
  0 siblings, 1 reply; 9+ messages in thread
From: David Presotto @ 2003-11-10 12:40 UTC (permalink / raw)
  To: 9fans

[-- 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [9fans] Failure notice by smtp
@ 2003-11-10  6:00 arisawa
  2003-11-10 12:40 ` David Presotto
  0 siblings, 1 reply; 9+ messages in thread
From: arisawa @ 2003-11-10  6:00 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-11-12 22:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-12 17:13 [9fans] Failure notice by smtp David Presotto
2003-11-12 22:00 ` arisawa
  -- strict thread matches above, loose matches on Subject: below --
2003-11-11  2:44 David Presotto
2003-11-11  8:32 ` arisawa
2003-11-10 15:31 David Presotto
2003-11-11  0:22 ` arisawa
2003-11-10  6:00 arisawa
2003-11-10 12:40 ` David Presotto
2003-11-10 14:30   ` arisawa

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).