LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mailx and Slackware 15.0 (https://www.linuxquestions.org/questions/slackware-14/mailx-and-slackware-15-0-a-4175712537/)

mfoley 05-23-2022 11:36 PM

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?

franzen 05-24-2022 12:01 PM

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. ;-)

mfoley 05-25-2022 11:42 PM

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

mfoley 05-27-2022 06:41 PM

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!


All times are GMT -5. The time now is 11:53 AM.