Your message dated Tue, 25 Aug 2009 20:05:20 -0700
with message-id <[email protected]>
and subject line Re: libpam-modules: $MAIL environment variable is not set
has caused the Debian Bug report #502114,
regarding libpam-modules: $MAIL environment variable is not set
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
502114: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502114
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpam-modules
Version: 1.0.1-4
Severity: important
I set 'dir=~/Maildir' on the pam_mail line in '/etc/pam.d/login', and mail
notification
is sent correctly, but the $MAIL environment variable is not set/exported to
the shell (bash in my case).
The documentation states that the MAIL environment is set but it is not.
The $MAIL environment variable is not set for the user, contrary to the
documentation.
After getting to the commmand prompt, 'set | grep MAIL' always shows
'MAIL=/var/mail/<login>',
which is the default MAIL environment variable set in 'paths.h'.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libpam-modules depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libdb4.6 4.6.21-11 Berkeley v4.6 Database Libraries [
ii libpam0g 1.0.1-4 Pluggable Authentication Modules l
ii libselinux1 2.0.65-5 SELinux shared libraries
libpam-modules recommends no packages.
libpam-modules suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tue, Aug 25, 2009 at 10:43:30PM -0400, Dave Witbrodt wrote:
> Obviously that's not a Maildir in my user directory! Then I
> remembered reading that SSH behaves differently than logging in
> directly on the machine in question. So, sitting at that machine I
> got this:
> dawit...@webserver:~$ echo $MAIL
> /home/dawitbro/Maildir
Ok - is it possible this was the problem all along, that the config change
hadn't been made in the right place?
> Looks good! When did it get fixed? I see no reference to a fix in
> the changelog.
Yes, I don't know of any recent changes in the package that would account
for this, so I think the most logical explanation is that you overlooked
/etc/pam.d/ssh before.
> >If you're still seeing this problem, please let me know what version of
> >libpam-modules you have installed and provide the complete contents of the
> >file from /etc/pam.d for the corresponding service.
> Problem seems to be cured. Any idea whom I should thank?
No idea... :)
Anyway, thanks for the feedback - marking the bug as fixed!
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
signature.asc
Description: Digital signature
--- End Message ---