Hello Roger. Roger Price wrote in <[email protected]>: |In a Debian 11 installation, I send email from a script, but I get \ |warnings from |s-nail v14.9.22 that I must upgrade to use a URL in readiness for S-mailx \ |v15.
No, hm, to clarify that you need not, but you can use a thing that looks like an URL, if you want to. You could see manual, "On URL syntax and credential lookup" ([1]). Ah. Debian stable still uses v14.9.22, please let me CC Paride, our wonderful Debian Maintainer from beautiful Italy! Dear Paride, would it be possible to backport .24? For example the mta-bcc-ok bug fixed in [c3ef40c2b63ad7785571802c4100581ebf228a1f] can prevent possible user disasters, and there are really some more fixes around. And Microsoft IMAP support some may like too? But only if the burden is not too much, Paride. Thank you. ([1] https://www.sdaoden.eu/code-nail.html#13) |The URL will specify the mail server, account and password. | |My e-mail provider is Gandi and my e-mail user name in the Gandi tradition \ |is |[email protected] . I tried to plug this into a URL and I get | | mta=smtps://[email protected]:[email protected]:587 Ok. However i struggle a bit, port 587 is usually submission://, and you need "set smtp-use-starttls" (manual *mta*[2]; as well as [3] for "Encrypted network communication") to enter encryption. submissions:// that directly starts encrypted lives on :465. Looking at [4] this should work for you: set mta=submissions://[email protected]:465 For "..." see below. Or you should be able to simply say set [email protected] set password=... which would then be shared with IMAPS and POP3S. [2] https://www.sdaoden.eu/code-nail.html#476 [3] https://www.sdaoden.eu/code-nail.html#14 [4] https://docs.gandi.net/en/gandimail/standard_email_settings/#smtp-account |This is rejected with the hint | | s-nail: Not URL percent encoded (use urlcodec enc) | |so I tried | | mta=smtps://mailbox%64rogerprice%46org:[email protected]:587 | |but got the same error message. How should write this URL? |Debian doesn't know about any urlcodec program. printf 'urlcodec encode %s\n' "[email protected]" "sekret" | mailx -#:/ mailbox%40rogerprice.org sekret And then copy over. (It could be scripted also, but i have a hard time believing you are interested in this.) Please complain if this does not work. |Roger --End of <[email protected]> Ciao. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)
