emersion / go-msgauth

🔏 A Go library and tools for DKIM, DMARC and Authentication-Results
MIT License
170 stars 52 forks source link

Allow setting lookup DNS/TXT function #26

Closed huicao closed 4 years ago

huicao commented 4 years ago

Change-Id: I752ca137cb14fb1575105611453511ffa2d92a9c

huicao commented 4 years ago

This addressed the comments from foxcpp.

huicao commented 4 years ago

Hi Simon, Can you review this pull request? I want to use it in my system. Thanks, Hui.

foxcpp commented 4 years ago

You can use your own fork for now by using replace in go.mod:

replace github.com/emersion/go-msgauth => github.com/huicao/go-msgauth 167f45a791ff1789575786f0f035916502447c28
foxcpp commented 4 years ago

Hey, @emersion, can we get this merged? Just got a pile of DATA RACE warnings in maddy tests on CI because DKIM test modifies net.DefaultResolver.