Bug 1098 - $MAIL being set incorrectly for HPUX server login
Summary: $MAIL being set incorrectly for HPUX server login
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.2p1
Hardware: HPPA HP-UX
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: 1047
  Show dependency treegraph
 
Reported: 2005-10-08 00:01 AEST by Brian Smith
Modified: 2006-10-07 11:42 AEST (History)
0 users

See Also:


Attachments
Define $MAIL for HP-UX which is ends up in #define MAIL_DIRECTORY (655 bytes, patch)
2005-10-08 11:56 AEST, Darren Tucker
no flags Details | Diff
configure.gz: rebuilt configure from 4.2p1 (73.01 KB, application/octet-stream)
2005-10-08 11:59 AEST, Darren Tucker
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Smith 2005-10-08 00:01:01 AEST
$MAIL environment gets set to /var/spool/mail instead of /var/mail when logging
in via SSH.
Comment 1 Darren Tucker 2005-10-08 11:37:02 AEST
Configure will pick it up from the build environment if the location is not found in the headers, so you can do something like:

MAIL=/var/mail/`whoami` ./configure && make

I'll have a look at configure and see if it can be made a bit smarter.
Comment 2 Darren Tucker 2005-10-08 11:56:37 AEST
Created attachment 983 [details]
Define $MAIL for HP-UX which is ends up in #define MAIL_DIRECTORY
Comment 3 Darren Tucker 2005-10-08 11:59:13 AEST
Created attachment 984 [details]
configure.gz: rebuilt configure from 4.2p1

Rebuilt configure for 4.2p1 with patch.  If you don't have autoconf, then download, ungzip and replace configure.
Comment 4 Darren Tucker 2005-10-08 12:08:05 AEST
Fixed in both -HEAD and the 4.2 branch.  Thanks for the report.
Comment 5 Darren Tucker 2006-10-07 11:42:39 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.