LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-17-2021, 09:04 AM   #1
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Rep: Reputation: 18
Question mailx error on slackware-current


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/

Last edited by ardya; 02-17-2021 at 09:12 AM.
 
Old 02-17-2021, 09:36 AM   #2
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,026

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
Just checked mine and see the same thing.
 
Old 02-17-2021, 12:28 PM   #3
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Original Poster
Rep: Reputation: 18
Piping to mail also fails...

Code:
echo test|mail -s test ardy@str002.ldev
postdrop: warning: unable to look up public/pickup: No such file or directory
Not related. Disregard this reply.

Last edited by ardya; 02-17-2021 at 12:55 PM. Reason: not related
 
Old 02-17-2021, 02:52 PM   #4
Mechanikx
Member
 
Registered: Jul 2018
Distribution: Slackware
Posts: 351

Rep: Reputation: 258Reputation: 258Reputation: 258
I'm having the same problem. I'm pretty sure this started after 2/15 update because I have a script that backs up my system and then sends an email to me confirming the backup. The email still goes through but it no longer has a subject or message. For example

Quote:
echo "Backup created on $(date)" | mail -s 'backup up success' me@email.com
results in an empty email with no subject. Whereas before the 2/15 update it worked.
 
1 members found this post helpful.
Old 02-18-2021, 12:53 AM   #5
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
same result here.
 
Old 02-18-2021, 01:34 AM   #6
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
Someone already did report this to the s-nail mailinglist, no answer yet.
https://lists.sdaoden.eu/pipermail/s...ry/001397.html
 
2 members found this post helpful.
Old 02-19-2021, 03:09 AM   #7
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,170
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
FYI mailx is fixed with the latest s-nail update
 
Old 02-19-2021, 05:46 AM   #8
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Original Poster
Rep: Reputation: 18
Except now instead of returning to prompt when there's no mail, you have to manually quit. This is changed behaviour.

Code:
ardy@slackware-current:~$ mail
mailx version v14.9.21.  Type `?' for help
/var/spool/mail/ardy: 0 messages
No more mail.
? q
 
Old 02-19-2021, 05:55 AM   #9
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,026

Rep: Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618Reputation: 618
I've always had to type "q" to quit as long as I have been using it. Even when there was no mail.
 
Old 02-19-2021, 02:43 PM   #10
ardya
Member
 
Registered: Mar 2006
Distribution: Slackware since 1997
Posts: 89

Original Poster
Rep: Reputation: 18
Marking as solved since the original reported problem is now resolved from upstream.
 
  


Reply

Tags
mail;



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "Snorkeling on an empty pipe": error in S-mailx (mailx 4.19.11) RandomTroll Linux - Software 0 11-30-2018 10:45 PM
TO ANYONE USING MAILX (mailx 12.1). stf92 Linux - Software 22 07-08-2010 09:44 PM
mailx not found error message kaplan71 Linux - Software 2 12-10-2007 02:20 PM
mailx and slackware mikz Slackware 2 05-11-2005 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration