Re: [S-mailx] ERROR prompt

2021-06-03 Thread Ralph Corderoy
Hi Stephen, > Well, the "problem", such as it is, is that I am getting the error > marker, but there is no entry in the error log. That should be a > "can't happen" - the error marker is only supposed to appear when > something is added to the log. But it appears to be happening. Could a

Re: [S-mailx] viewing a single email file

2019-12-07 Thread Ralph Corderoy
Hi Viktor, A email in a file in a Maildir directory has the same format as a file in an MH mail folder so you may want to look for mail user-agents that can handle MH folders, e.g. ‘mhshow -file foo’. IIRC, GNU mailutils can also cope. -- Cheers, Ralph.

[S-mailx] 14.9.14: Entered Headers Echod Back.

2019-08-01 Thread Ralph Corderoy
Hi, I've just upgraded package s-nail on Arch Linux from 14.9.13-2 to 14.9.14-1. ‘mail $LOGNAME’ still prompts for the Subject field, good, but then echoes it back along with the To field. Why? 1 $ mail $LOGNAME 2 Subject: foo 3 To: ralph

Re: [S-mailx] Gmail not able to decode the encoded "Subject:" field value

2019-06-04 Thread Ralph Corderoy
Hi Martin, > ['origin=3DDebian,codename=3Dstretch,label=3DDebian-Se=curity'] ... > charset.body_encoding = email.charset.QP ... > What might cause this? The quoted-printable encoding can be undone with `recode /qp'. -- Cheers, Ralph.

Re: [S-mailx] Fwd: false positive

2019-03-30 Thread Ralph Corderoy
Hi Steffen, > Be liberal in what you expect but strict in what you produce Postel's Law is fitting for the 1970s. Now it just causes problems. That experience shows that there are negative long-term consequences to interoperability if an implementation applies Postel's advice.

Re: [S-mailx] Fwd: false positive

2019-03-29 Thread Ralph Corderoy
Hi Steffen, > I guess to satisfy this service i have to reinstantiate the MX record > that has been there before Russell Bell started sending to the > resolved CNAME instead of the CNAME itself. But you don't have to satisfy this broken service that knowingly and wilfully violates RFCs and yet,

Re: [S-mailx] Fwd: false positive

2019-03-27 Thread Ralph Corderoy (NeverBounce)
##- Please type your reply above this line -## You are registered as a CC on this support request (15233). Reply to this email to add a comment to the request. *Ralph Corderoy* Mar 27, 6:32 PM EDT Hi Rachel, Thanks for your responses, and trying to keep the mailing list in the loop. I

Re: [S-mailx] Fwd: false positive

2019-03-27 Thread Ralph Corderoy
Hi Rachel, There's discussion on the s-mailx@lists.sdaoden.eu mailing list about a support reply from neverbounce.com. (Please keep s-mailx@lists.sdaoden.eu CC'd.) > > > From: "Rachel (NeverBounce)" > > > To: Viktor Szépe > > > Subject: Re: false positive > > > Date: Tue, 26 Mar 2019 19:40:15

Re: [S-mailx] Not a joke: how to avoid 42

2019-02-27 Thread Ralph Corderoy
Hi Steffen, > \if [ $s == 42 ] >\echo 'Second 42, sleeping a second' >\sleep 1 >\xcall on-compose-leave > \end > \if [ $m == 42 ] >\vput vexpr res - 10#$s 60 >\vput vexpr res - 0 $res >\echo 'Minute

Re: [S-mailx] messages to s-mailx list; date format

2018-12-12 Thread Ralph Corderoy
Hi SZÉPE, > > If not MX for foo.com exists then foo.com's port 25 is contacted > > directly, so an MX for foo.com defined as foo.com seems unnecessary. > > Excuse me, I object! > If you do internet mailing in the 21st century you *should* add an MX > record (and use SPF, DKIM and DMARC) I assume

Re: [S-mailx] messages to s-mailx list; date format

2018-12-11 Thread Ralph Corderoy
Hi Steffen, > Then problem on my side, i should add an MX entry for > lists.sdaoden.eu which points to lists.sdaoden.eu not sdaoden.eu. > My knowledge of DNS is a bit rusty. Mine too. $ dig +nocomment lists.sdaoden.eu. mx ... lists.sdaoden.eu. 14312 IN CNAME

Re: [S-mailx] Proper formatting of date for From lines

2018-12-11 Thread Ralph Corderoy
Hi russell, > I just read asctime's man page and looked at time.h. When > they describe day-of-month they use them unpadded and mention nothing > about padding. What is the standard to which you refer? When I run > 'date', it returns unpadded day-of-month. There's POSIX,

Re: [S-mailx] EOF in Type-Ahead Becomes NUL.

2018-09-04 Thread Ralph Corderoy
Hi Steffen, > > On running this command, I type the four characters ‘bar\n’, and > > then Ctrl-D, my TTY's EOF character, before the three seconds have > > elapsed. It appears thus, with ‘␣’ being the cursor. > > > > $ sleep 3; mail -s foo $LOGNAME > > bar > > ␣ > > > > As mail

[S-mailx] EOF in Type-Ahead Becomes NUL.

2018-09-02 Thread Ralph Corderoy
Hi, s-nail 14.9.11-1 on Arch Linux. On running this command, I type the four characters ‘bar\n’, and then Ctrl-D, my TTY's EOF character, before the three seconds have elapsed. It appears thus, with ‘␣’ being the cursor. $ sleep 3; mail -s foo $LOGNAME bar ␣ As mail runs, it

Re: [S-mailx] minor error in s-nail configuration step

2017-09-05 Thread Ralph Corderoy
Hi Steffen, > > > if [ -x "${path}/${pname}" ]; then > > >echo "${path}/${pname}" > > > > This could really do with the `test -f' I pointed out as otherwise > > it will be unhappy with my compiler collection under > > /usr/local/bin/cc. > > This i do not understand? $

