haraka / haraka-plugin-rspamd

Rspamd plugin for Haraka
https://www.npmjs.com/package/haraka-plugin-rspamd
MIT License
15 stars 14 forks source link

Fix do_milter_headers() in case header is object #15

Closed PHPGangsta closed 5 years ago

PHPGangsta commented 5 years ago

If header_value is an object, we have to use header_value.value. "Authentication-Results" is an object. Fixes #11

msimerson commented 5 years ago
$ npm publish
npm notice 
npm notice 📦  haraka-plugin-rspamd@1.1.4
npm notice === Tarball Contents === 
npm notice 978B   package.json                    
npm notice 138B   .codeclimate.yml                
npm notice 439B   .eslintrc.json                  
npm notice 458B   .travis.yml                     
npm notice 241B   appveyor.yml                    
npm notice 594B   Changes.md                      
npm notice 13.2kB index.js                        
npm notice 1.1kB  LICENSE                         
npm notice 4.2kB  README.md                       
npm notice 337B   run_tests                       
npm notice 377B   .github/ISSUE_TEMPLATE.md       
npm notice 211B   .github/PULL_REQUEST_TEMPLATE.md
npm notice 394B   config/rspamd.ini               
npm notice 225B   test/.eslintrc.json             
npm notice 8.4kB  test/index.js                   
npm notice === Tarball Details === 
npm notice name:          haraka-plugin-rspamd                    
npm notice version:       1.1.4                                   
npm notice package size:  8.4 kB                                  
npm notice unpacked size: 31.3 kB                                 
npm notice shasum:        9559dbab806678280f5826a561a9a1b69206a0b5
npm notice integrity:     sha512-nsytvfptnqR9U[...]0EYkZG1c0H2MA==
npm notice total files:   15                                      
npm notice 
+ haraka-plugin-rspamd@1.1.4