Package: slim
Version: 1.3.6-5.1
Severity: normal

slim is ignoring pam_mail.so directives, such that there is no way to
override the MAIL environment variable

I have the following in /etc/pam.d/common-session:

 session optional       pam_mail.so dir=~/Maildir

MAIL is still set to /var/mail/<user> rather than ~user/Maildir for
all subshells of slim.

I tried adding the session directly to /etc/pam.d/slim, but it still
does not work.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'unstable'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages slim depends on:
ii  dbus                   1.12.6-2
ii  debconf [debconf-2.0]  1.5.66
ii  libc6                  2.27-2
ii  libfontconfig1         2.12.6-0.1
ii  libfreetype6           2.8.1-2
ii  libgcc1                1:8-20180319-1
ii  libjpeg62-turbo        1:1.5.2-2+b1
ii  libpam0g               1.1.8-3.7
ii  libpng16-16            1.6.34-1
ii  libstdc++6             8-20180319-1
ii  libx11-6               2:1.6.5-1
ii  libxext6               2:1.3.3-1+b2
ii  libxft2                2.3.2-1+b2
ii  libxmu6                2:1.1.2-2
ii  libxrandr2             2:1.5.1-1
ii  libxrender1            1:0.9.10-1
ii  lsb-base               9.20170808
ii  zlib1g                 1:1.2.8.dfsg-5

Versions of packages slim recommends:
ii  xterm  331-1

Versions of packages slim suggests:
ii  scrot  0.8-18
ii  xauth  1:1.0.10-1

-- debconf information:
* shared/default-x-display-manager: slim
  slim/daemon_name: /usr/bin/slim

Reply via email to