Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

mail "header": undefined variable

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> mail "header": undefined variable Page: [1]
Login
Message << Older Topic   Newer Topic >>
mail "header": undefined variable - May 9, '06, 3:29:23 PM   
Ron

 

Posts: 77
Joined: May 21, '03,
Status: offline
If I send mail using the mail command I get the following error:
quote:

"header": undefined variable


$ mail -s test myusername </dev/null
"header": undefined variable


Has anyone else noticed this is SFU 3.5 or SUA (R2)? So far it looks ok to ignore it.

Ron
Post #: 1
RE: mail "header": undefined variable - May 9, '06, 3:53:51 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
I've not noticed it before.
I would tend to take a look at ~/.mailrc or /etc/mail.rc to see if something is in there.
Perhaps someone fiddled with one or the other resource file.

(in reply to Ron)
Post #: 2
RE: mail "header": undefined variable - May 9, '06, 3:57:03 PM   
Ron

 

Posts: 77
Joined: May 21, '03,
Status: offline
I though that too, but in both cases (SFU 3.5 and SUA) I'm dealing with a 'fresh' install.

(in reply to Rodney)
Post #: 3
RE: mail "header": undefined variable - May 9, '06, 4:13:28 PM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Sorry, I spoke too soon. Mail is fine in Interix 3.0 (which is the last
time I touched it). I'm getting it now on 3.5 & SUA.
Your timing is good because I'm scheduled to update mail in the next short while
for 6.0 anyway. I have a couple of things to clear up before I can take a look at it.

(in reply to Ron)
Post #: 4
RE: mail "header": undefined variable - May 17, '06, 2:41:06 AM   
Rodney

 

Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
The problem is fixed for 6.0 now. This might echo back into 5.2, I'm not positive right now.
The message will only appear when stdin is not a tty. This is for the utility mail, not mailx.
There is no error happening per se (the variable "header" just wasn't set before in this scenario).

(in reply to Rodney)
Post #: 5
RE: mail "header": undefined variable - May 17, '06, 8:15:25 AM   
Ron

 

Posts: 77
Joined: May 21, '03,
Status: offline
That's great. As a workaround in the mean time what I've done is replace the /usr/bin/mail symlink with the following script:
#!/bin/ksh
mailx "$@"


Regards,
Ron

(in reply to Rodney)
Post #: 6
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> mail "header": undefined variable Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047