Re: [S-mailx] inappropriate errors NAIL_NO_SYSTEM_RC and NAIL_EXTRA_RC

2020-01-01 Thread johannes

On 2020-01-01 20:18, Steffen Nurpmeso wrote:
russellb...@gmail.com wrote in 
<202001011657.001gvtjh002...@randytool.net>:

 | 'v14.9.16 already packaged?  May i ask which OS this is?'
 | Slackware.

Thanks.  I did not know it was already there, i had a private
conversation with the Slackware maintainer who reported test
errors; it seems readonly files can be written to on Slackware. :)


The "real" slackware-current Maintainer did a package with the test 
commented out.
My user-repository(SBo) package for the stable slackware(14.2) isn't 
updated, because

i wanted to check for the failed tests.

It seems the cause is, that on slackware the packages are typically 
build as root user.

When i build as unpriviledged "make test" returns:
600 tests: 600 ok, 0 failure(s).  3 test(s) skipped

Readonly files can be overwritten by the root user, not only on 
slackware.


Johannes


Re: [S-mailx] Unable to compile stable/stable on Debian testing

2019-03-26 Thread Johannes Schöpfer

Hi Steffen,


Johannes Schöpfer wrote in :
  |> Debian uses 'dash' as its /bin/sh. Buster/testing is at version 0.5.10.2,
  |> Stretch/stable at 0.5.8.
  |>
  |>>|I've also tried on Debian stable to rule out any weirdness in current
  |>>|testing and get the same result.
  |>>|
  |>>|Any ideas?
  |>>
  |>> Not at the moment, no.
  |>
  |> I guess I could edit the various scripts to use /bin/bash explicity, that
  |> should work. Will try later today.
  |
  |for that purpose, it's sufficient to:
  |apt-get install bash
  |ln -sf bash /bin/sh
  |
  |Or do the scripts contain this shebang?:
  |#!/bin/dash

Oh no no no!  Please just do

   $ make SHELL=X VAL_SHELL=Y

where the VAL_SHELL is the shell that will be used by the MUA, and
SHELL the one of the configuration system.


It seems i musunderstood, i thought about Buildscripts which have 
#!/bin/sh -> dash as shebang.



By the way Johannes, i have seen that the MUA already has been
updated in Slackware, but the slackbuilds template file of yours
is still the same.  And i was wondering where all the changes come
from, could you enlighten me?


I know of https://slackbuilds.org/repository/14.2/network/s-nail/,
which i will update soon.
Then there's the official changelog of the upcoming slackware release,
ftp://ftp.osuosl.org/pub/slackware/slackware64-current/ChangeLog.txt,
where the build of s-nail is located here:
ftp://ftp.osuosl.org/pub/slackware/slackware64-current/source/n/s-nail/

Johannes


Re: [S-mailx] Unable to compile stable/stable on Debian testing

2019-03-26 Thread Johannes Schöpfer

Debian uses 'dash' as its /bin/sh. Buster/testing is at version 0.5.10.2,
Stretch/stable at 0.5.8.


  |I've also tried on Debian stable to rule out any weirdness in current
  |testing and get the same result.
  |
  |Any ideas?

Not at the moment, no.


I guess I could edit the various scripts to use /bin/bash explicity, that
should work. Will try later today.


for that purpose, it's sufficient to:
apt-get install bash
ln -sf bash /bin/sh

Or do the scripts contain this shebang?:
#!/bin/dash




Re: [S-mailx] [ANN]ounce of S-nail v14.9.12 ("Blue tit's spiral marriage swoop")

2019-03-08 Thread johannes

Hi Steffen,


please let me announce S-nail v14.9.12, the "Blue tit's spiral
marriage swoop".


I can't compile it with OPT_AUTOCC=0, build log attached.
OPT_AUTOCC=yes works.

I'm on linux, x86_64, gcc 8.2.0., CFLAGS="-O2 -fPIC"


