bin/63769: recent changes to usr.bin/mail are causing odd behaviours

Paul Seniura pdseniura at techie.com
Thu Mar 4 08:40:27 PST 2004


>Number:         63769
>Category:       bin
>Synopsis:       recent changes to usr.bin/mail are causing odd behaviours
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 04 08:40:26 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     "Paul Seniura" <pdseniura at techie.com>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
State of Okla. D.O.T.
>Environment:
System: FreeBSD techpc04.okladot.state.ok.us 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Mar 3 00:53:27 CST 2004 root at techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_O2 i386

>Description:

The commits done on 29 February 2004 affecting the base mail program are now causing odd behaviours.

=> mikeh       2004/02/29 12:44:44 PST
=> 
=>   FreeBSD src repository
=> 
=>   Modified files:
=>     usr.bin/mail         extern.h lex.c mail.1 main.c names.c 
=>                          send.c 
=>   Log:
=>   Add the -e (mail presence test), -H (header summary mode), and -F
=>   (message save as first recipient) options for standards
=>   conformance.
=>   
=>   Submitted by:   Wartan Hachaturow <wart at tepkom.ru> (with some changes)
=>   PR:             standards/61934
=>   
=>   Revision  Changes    Path
=>   1.9       +1 -0      src/usr.bin/mail/extern.h
=>   1.15      +14 -5     src/usr.bin/mail/lex.c
=>   1.43      +26 -2     src/usr.bin/mail/mail.1
=>   1.14      +43 -5     src/usr.bin/mail/main.c
=>   1.9       +73 -0     src/usr.bin/mail/names.c
=>   1.14      +26 -2     src/usr.bin/mail/send.c

After entering 'mail', just about any command is now producing a line showing:
Illegal use of "message list"
as a result.

Quitting the program with 'q' will show:
Thou hast new mail.
even if you have none.  'x' does not do this.

>How-To-Repeat:

I'm logged-in as 'root' since this is solely a development system for my work.

I have NO_SENDMAIL=true in /etc/make.conf because I am using Postfix instead.

I do not have NO_MAILWRAPPER set, tho, so those will still be built.

I have the other SENDMAIL_* knobs commented-out, too.

Build & install world with above commits in place.

Here is a sample session:

# mail
Mail version 8.1 6/6/93.  Type ? for help.
"": 0 messages
& h
Illegal use of "message list"
& n
Illegal use of "message list"
& t *
Illegal use of "message list"
& r *
Illegal use of "message list"
& q
Thou hast new mail.
#

So far, it seems not to be actually causing any 'real' problems, but then this development system is not used for mail much at all.

The nightly cron msgs did show up okay and I was able to 'd *' them, altho doing so did produce another bogus line saying the msgs were being copied somewhere (wasn't expecting it, so I missed jotting it down) and the 'q' did seem to remove them properly despite its bogus response as shown above.

>Fix:

Maybe perhaps back-out the above commits until they are working properly.

I am rather reluctant to mess around with 'world' myself.  ;)

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list