On Thu, Aug 25, 2005 at 08:22:17AM -0700, Christian Jones wrote:
> Hi, all.  A minor thing, but somewhat surprising:  after an fresh
> install of -current (Aug 24 snapshot), the initial root.mail is
> uncheckable:
[...]
> # mail
> No mail for root
> # ls -l /var/mail/root
> -rw-------  1 root  wheel  4741 Aug 24 00:41 /var/mail/root
[...]

Well, mail(1) seems to be a little bit picky when checking the date
within the mail header (see /usr/src/usr.bin/mail/head.c, isdate()
and cmatch().

This "fixes" the root.mail:


Index: root.mail
===================================================================
RCS file: /var/cvs/OpenBSD/src/etc/root/root.mail,v
retrieving revision 1.66
diff -u -u -r1.66 root.mail
--- root.mail   9 Aug 2005 00:46:14 -0000       1.66
+++ root.mail   25 Aug 2005 17:05:14 -0000
@@ -1,4 +1,4 @@
-From [EMAIL PROTECTED] Sat Nov 1 11:48:48 MST 2005
+From [EMAIL PROTECTED] Sat Nov  1 11:48:48 MST 2005
 Return-Path: root
 Date: Nov 1 11:48:48 MST 2005
 From: [EMAIL PROTECTED] (Theo de Raadt)


Ciao,
        Kili

Reply via email to