Johanness-nail-14.9.12/
s-nail-14.9.12/src/
s-nail-14.9.12/src/su/
s-nail-14.9.12/src/su/x-mem-tools.h
s-nail-14.9.12/src/su/x-assoc-map.h
s-nail-14.9.12/src/su/utf.c
s-nail-14.9.12/src/su/sort.c
s-nail-14.9.12/src/su/prime.c
s-nail-14.9.12/src/su/mem-tools.c
s-nail-14.9.12/src/su/mem-bag.c
s-nail-14.9.12/src/su/mem-alloc.c
s-nail-14.9.12/src/su/icodec-enc.c
s-nail-14.9.12/src/su/icodec-dec.c
s-nail-14.9.12/src/su/gen-errors.h
s-nail-14.9.12/src/su/gen-cs-ctype.h
s-nail-14.9.12/src/su/cs-tools.c
s-nail-14.9.12/src/su/cs-tbox.c
s-nail-14.9.12/src/su/cs-misc.c
s-nail-14.9.12/src/su/cs-find.c
s-nail-14.9.12/src/su/cs-dict.c
s-nail-14.9.12/src/su/cs-ctype.c
s-nail-14.9.12/src/su/cs-alloc.c
s-nail-14.9.12/src/su/core-errors.c
s-nail-14.9.12/src/su/core-code.c
s-nail-14.9.12/src/su/avopt.c
s-nail-14.9.12/src/ps-dotlock/
s-nail-14.9.12/src/ps-dotlock/main.c
s-nail-14.9.12/src/mx/
s-nail-14.9.12/src/mx/xtls.c
s-nail-14.9.12/src/mx/vexpr.c
s-nail-14.9.12/src/mx/urlcrecry.c
s-nail-14.9.12/src/mx/ui-str.c
s-nail-14.9.12/src/mx/tty.c
s-nail-14.9.12/src/mx/tls.c
s-nail-14.9.12/src/mx/thread.c
s-nail-14.9.12/src/mx/termcap.c
s-nail-14.9.12/src/mx/strings.c
s-nail-14.9.12/src/mx/spam.c
s-nail-14.9.12/src/mx/socket.c
s-nail-14.9.12/src/mx/smtp.c
s-nail-14.9.12/src/mx/smtp-gssapi.h
s-nail-14.9.12/src/mx/signal.c
s-nail-14.9.12/src/mx/shortcut.c
s-nail-14.9.12/src/mx/shexp.c
s-nail-14.9.12/src/mx/sendout.c
s-nail-14.9.12/src/mx/send.c
s-nail-14.9.12/src/mx/rfc1321.h
s-nail-14.9.12/src/mx/quit.c
s-nail-14.9.12/src/mx/popen.c
s-nail-14.9.12/src/mx/pop3.c
s-nail-14.9.12/src/mx/path.c
s-nail-14.9.12/src/mx/obs-lzw.c
s-nail-14.9.12/src/mx/obs-imap.c
s-nail-14.9.12/src/mx/obs-imap-gssapi.h
s-nail-14.9.12/src/mx/obs-imap-cache.c
s-nail-14.9.12/src/mx/names.c
s-nail-14.9.12/src/mx/mlist.c
s-nail-14.9.12/src/mx/mime.c
s-nail-14.9.12/src/mx/mime-types.c
s-nail-14.9.12/src/mx/mime-parse.c
s-nail-14.9.12/src/mx/mime-param.c
s-nail-14.9.12/src/mx/mime-enc.c
s-nail-14.9.12/src/mx/message.c
s-nail-14.9.12/src/mx/main.c
s-nail-14.9.12/src/mx/maildir.c
s-nail-14.9.12/src/mx/imap-search.c
s-nail-14.9.12/src/mx/ignore.c
s-nail-14.9.12/src/mx/iconv.c
s-nail-14.9.12/src/mx/header.c
s-nail-14.9.12/src/mx/go.c
s-nail-14.9.12/src/mx/gen-tcaps.h
s-nail-14.9.12/src/mx/gen-okeys.h
s-nail-14.9.12/src/mx/folder.c
s-nail-14.9.12/src/mx/fio.c
s-nail-14.9.12/src/mx/filter-quote.c
s-nail-14.9.12/src/mx/filter-html.c
s-nail-14.9.12/src/mx/filetype.c
s-nail-14.9.12/src/mx/edit.c
s-nail-14.9.12/src/mx/dotlock.h
s-nail-14.9.12/src/mx/dotlock.c
s-nail-14.9.12/src/mx/dig-msg.c
s-nail-14.9.12/src/mx/csop.c
s-nail-14.9.12/src/mx/commandalias.c
s-nail-14.9.12/src/mx/colour.c
s-nail-14.9.12/src/mx/collect.c
s-nail-14.9.12/src/mx/cmd-write.c
s-nail-14.9.12/src/mx/cmd-tab.h
s-nail-14.9.12/src/mx/cmd-tab.c
s-nail-14.9.12/src/mx/cmd-resend.c
s-nail-14.9.12/src/mx/cmd-msg.c
s-nail-14.9.12/src/mx/cmd-misc.c
s-nail-14.9.12/src/mx/cmd-head.c
s-nail-14.9.12/src/mx/cmd-folder.c
s-nail-14.9.12/src/mx/cmd-cnd.c
s-nail-14.9.12/src/mx/charsetalias.c
s-nail-14.9.12/src/mx/auxlily.c
s-nail-14.9.12/src/mx/attachment.c
s-nail-14.9.12/src/mx/accmacvar.c
s-nail-14.9.12/snailmail.jpg
s-nail-14.9.12/nail.rc
s-nail-14.9.12/nail.1
s-nail-14.9.12/mx-test.sh
s-nail-14.9.12/mx-config.h
s-nail-14.9.12/mk/
s-nail-14.9.12/mk/su-make-errors.sh
s-nail-14.9.12/mk/su-find-command.sh
s-nail-14.9.12/mk/make-tcap-map.pl
s-nail-14.9.12/mk/make-rules.sh
s-nail-14.9.12/mk/make-okey-map.pl
s-nail-14.9.12/mk/make-mime-types.sh
s-nail-14.9.12/mk/make-config.sh
s-nail-14.9.12/mk/make-config.in
s-nail-14.9.12/mime.types
s-nail-14.9.12/makefile
s-nail-14.9.12/make.rc
s-nail-14.9.12/make-emerge.sh
s-nail-14.9.12/include/
s-nail-14.9.12/include/su/
s-nail-14.9.12/include/su/utf.h
s-nail-14.9.12/include/su/sort.h
s-nail-14.9.12/include/su/prime.h
s-nail-14.9.12/include/su/mem.h
s-nail-14.9.12/include/su/mem-bag.h
s-nail-14.9.12/include/su/icodec.h
s-nail-14.9.12/include/su/cs.h
s-nail-14.9.12/include/su/cs-dict.h
s-nail-14.9.12/include/su/config.h
s-nail-14.9.12/include/su/code.h
s-nail-14.9.12/include/su/code-ou.h
s-nail-14.9.12/include/su/code-in.h
s-nail-14.9.12/include/su/bits.h
s-nail-14.9.12/include/su/avopt.h
s-nail-14.9.12/include/mx/
s-nail-14.9.12/include/mx/vexpr.h
s-nail-14.9.12/include/mx/ui-str.h
s-nail-14.9.12/include/mx/shortcut.h
s-nail-14.9.12/include/mx/names.h
s-nail-14.9.12/include/mx/nailfuns.h
s-nail-14.9.12/include/mx/nail.h
s-nail-14.9.12/include/mx/mlist.h
s-nail-14.9.12/include/mx/iconv.h
s-nail-14.9.12/include/mx/gen-version.h
s-nail-14.9.12/include/mx/filter-quote.h
s-nail-14.9.12/include/mx/filter-html.h
s-nail-14.9.12/include/mx/filetype.h
s-nail-14.9.12/include/mx/def.h
s-nail-14.9.12/include/mx/csop.h
s-nail-14.9.12/include/mx/commandalias.h

Re: [S-mailx] error: Snorkeling on an empty pipe

2018-11-29 Thread johannes
russellb...@gmail.com wrote in 
<201811280544.was5iwre003...@randytool.net>:

 | I fetched 2 messages from my POP server.
 |
 | S  1 John Smith 2018-11-27   90/4750  parasitic 
\

 | carnivora
 |>R  2 Letters, NYT   2018-11-27  226/15863 Automated 
\
 |>Reply Re: ' He Says He Got Away With 90 Murders. Now He's Confessing 
\

 |>to Them All.'
 |
 | I saved the first to JohnSmith (name changed to protect the
 |innocent):
 |
 | ? s1 JohnSmith [Appended] 4760 bytes
 |
 |which worked properly.  When I tried to save the second to nytimes
 |(real name!)  I got:
 |
 | ? s2 nytimes mailx: nytimes: Snorkeling on empty pipe
 | ERROR# ? errors
 |1. nytimes: Snorkeling on empty pipe
 |
 |and it didn't save.  I could save it to a different file name.  I
 |could open that file with mail and save it to nytimes.  I could open
 |nytimes.  The error seems to require both messages.  The word
 |Snorkeling does not appear in either.  Snorkeling is in nytimes, but

What you see is the S-nail specific errno(3) EPIPE error string;


Maybe a missing user folder in /var/spool/mail ?
I don't know how heirloom-mailx handeld this. I use s-nail for sending 
cron/command-line mails,

i never used it as MUA.


 |not that phrase.  I switched from mailx 12.5 recently, when Slackware
 |upgraded to it.
 | mailx v14.9.11, 2018-08-08 (build for linux)
 | Slackware, latest; kernel 4.19.4


Where does the string "mailx v14.9.11, 2018-08-08 (build for linux)" 
come from?

Is this a prebuilt binary?
Or from slackbuilds.org, or from slackware-current?


Oh really!  Please let me assume it is only because of OpenSSL,
rather than because of the software as such, right?  :-)


I submitted the slackbuild, but aren't responsible for what or why 
something lands in slackware,

but i proposed to replace heirloom-mailx.
OpenSSL didn't make headache i think, until now heirloom could be 
patched.
For me it seemed, that heirloom-mailx development is now at s-nail, so 
why not go with it.



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.


Well, it's basically the original slackware heirloom-mailx buildscript, 
adapted to s-nail.



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.


:-)

Johannes


[S-nail] [PATCH] sendout.c: Pass -f to sendmail for from-address

2014-05-21 Thread Johannes Löthberg
The -r is an obsolete option only supported by sendmail, and
doesn't work with other MTAs, while the -f option works in every
other MTA too.
---
 sendout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sendout.c b/sendout.c
index 863ed46..a58627a 100644
--- a/sendout.c
+++ b/sendout.c
@@ -354,7 +354,7 @@ _prepare_mta_args(struct name *to, struct header *hp)
   else
  froma = myorigin(hp);
   if (froma != NULL) {
- args[i++] = "-r";
+ args[i++] = "-f";
  args[i++] = froma;
   }
}
-- 
1.9.3


--
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
___
S-nail-users mailing list
S-nail-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s-nail-users