Message : you have new mail

lokomass

New Member
Dec 21, 2022
22
0
1
Hi,
How can I disable this message at ssh login ?
I have a file in /var/mail/root, but I have disable all in notification menu via ihm.
I dont want any file in mail folder anymore or disable this message
Thanks for help
 
Note, this is not a Proxmox VE issue. Anyway you can basically edit the ~/.bashrc or ~/.zshrc file and add `unset MAILCHECK` at the bottom
 
I have tried this, but message is still present :(
I finally havé to remove line with pam_mail string in /etc/pam.d/sshd
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!