Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ARC support #153

Closed
3 tasks done
ikedas opened this issue Jan 5, 2018 · 10 comments
Closed
3 tasks done

Adding ARC support #153

ikedas opened this issue Jan 5, 2018 · 10 comments

Comments

@ikedas
Copy link
Member

ikedas commented Jan 5, 2018

Current beta: Sympa 6.2.37b.2

ToDo

  • Making changes on Sympa
  • Documentation
  • Beta testing

Documentation (draft)

References

Related posts:

Specification:

@jrlevine
Copy link

jrlevine commented Jan 5, 2018

General flow:

  • as message is received, see if there is an Authentication-Results header. If there is, do ARC validation on incoming message and edit arc= result into the A-R header or arc=none if none
  • as outgoing message is signed, look for that A-R header again, use the incoming ARC result in ARC signing which can happen at the same time as DKIM signing
  • add ARC headers above DKIM header(s) on the way out
    I can provide sample code if it'd be useful

@ikedas
Copy link
Member Author

ikedas commented Jan 12, 2018

@jrlevine, thanks for guidance. Please do provide sample!

@jrlevine
Copy link

prearc.txt
Here's the prepass I use to add the incoming arc-chain to the Authentication-Results header. I run it on deliver as:
|bin/prearc | bin/queue

@jrlevine
Copy link

Here's a simplified version of my post-pass ARC and DKIM signer. (I used to use mj2 and it was easier to keep using this than to integrate it into Sympa.) You can see how the ARC signature is added in parallel with DKIM signature(s).
sympamail.txt

@dverdin
Copy link
Contributor

dverdin commented Feb 2, 2018

I strongly agree with this proposal. ARC's design is especially well suited for mziling lists. That would be a good hope for mailing lists to go through DMARc agressive policies.
However, I feel we will need some servers reputation listings to make it work. Is there something planned by some consortium somewhere?
@jrlevine : did you hear about such a reputation list? I think this could be useful.

@jrlevine
Copy link

jrlevine commented Feb 2, 2018 via email

@ikedas
Copy link
Member Author

ikedas commented Oct 7, 2018

Draft documentation was merged: https://sympa-community.github.io/manual/customize/dkim-arc.html

I have a question: Doc says:

ARC requires Mail::DKIM version 0.60 or later which includes ARC support.

But the last release on metacpan is 0.53, and 0.51 is identical to it except some test cases added. Isn't 0.51 suffice?

@jrlevine
Copy link

jrlevine commented Oct 7, 2018 via email

@ikedas
Copy link
Member Author

ikedas commented Oct 7, 2018

You're right. I checked, anything since 0.50 is OK.

Thanks for confirming. Unfortunately current Sympa have to support Perl 5.8.1 at earliest while 0.50 uses // operator. I'll adopt 0.51.

ikedas added a commit to sympa-community/sympa-community.github.io that referenced this issue Oct 7, 2018
@ikedas
Copy link
Member Author

ikedas commented Dec 15, 2018

If there are no more problems, this issue will be closed in the next week, i.e. beta test will be finished!

@ikedas ikedas closed this as completed Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants