[15874] in Athena Bugs
Re: Mail Delivery Subsystem: Returned mail: User unknown
daemon@ATHENA.MIT.EDU (Brett David Rosen)
Tue Mar 31 10:33:40 1998
To: carla@MIT.EDU
Cc: bug-olc@MIT.EDU, bert@MIT.EDU
Reply-To: bdrosen@MIT.EDU
Date: Tue, 31 Mar 1998 10:33:38 EST
From: Brett David Rosen <bdrosen@MIT.EDU>
It looks like the problem is in /var/ops/bin/olc-report.pl
on matisse, around line 296:
print "\nFrom: $startdate\n";
print "To : $enddate\n\n";
Sendmail is somehow interpreting that as the From and To addresses
rather than the from and to dates for the report.
I believe that adding a line to print out a -----
seperator before the second From and To should fix the problem.
(the wierd bounces are from Mar@mit.edu and 27@mit.edu )
/var/ops/bin/gen_olc_stats.pl probably has the same problem.
I believe that this patch should fix the problem .
matisse# diff -c /var/ops/bin/olc-report.pl /tmp/olc-report.pl
*** /var/ops/bin/olc-report.pl Fri Mar 27 17:15:49 1998
--- /tmp/olc-report.pl Tue Mar 31 10:28:07 1998
***************
*** 293,298 ****
--- 293,299 ----
# Calculate medians
# Output section
+ print "\n----------\n";
print "\nFrom: $startdate\n";
print "To : $enddate\n\n";
Brett