Re: [S-mailx] minor error in s-nail configuration step

2017-09-05 Thread Ralph Corderoy
Hi Steffen, > if [ -x "${path}/${pname}" ]; then >echo "${path}/${pname}" This could really do with the `test -f' I pointed out as otherwise it will be unhappy with my compiler collection under /usr/local/bin/cc. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy

Re: [S-mailx] minor error in s-nail configuration step

2017-09-04 Thread Ralph Corderoy
Hi Steffen, > We use command -v, which should not return something for which no > executable bit is set? $ >/tmp/foo $ PATH=/tmp:$PATH bash -c 'command -v foo' /tmp/foo $ >/tmp/ls $ PATH=/tmp:$PATH bash -c 'command -v ls' /usr/bin/ls $ -- Cheers, Ralph.

Re: [S-mailx] behave:lreply_futh_rth_etc test error

2017-08-29 Thread Ralph Corderoy
Hi, Steffen wrote: > Then again: > > $ pacman -S shellcheck > resolving dependencies... > looking for conflicting packages... > > Packages (13) ghc-8.0.2-3 haskell-json-0.9.1-8 haskell-mtl-2.2.1-7 > haskell-parsec-3.1.11-4 haskell-primitive-0.6.2.0-2 >

Re: [S-mailx] behave:lreply_futh_rth_etc test error

2017-08-29 Thread Ralph Corderoy
Hi Viktor, > > ['p', 'r', 'i', 'n', 't', 'f', ' ', "'", 'H', 'e', 'l', 'l', 'o', > > '\\', '"', '\\', 'n', "'"] ... > > It's the «\\» before the «\"» causing the problem; it's > > unspecified. One ends up with printf seeing «\"» and my printf(1p) > > says > > > > The

Re: [S-mailx] behave:lreply_futh_rth_etc test error

2017-08-29 Thread Ralph Corderoy
Hi Steffen, > ?0[steffen@wales nail.git]$ dash -c "printf 'Hello\\\"\n'" > Hello\" > ?0[steffen@wales nail.git]$ bash -c "printf 'Hello\\\"\n'" > Hello" > > I should have double quoted LF as \\n $ python -c ' > import sys > print([c for c in sys.argv[1]]) > ' "printf

Re: [S-mailx] behave:lreply_futh_rth_etc test error

2017-08-28 Thread Ralph Corderoy
Hi Steffen, > It either is a bug in dash's builtin (?) printf(1) or i have used too > many quotes but which everybody except dash's printf gets right. What's the line causing problems? Heirloom sh is also handy for testing portability. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy

Re: [S-mailx] Duplicate request for password, never succeeds

2017-07-24 Thread Ralph Corderoy
Hi Steffen, > - memcpy(>url_path.s, "/INBOX", sizeof("/INBOX")); > + memcpy(>url_path.s[i], "/INBOX", sizeof("/INBOX")); That looks like it could just be strcpy(3) to save the reader checking both string literals are the same. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy

Re: [S-mailx] s-nail 14.9.0 prints warnings and segfaults when $HOME is not writable

2017-07-23 Thread Ralph Corderoy
Hi Stefan, > > The previous versions (14.8.16 and earlier) did neither print these > > warnings nor segfaulted. > > I consider these new verifications an improvement, you need to > redirect standard error to /dev/null to get rid of those But this discards all errors. `foo 2> >(grep -v '^foo:

Re: [S-nail] Pasting Text into mail(1) Gives "[ERR_TOO_LONG]" Completion.

2017-02-22 Thread Ralph Corderoy
Hi Steffen, > > So it seems there's tab completion of filenames in the midst of > > writing an email. That seems of rare use, but a source of frequent > > annoyance. How is it disabled? > > Not at all. In v14.9, however, you will be able to re-`bind' the > tabulator expansion for compose mode.

Re: [S-nail] shortcut personal +INBOX.Personal broken

2016-10-05 Thread Ralph Corderoy
Hi Steffen, > + soll = (i > 0 && cbuf[i - 1] == '/'); > + if(which_protocol(cbuf) == PROTO_IMAP){ > + bool_t hpath; > + > + hpath = (strcmp(cbuf, protbase(cbuf)) != 0); > + res = str_concat_csvl(, cbuf, (hpath || soll ? "" : "/"), > + [1], NULL)->s;

Re: [S-nail] Wait for Forked sendmail to Finish.

2016-10-03 Thread Ralph Corderoy
Hi Steffen, > > I had a look and don't think so for my case. I'm using script(1) to > > capture my interaction with mail(1) in case of problems, but > > otherwise I do want the normal interactive experience. ... > [-] Add *typescript-mode*, set it for -# I can see it's handy, but I still

[S-nail] Wait for Forked sendmail to Finish.

2016-10-01 Thread Ralph Corderoy
Hi, s-nail 14.8.10-1. I'm running mail(1) with script(1) and there's a race between mail forking so the child can run sendmail, the parent mail doesn't wait for the child, and script seeing the parent mail has finished and stopping. A SIGHUP can stop sendmail being run. syslog shows no entries

Re: [S-nail] S-nail v14.9.0-pre1 preview on [master] (backward incompatible!)

2016-09-17 Thread Ralph Corderoy
Hi Steffen, > It turned out we have a general problem on at least Sun Solaris, where > +00C1 a.k.a. \u00C1 will be happily iconv(3)d to "?", i.e., i can > happily iconv_open(3) from UTF-8 (128,172 characters) to ISO 646 > a.k.a. US-ASCII (128 characters). What's iconv(3)'s return value for that

Re: [S-nail] Possible bug in s-nail on timestamp of Dec 31

2016-09-15 Thread Ralph Corderoy
Hi Donald, > How do you post correctly. Explain top posting so I can avoid doing > it. https://en.wikipedia.org/wiki/Posting_style should explain. In brief, it's common to keep just the pertinent bits of the email you're replying to, "quote" those, I use "> " as do many others, and then

Re: [S-nail] Possible bug in s-nail on timestamp of Dec 31

2016-09-15 Thread Ralph Corderoy
Hi Donald, BTW, I suspect the "Dec 31" are in 1969 and the time was zero seconds past the Unix epoch, viewed offset by a negative timezone. -- Cheers, Ralph. https://plus.google.com/+RalphCorderoy --

Re: [S-nail] Possible bug in s-nail on timestamp of Dec 31

2016-09-15 Thread Ralph Corderoy
n v14.8.10. Type ? for help. "/var/spool/mail/ralph": 3 messages 3 unread >U 1 Ralph Corderoy Thu Sep 15 15:03 14/471 U 2 Ralph Corderoy Thu Sep 15 15:03 14/471 U 3 Ralph Corderoy Thu Sep 15 15:03 14/471 ? set datefield='%Y-%m-%d %T %z %a' ? set h

Re: [S-nail] Possible bug in s-nail on timestamp of Dec 31

2016-09-13 Thread Ralph Corderoy
Hi Donald, > See my other email for a printout. Us other list members don't have access to what you sent back to the list before. If you still have the original, please forward the text to the list. Cheers, Ralph. --

Re: [S-nail] Format of ~/dead.letter isn't mbox.

2016-08-29 Thread Ralph Corderoy
Hi Steffen, > Interesting: You are right in that the standard explicitly requires > the From_ line to be written. I found http://pubs.opengroup.org/onlinepubs/7908799/xcu/mail.html that says dead.letter is trampled every time, but nothing about the format. And

[S-nail] Format of ~/dead.letter isn't mbox.

2016-08-27 Thread Ralph Corderoy
Evening all, The ~/dead.letter created by s-nail's mail(1) isn't mbox format. It's just a catenation of email bodies over time. This means subject, etc., are lost when a user INTRs twice, and it's tedious to pull the file apart and back into emails. Old memories had me believe ~/dead.letter

Re: [S-nail] S-nail first impression

2016-05-23 Thread Ralph Corderoy
Hi steffen, > It's all true what you say, but fetchmail set that standard No it didn't. libc's rexec(3) parsed .netrc far before fetchmail was created. GNU inetutils for ftp(1) ditto. > Yes. But no: also because it is explicitly documented as > > · As a non-portable extension some

Re: [S-nail] S-nail first impression

2016-05-23 Thread Ralph Corderoy
Hi, I wrote: > Eric Schmidt cooked up ~/.netrc as part of the Berkeley Network, and > it has no comment character. http://web.mit.edu/usrdoc/misc/berknet/netintro.n is the original definition. I find GNU's inetutils-1.9.4's ftp/ruserpass.c seems to stick to that: no explicit comment character,

Re: [S-nail] sign conditionally

2016-05-02 Thread Ralph Corderoy
Hi Rudolf, > is it possible, when using S/MIME, to sign the mail only sometimes? > (Mostly, it is redundant, only sometimes it's really wanted.) Are you aware of `asksign' in mail(1)? Also, smime-sign-cert-USER@HOST means it can be turned on for particualar `From:', or `Sender:', addresses.

[S-nail] realloc Abort when Entering Subject.

2016-04-28 Thread Ralph Corderoy
Hi, s-nail 14.8.8-1. 5ecb39d3c90888d58f1028990a1dc3843ad163fe /usr/bin/mail I was entering the Subject when prompted, and corrected a typo using backspace and replacing the deleted characters, as I continued typing, the error appeared. I've replaced the a-z characters I typed with abc... for

Re: [S-nail] Temporary restrictions with new builtin line editor on [next]

2016-04-06 Thread Ralph Corderoy
Hi, Martin wrote: > What I (and a colleague of mine) never understood: what's the point > of the s-nail line-editor? Being new to the list, I've been wondering that too. ~e and ~v are available. ~h lets one cursor through the field. And if it is wanted, aren't there's BSD-compatible

Re: [S-nail] Core Dump when Backspacing in Mail Body.

2016-03-25 Thread Ralph Corderoy
Hi Steffen, > > $ LC_ALL=C MAILRC=/dev/null valgrind ./bin/s-nail -n $USER > > ==1153== Memcheck, a memory error detector > > ==1153== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. > > ==1153== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copy\ > >

Re: [S-nail] Core Dump when Backspacing in Mail Body.

2016-03-25 Thread Ralph Corderoy
Hi Steffen, > > $ LC_ALL=C MAILRC=/dev/null valgrind mail -n $USER > > Valgrind i've never used, though... :( The default, like I've used, is a good help without even reading the man page. The program under test runs more slowly, but valgrind is checking every memory access against its

Re: [S-nail] Pasting into mail(1) in X terminal Truncates to One Line.

2016-03-24 Thread Ralph Corderoy
Hi steffen, > > An strace(1) shows read(2)s of one byte consuming the first line, > > including the LF. ioctl(2)s and signal handling are then done. The > > next read of stdin sees Ctrl-D, the terminal's EOF character, and no > > more reads are attempted. The ioctl are ioctl(0, TCSETSF,

[S-nail] Pasting into mail(1) in X terminal Truncates to One Line.

2016-03-24 Thread Ralph Corderoy
Hi, Arch Linux, s-nail 14.8.6-2, xfce4-terminal or xterm. Running `mail $USER' in the terminal, entering a subject when prompted, and then pasting a dozen lines or so results in just the first of those getting into the body of the email. The method of pasting doesn't affect the outcome. An