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 11-28-2018, 08:26 PM   #1
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973

Rep: Reputation: 271Reputation: 271Reputation: 271
S-nail, the latest version of mail(x)


I queried the S-nailx mailing list about curious behavior (I got the message ' Snorkeling on empty pipe') The current lead Steffen (Daode) Nurpmeso replied:
Quote:
Oh really! Please let me assume it is only because of OpenSSL, rather than because of the software as such, right? :-) The .SlackBuild script of Johannes Schöpfer is the most complicated think i have ever seen! I really had to think about it, but luckily and successfully avoided that, then.

We are at Slackware, too! Thank you, this is really nice!! I did not even know that Slackware is still truly alive, but i think: good that it is.
Does it work for you-all?
 
Old 11-28-2018, 09:13 PM   #2
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
I don't use it, but does he really think that SlackBuild script is complicated? It seems pretty straightforward to me. I hope he doesn't take a look at some of Eric Hemeleers' scripts.
 
Old 11-29-2018, 07:00 AM   #3
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,973

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by montagdude View Post
does he really think that SlackBuild script is complicated?
Herr Schöpfer replied that it is an updated version of the previous script. It seems there is some controversy in current development.
 
Old 11-30-2018, 02:27 AM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by RandomTroll View Post
Does it work for you-all?
Hmmm... a welter of 'obsolete syntax' error messages when I send a test message using gmail and previously successful syntax in ~/.mailrc. Referred to the man pages by these errors so a little more research required here...

For the record the 'obsolete syntax' errors are here:

Code:
andrew@ilium~$ echo "Testing, Testing, Testing" | nail -v -s "My test..." andrew.xxxxxxxxxxxxxxxxx@gmail.com
mailx: Loading /etc/nail.rc
mailx: Loading /home/andrew/.mailrc
mailx: Obsoletion warning: variable superseded or obsoleted: smtp
mailx: Obsoletion warning: variable superseded or obsoleted: smtp-auth-user
mailx: Obsoletion warning: variable superseded or obsoleted: smtp-auth-password
mailx: Obsoletion warning: variable superseded or obsoleted: ssl-verify
mailx: P(seudo)R(andomNumber)G(enerator): getrandom(2/3) + builtin ARC4
mailx: Obsoletion warning: Use of old-style credentials, which will vanish in v15!
  Please read the manual section "On URL syntax and credential lookup"
mailx: Obsoletion warning: please don't use *smtp*: assign a smtp:// URL to *mta*!
mailx: Resolving host smtp.gmail.com:587 ... done
mailx: Connecting to 74.125.68.108:587 ...  connected.
andrew@ilium~$
The message goes through but the rc syntax obviously needs adjusting for this newer version...

Last edited by andrew.46; 11-30-2018 at 02:35 AM.
 
Old 11-30-2018, 06:16 AM   #5
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by andrew.46 View Post
Hmmm... a welter of 'obsolete syntax' error messages when I send a test message using gmail and previously successful syntax in ~/.mailrc. Referred to the man pages by these errors so a little more research required here...

For the record the 'obsolete syntax' errors are here:

Code:
andrew@ilium~$ echo "Testing, Testing, Testing" | nail -v -s "My test..." andrew.xxxxxxxxxxxxxxxxx@gmail.com
mailx: Loading /etc/nail.rc
mailx: Loading /home/andrew/.mailrc
mailx: Obsoletion warning: variable superseded or obsoleted: smtp
mailx: Obsoletion warning: variable superseded or obsoleted: smtp-auth-user
mailx: Obsoletion warning: variable superseded or obsoleted: smtp-auth-password
mailx: Obsoletion warning: variable superseded or obsoleted: ssl-verify
mailx: P(seudo)R(andomNumber)G(enerator): getrandom(2/3) + builtin ARC4
mailx: Obsoletion warning: Use of old-style credentials, which will vanish in v15!
  Please read the manual section "On URL syntax and credential lookup"
mailx: Obsoletion warning: please don't use *smtp*: assign a smtp:// URL to *mta*!
mailx: Resolving host smtp.gmail.com:587 ... done
mailx: Connecting to 74.125.68.108:587 ...  connected.
andrew@ilium~$
The message goes through but the rc syntax obviously needs adjusting for this newer version...
Yes, it appears from v15 we will have to use the 'set mta=submissions://[gmail-addr]:[password]@smtp.gmail.com:587' instead for gmail, although I haven't tried it.

smtp-auth and smtp-use-starttls remain valid in v15. I can't see why the new 'submissions' form is thought to be an improvement for the remainder.
 
1 members found this post helpful.
Old 11-30-2018, 05:51 PM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by chrisVV View Post
Yes, it appears from v15 we will have to use the 'set mta=submissions://[gmail-addr]:[password]@smtp.gmail.com:587' instead for gmail, although I haven't tried it.

smtp-auth and smtp-use-starttls remain valid in v15. I can't see why the new 'submissions' form is thought to be an improvement for the remainder.
Well, I have nutted out a successful version with nail / mail v14.9.11 which works well enough. Still many, many options that could be tweaked but for my purposes the following ~/.mailrc works with gmail:

Code:
#--------------------------------------------#
# Setting mailx version v14.9.11 for gmail   #
#--------------------------------------------#

# Use v15.0 compatibility mode
set v15-compat

# See the whole process, especially for troubleshooting:
# set verbose

# Essential setting: select allowed character sets
set sendcharsets=utf-8,iso-8859-1

# Default directory where we act in (relative to $HOME)
set folder=mail

# My actual address obfuscated here:
set from="xxx.xxx.xxx@gmail.com"

# Request strict TLL transport layer security checks
set tls-verify=strict
set tls-ca-file=/etc/ssl/certs/ca-certificates.crt
set tls-ca-no-defaults
set smtp-use-starttls
set smtp-auth=login

# When sending messages, wait until the Mail-Transfer-Agent finishs.
# Only like this you will be able to see errors reported through the
# exit status of the MTA (including the built-in SMTP one)!
set sendwait

# And of course put your own gmail username and
# password here in the obvious places:
set mta=smtps://USER:PASSWORD@smtp.gmail.com:465

#--------------------------------------------#
Setting 'verbose' in this config reveals many of the better options that can be used to fine tune this. So I guess I am now quite happy with the new version in -current

Last edited by andrew.46; 11-30-2018 at 10:30 PM.
 
  


Reply



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
nail not sending mail thedlw Linux - General 1 08-31-2006 05:32 PM
LXer: Mail with Nail LXer Syndicated Linux News 0 02-17-2006 07:46 AM
E-mail client "Nail" doesn't work... And no error message/logfile that I know of! Nathan-H2-Dog Linux - Software 1 01-05-2006 09:36 AM
Editing mail headers with nail Berhanie Linux - General 2 11-30-2004 07:08 PM
All my mail is disappeaing into nail; I want my mail GUI! SnapShot Linux - Newbie 0 02-24-2004 09:15 PM

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

All times are GMT -5. The time now is 08:47 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