You are not logged in.
Since I have a quite a lot of mails in there (and for a good reason), I'm seeing this message in terminal quite often and it became distracting.
Is there any way to turn it off without turning off e-mail functionality altogether? Any tips or workarounds appreaciated.
Last edited by sebastian-65 (2024-01-14 18:35:29)
I'm not the sharpest tool in the shed. Say it to me like I'm 5, please!
Arch | ZFS | systemd | XFCE | ASUS S435 | CPU: Intel 11th gen | GPU: Intel Iris Xe Graphics
Offline
Offline
@seth Thank you for a tip but neither of these settings worked for me:
session optional pam_mail.so noopen
session optional pam_mail.so noenv
Any other clues?
I'm not the sharpest tool in the shed. Say it to me like I'm 5, please!
Arch | ZFS | systemd | XFCE | ASUS S435 | CPU: Intel 11th gen | GPU: Intel Iris Xe Graphics
Offline
"nopen", not "noopen"
Offline
Thank you for correction, however the message is still poping up even with nopen option.
I'm not the sharpest tool in the shed. Say it to me like I'm 5, please!
Arch | ZFS | systemd | XFCE | ASUS S435 | CPU: Intel 11th gen | GPU: Intel Iris Xe Graphics
Offline
Does it acutally go away if you completely comment the module?
Do you have more pam_mail references in /etc/pam.d?
Offline
I did found out another record in the /etc/pam.d/system-login pam_mail record and modified it. And it seems to work so far!
Thank you for your help, seth. Much appreciated!
I'm not the sharpest tool in the shed. Say it to me like I'm 5, please!
Arch | ZFS | systemd | XFCE | ASUS S435 | CPU: Intel 11th gen | GPU: Intel Iris Xe Graphics
Offline
I remember I've tested this proposed solution badly and it didn't work afterall.
However, simple unset MAILCHECK into .bashrc seems to work.
I'm not the sharpest tool in the shed. Say it to me like I'm 5, please!
Arch | ZFS | systemd | XFCE | ASUS S435 | CPU: Intel 11th gen | GPU: Intel Iris Xe Graphics
Offline