LinuxQuestions.org
Review your favorite Linux distribution.
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 05-23-2022, 11:36 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Rep: Reputation: 177Reputation: 177
mailx and Slackware 15.0


I'm still exploring things with my upgrade from Slackware 14.2 to 15.0. This is minor, but annoying. Slackware 14.2 had mailx version 12.5. Slackware 15.0 has mailx version 14.9.23. Here's my issues:
Code:
1 00:26:06 mfoley@mtech:~
$ mail mfoley@novatec-inc.com
Subject: testing
To: mfoley@novatec-inc.com    (<- this never showed before)
The rain in Spain.
.
1 00:27:14 mfoley@mtech:~
After entering the subject, the "To: mfoley@novatec-inc.com" line pops up. I didn't have that with 12.5 and I'd like to get rid of it. I just entered the recipient on the command line and don't see any reason to see it again right after entering the subject.

Secondly, and more importantly, you can see that I started the mail command at 00:26:06. After hitting the 'dot' to terminate my message, it took over a minutes for the mailer to do something and return to the command line. Why?

I've compared the /etc/nail.rc files on both the 14.2 and 15.0 Slackware systems and they are identical. Likewise, my $HOME/.mailrc file is pretty bare-bones:
Code:
set from=mfoley@mercureytech.com

set ttycharset=utf-8
set print-all-chars
What can I do to especially get rid of the 1-minute+ delay in sending messages from the command line?
 
Old 05-24-2022, 12:01 PM   #2
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 535

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
I suggest to ask on the s-nail mailing list https://lists.sdaoden.eu/mailman/listinfo.cgi/s-mailx , is your request seems very specific.
The s-nail maintainer is very responsive, a friendly and funny guy btw. ;-)
 
1 members found this post helpful.
Old 05-25-2022, 11:42 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
OK, I'll definitely check out that list as this is driving me crazy. Meanwhile, I'll post one more hiccup here in case some LQ mailx user happens to know the answer.

Normally, in 'mail' I could search, e.g. (body serpentine), (body "green serpentine"), (from paypal), etc. Now, I get errors no matter how I do the search:
Code:
? (from "paypal")
mailx: Missing )
mailx: P.S.: message specifications are now shell tokens, making it necessary
mailx: to escape/shell quote parenthesis, e.g., '(from "me")'
mailx: Please read the manual section "Shell-style argument quoting"
The man page still shows this as correct:
Quote:
(from "string")
All messages that contain string in the envelope representation of the ‘From:’ field.
(subject "string")
All messages that contain string in the ‘Subject:’ field.
(to "string")
All messages that contain string in the envelope representation of the ‘To:’ field.
So, what's up?

THX

Last edited by mfoley; 05-26-2022 at 12:03 AM.
 
Old 05-27-2022, 06:41 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
I figured out the answer to this last question. Searching on mailx 12.5 was just:
Code:
? (from "paypal")
Searching on mailx 14.9.23 is:
Code:
? '(from "paypal")'
It now requires single-quote around the searching directive because, as the error message says, "message specifications are now shell tokens, making it necessary to escape/shell quote parenthesis, e.g., '(from "me")'"

Sheesh! To bad they don't have a compatibility mode!
 
  


Reply

Tags
mailx, slackware 15.0



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] mailx error on slackware-current ardya Slackware 9 02-19-2021 02:43 PM
[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 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 04:54 AM.

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