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

2018-12-11 Thread Steffen Nurpmeso
Good evening everybody.

russellb...@gmail.com wrote in <201812111936.wbbjav0v021...@randytool.net>:
 | Quoth Steffen Nurpmeso: ' please use the real list address so
 |that people can use a simple address check.  Please.'
 | I addressed the last message (and this one) thusly:
 |
 | to:  s-mailx@lists.sdaoden.eu
 |
 |is that incorrect?  Oddly /var/log/maillog records:
 |
 |Dec 11 11:25:59 randytool sm-mta[21172]: wBBIPq8X021172: to=, delay=00:00:06, xdelay=00:00:06, mailer=relay, pri=30855, \
 |relay=smtp.gmail.com [173.194.223.108], dsn=2.0.0, stat=Sent (OK 1544552\
 |759 m129sm7052317oif.50 - gsmtp)
 |Dec 11 11:25:59 randytool sendmail[21171]: wBBIPm91021171: to=s-mailx@li\
 |sts.sdaoden.eu, ctladdr=russellb...@gmail.com (0/0), delay=00:00:11, \
 |xdelay=00:00:09, mailer=relay, pri=30614, relay=[127.0.0.1] [127.0.0.1], \
 |dsn=2.0.0, stat=Sent (wBBIPq8X021172 Message accepted for delivery)

Oh it is sendmail.

 |but there's no mention of s-ma...@sdaoden.eu in my original message.
 |Do you understand this?  I run my own sendmail; has it cached an
 |address?  I think sdaoden.eu's SMTP server is doing this.

Well, i have not looked since 2016 but likely the MX DNS record
which is used to point people to the right A (IPv4) or  (IPv6)
DNS record(s) of the mail server which handles mail on my domain
points to sdaoden.eu.
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.
Sorry for the noise.

 | Quoth Steffen Nurpmeso: ' Unless i am totally mistaken you,
 |Mr. Bell, have found a bug'
 | I don't understand you.  I concluded that I had found a bug in
 |my sent-mail archiving system, a non-bug in s-mailx.  The POSIX man
 |page to which Mr Corderoy pointed us space-pads day-of-month.

Do not hesitate to send such messages in the future.  Anyway.

 | Quoth Steffen Nurpmeso: 'In the end, who am i?'
 | It doesn't matter who you are in the end - I'm addressing you
 |now.  I've made small contributions to the code base and appreciate
 |the people doing the real work.  I'll honor your wishes, of course,
 |because you're so honorable.

Ph.
Good night.

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


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   sdaoden.eu.
sdaoden.eu. 14312   IN  MX  10 sdaoden.eu.
sdaoden.eu. 14312   IN  A   217.144.132.164

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.
If lists.sdaoden.eu should remain as is and not be translated to
sdaoden.eu then I'd suggest making it a A record for the same IP
address.

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy


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

2018-12-11 Thread SZÉPE Viktor

Idézem/Quoting 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   sdaoden.eu.
sdaoden.eu. 14312   IN  MX  10 sdaoden.eu.
sdaoden.eu. 14312   IN  A   217.144.132.164

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)


All the best!



SZÉPE Viktor, honlap üzemeltetés / Running your application
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
--
ügyelet/hotline: +36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, III. kerület







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

2018-12-11 Thread Steffen Nurpmeso
Dear Mr. Bell, please use the real list address so that people can
use a simple address check.  Please.
(I know it is just that i am much too lazy and overloaded with
daily work too in order to look into postfix to get rewriting
done.)

russellb...@gmail.com wrote in <201812111327.wbbdrvhc020...@randytool.net>:
 | Quoth unser Sehr geehrter Herr Steffen Nurpmeso, 'ctime() uses

This is indeed a formal and correct appellation (maybe despite the
"our"), but i would feel more comfortable if it would be left off.
In the end, who am i?  A gravestone which hopefully can be revived
in a few centuries if the right heart and soul passes by.
No "sehr geehrter Herr" at that time no more.

 |asctime() and asctime() is defined by the standard and does perform
 |space padding.'
 | 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.

