Re: [DNG] Dng now alters (some) posts to compensate for DMARC antiforgery

2018-12-06 Thread Simon Hobson
Rick Moen  wrote:

> I heartily second your thanks to the mailing list administration team.

+1
Having run mail & list servers I've seen the problems caused by the big outfits 
who are happy to just declare "oh that's no longer valid - we don't care about 
breaking it". And I reckon I managed a better uptime than Microsoft with their 
Office 359 service ;-)
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng now alters (some) posts to compensate for DMARC antiforgery

2018-12-06 Thread Rick Moen
Quoting Jaromil (jaro...@dyne.org):

> many thanks for following up and taking care of this issue!! and to
> golinux, rrq and others for the list administration.

I heartily second your thanks to the mailing list administration team.

Sorry about one partially garbled sentence.  Here's that paragraph,
corrected (though I think my meaning was clear enough):

  Forgery of SMTP mail is a serious problem, leading to a series of
  proposals for extensions to the SMTP standard, to permit domains and
  users at mail-receipt time to detect and reject forgeries:  SPF, DKIM
  (formerly DomainKeys), and DMARC.  DMARC, from Yahoo, is the most recent
  of these SMTP extensions (incorporating DKIM and SPF as sub-components).
  Unfortunately, DMARC, when implemented by sending domains publishing a
  strongly asserted DMARC antiforgery policy, tends to be a disaster for
  mailing lists:  Subscribers sending from such mail domains gradually
  discover that their outbound mail, when routed out through mailing list
  software and thus retransmitted to mailing list subscribers, gets
  refused (as forged) upon arrival at many of the subscribers' receiving
  SMTP servers.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] RFC - Linux From Scratch

2018-12-06 Thread Jaromil
On Mon, 03 Dec 2018, g4sra wrote:

> Has anyone here have actual practical experience of using LFS to build
> anything moderate (or larger). If so, how much work did it take and was
> the effort worth it in the long run, were there any shortcomings ?

I have developed dyne:bolic 1 and 2 using LFS and I highly recommend
it. I go as far to believe that anyone who is intentioned in building
a GNU+Linux system or even a modern UNIX OS should really go through
the whole LFS documentation and tried to pack an LFS distro by hand,
that is not by using the automated script, but really going through
each single package. Is a great learning experience, much more than
many other books on the topic.

ciao
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Dng now alters (some) posts to compensate for DMARC antiforgery

2018-12-06 Thread Jaromil
dear Rick,


On Thu, 06 Dec 2018, Rick Moen wrote:

> As of today, the esteemed Dng listadmins have made a small tweak
> to Mailman's operation, and have asked me to explain the change.
> _No_ action is required on your end.

many thanks for following up and taking care of this issue!! and to
golinux, rrq and others for the list administration.

ciao
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Dng now alters (some) posts to compensate for DMARC antiforgery

2018-12-06 Thread Rick Moen
As of today, the esteemed Dng listadmins have made a small tweak
to Mailman's operation, and have asked me to explain the change.
_No_ action is required on your end.

tl;dr:  Mailman will now munge the From: address if and only if the
sender's domain publishes a problematic DMARC policy, to substitute the
mailing list's address for the sender's.  On those mails, Mailman 
also appends a Reply-To: header pointing to the sender's real address. 
No other mails will be touched.


Forgery of SMTP mail is a serious problem, leading to a series of
proposals for extensions to the SMTP standard, to permit domains and
users to enable receiving mail systems to detect and reject forgeries:
SPF, DKIM (formerly DomainKeys), and DMARC.  DMARC, from Yahoo, is the
most recent of these SMTP extensions (incorporating DKIM and SPF as
sub-components).  Unfortunately, DMARC, when implemented by sending
domains publishing a strongly asserted DMARC antiforgery policy, tends
to be a disaster for mailing lists:  Subscribers sending from such mail
domains gradually discover that their outbound mail, when routed out
through mailing list software and thus retransmitted to mailing list
subscribers, gets refused (as forged) upon arrival at many of the
subscribers' receiving SMTP servers.

Q:  Why does that mail get rejected as forged?

A:  Because the mailing list manager (MLM) software alters and makes
additions to the sender's headers and body text, on the copies
retransmitted to subscribers, with the result that the message no longer
matches its DKIM cryptographic signature.


Q:  Which sending domains are affected?

A:  I referred to these as sending domains with 'strongly asserted DMARC
antiforgery policies'.  Specifically, this means domains that publish
p=reject or p=quarantine as part of the DMARC policies in their DNS.
Here's an example of the former, domain mongodb.com:

$ dig -t txt _dmarc.mongodb.com 
[...]
_dmarc.mongodb.com.300INCNAME   mongodb.com.hosted.dmarc-report.com.
mongodb.com.hosted.dmarc-report.com. 300 IN TXT"v=DMARC1; p=reject; 
rua=mailto:1eed4...@mxtoolbox.dmarc-report.com,mailto:dmarc_agg@vali.email,mailto:dmarc_repo...@mongodb.com;
 
ruf=mailto:1eed4...@forensics.dmarc-report.com,mailto:dmarc_repo...@mongodb.com";
[...]
$


Q:  Which receiving domains reject such mail?

A:  Domains that implement DMARC and respect/enforce (some) sending domains'
strongly asserted DMARC policies.  For example, GMail exactly enforces
sending domains' published DMARC policies (if any), when it decides what 
arriving mail to reject as forged.



Q:  If Mailman rewrites my mail for transmission to subscribers, what
would that look like?

A:  Like this (using me as an example poster)

From: Rick Moen via Dng 
(with) 
Reply-To: Rick Moen 

instead of the normal

From: Rick Moen 

This example is what would occur if domain linuxmafia.com had a strongly
asserted DMARC policy, which in reality it doesn't (because domain owner
Rick Moen doesn't like DMARC).



Q:  Isn't 'munging' (forcing) of the Reply-To: header by anyone but the
sender been officially a bad idea ever since IETF adopted RFCs 2822
and 2369 in 2001?

A:  Yes.  Ironic, isn't it?  GNU Mailman adopted and recommended this 
mitigation for the problems caused by DMARC anway, as it's the least-bad
response to the fundamental hostility DMARC has for mailing lists as
reflectors.  The Mailman developers might eventually come up with
something better, but this is the best solution they have at this
writing.


Q:  Are other MLMs also affeected?

A:  Yes.


Q:  Who decided to adopt this modification to Dng's operation?  

A:  It was a unanimous recommendation of the Devuan Project's weekly
Jitsi conference on December 5, 2018.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng