Bug 1098

Summary: $MAIL being set incorrectly for HPUX server login
Product: Portable OpenSSH Reporter: Brian Smith <brian.smith>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 4.2p1   
Hardware: HPPA   
OS: HP-UX   
Bug Depends on:    
Bug Blocks: 1047    
Attachments:
Description Flags
Define $MAIL for HP-UX which is ends up in #define MAIL_DIRECTORY
none
configure.gz: rebuilt configure from 4.2p1 none

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.