mailx error on slackware-current
by ardya from LinuxQuestions.org on (#5E9T5)
Hi, getting the following running 'mail' on the command line. I don't know if this started after the big update this week. As root I saw there was new mail after the update, ran 'mail', get error from root and user:
Code:ardy@slackware-current:~$ mail
mailx: Creating file (dot) lock for /var/spool/mail/ardy . failed
mailx: Fishy! Is someone trying to "steal" foreign files?
mailx: Please check the mailbox file etc. manually, then retry
mailx: Unable to (dot) lock mailbox, aborting operation: Resource temporarily unavailable
mailx: Creating file (dot) lock for /var/spool/mail/ardy . failed
mailx: Fishy! Is someone trying to "steal" foreign files?
mailx: Please check the mailbox file etc. manually, then retry
mailx: Unable to (dot) lock mailbox: Resource temporarily unavailable
mailx: There are new messages in the error message ring (denoted by ERROR),
mailx: which can be managed with the `errors' command
ERROR# Continue, possibly losing changes [yes]/no?
root@slackware-current:~# ll /var/spool/mail/
total 92
-rw-rw---- 1 ardy mail 0 Mar 22 2020 ardy
-rw-rw---- 1 ircuser mail 0 Dec 10 17:57 ircuser
-rw-rw---- 1 root root 91920 Feb 16 23:29 root
root@slackware-current:~# ls -ld /var/spool/mail
drwxrwxrwt 2 root mail 4096 Feb 16 23:29 /var/spool/mail/


Code:ardy@slackware-current:~$ mail
mailx: Creating file (dot) lock for /var/spool/mail/ardy . failed
mailx: Fishy! Is someone trying to "steal" foreign files?
mailx: Please check the mailbox file etc. manually, then retry
mailx: Unable to (dot) lock mailbox, aborting operation: Resource temporarily unavailable
mailx: Creating file (dot) lock for /var/spool/mail/ardy . failed
mailx: Fishy! Is someone trying to "steal" foreign files?
mailx: Please check the mailbox file etc. manually, then retry
mailx: Unable to (dot) lock mailbox: Resource temporarily unavailable
mailx: There are new messages in the error message ring (denoted by ERROR),
mailx: which can be managed with the `errors' command
ERROR# Continue, possibly losing changes [yes]/no?
root@slackware-current:~# ll /var/spool/mail/
total 92
-rw-rw---- 1 ardy mail 0 Mar 22 2020 ardy
-rw-rw---- 1 ircuser mail 0 Dec 10 17:57 ircuser
-rw-rw---- 1 root root 91920 Feb 16 23:29 root
root@slackware-current:~# ls -ld /var/spool/mail
drwxrwxrwt 2 root mail 4096 Feb 16 23:29 /var/spool/mail/