Well, ISO C was revealed already, and POSIX inherits it thus.
The code which checks this is pretty old, actually.  It has been
prettied up a bit, but in effect it is in use in BSD Mail for many
many years.  This is in header.c, you see the "cmatch_data"
templates, it understands BSD/ISO C90 ctime, BSD tmz, SysV ctime,
RFC 822-alike From_ as they come or came from the UW-imap server,
as well as several RFC 822 with zone spec variants.

This goes back far into the eighties i think, and i wonder which
software produces messages which do not conform to any of those?
This surely is a bug.

And so it is.  Unless i am totally mistaken you, Mr. Bell, have
found a bug that is present in all BSD Mail codebases i can look
at, Apple, NetBSD, OpenBSD, .. and unfortunately my poor one, too!
It is in BSD Mail 8.1[.1] from June 1996 even.
Thank you very much, Mr. Bell!!

The fix is on the [master] branch as well as all the [stable/]
branch series.  I hope i make it and be able to release
a stabilizing bugfix release around the Christian Christmas.

 |russell bell
 --End of <201812111327.wbbdrvhc020...@randytool.net>

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


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,
http://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime.html,
that might always be available as a local man page, e.g. asctime(3p).

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy


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

2018-12-11 Thread russellbell



Quoth Steffen Nurpmeso: ' please use the real list address so
that people can use a simple address check.  Please.'
I addressed the last message (and this one) thusly:

to:  s-mailx@lists.sdaoden.eu

is that incorrect?  Oddly /var/log/maillog records:

Dec 11 11:25:59 randytool sm-mta[21172]: wBBIPq8X021172: 
to=, delay=00:00:06, xdelay=00:00:06, mailer=relay, 
pri=30855, relay=smtp.gmail.com [173.194.223.108], dsn=2.0.0, stat=Sent (OK 
1544552759 m129sm7052317oif.50 - gsmtp)
Dec 11 11:25:59 randytool sendmail[21171]: wBBIPm91021171: 
to=s-mailx@lists.sdaoden.eu, ctladdr=russellb...@gmail.com (0/0), 
delay=00:00:11, xdelay=00:00:09, mailer=relay, pri=30614, relay=[127.0.0.1] 
[127.0.0.1], dsn=2.0.0, stat=Sent (wBBIPq8X021172 Message accepted for delivery)

but there's no mention of s-ma...@sdaoden.eu in my original message.
Do you understand this?  I run my own sendmail; has it cached an
address?  I think sdaoden.eu's SMTP server is doing this.

Quoth Steffen Nurpmeso: ' Unless i am totally mistaken you,
Mr. Bell, have found a bug'
I don't understand you.  I concluded that I had found a bug in
my sent-mail archiving system, a non-bug in s-mailx.  The POSIX man
page to which Mr Corderoy pointed us space-pads day-of-month.

Quoth Steffen Nurpmeso: 'In the end, who am i?'
It doesn't matter who you are in the end - I'm addressing you
now.  I've made small contributions to the code base and appreciate
the people doing the real work.  I'll honor your wishes, of course,
because you're so honorable.

russell bell


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

2018-12-11 Thread russellbell
Quoth Mr Ralph Corderoy:

'There's POSIX,
http://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime.html,
that might always be available as a local man page, e.g. asctime(3p).'
Thanks.  My local man page is different.  This page provides
the necessary datum, 
sprintf(result, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n"

I'd just been using what 'date' returns, which does everything
else correctly.  Of course it was little work to update my archives
and the script that does the archiving.
Thanks.

russell bell


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

2018-12-11 Thread russellbell
Quoth unser Sehr geehrter Herr Steffen Nurpmeso, 'ctime() uses
asctime() and asctime() is defined by the standard and does perform
space padding.'
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.

russell bell