• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jcbf / smf-spf / 18276609422
15%

Build:
DEFAULT BRANCH: master
Ran 06 Oct 2025 09:40AM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Oct 2025 09:33AM UTC coverage: 14.984% (+0.03%) from 14.952%
18276609422

push

github

José Borges Ferreira
fix: merge jcbf/add_bestguess branch with SPF best guess fallback feature

Merged the add_bestguess branch which implements SPF best guess evaluation
when no SPF record is found. This provides more robust SPF checking for
domains without explicit SPF policies.

Changes from jcbf/add_bestguess:
- Add SPF_GUESS_RECORD constant with fallback policy ("v=spf1 a/24 mx/24 ptr ?all")
- Add best_guess configuration option (default: enabled)
- Add is_best_guess flag to context struct to track when fallback was used
- Implement SPF_request_query_fallback() when SPF_RESULT_NONE and best_guess enabled
- Append "(SPF best guess)" text to Authentication-Results headers when fallback used
- Add SpfBestGuess configuration option in smf-spf.conf

Conflict resolution:
- Preserved VERSION "2.5.2" from master
- Kept all new features from master (SKIP_AUTH, SKIP_NDR, REJECT_REASON, etc.)
- Fixed typo: relaxed_locapart -> relaxed_localpart
- Integrated best_guess logic into updated SPF evaluation flow
- Used MAX_HEADER_SIZE for header buffers (from master)
- Used log_message() instead of syslog() for consistency with master

This allows administrators to optionally use SPF best guess for domains
without published SPF records, improving spam detection while maintaining
backward compatibility.

Fixes #60

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

2 of 38 new or added lines in 1 file covered. (5.26%)

95 of 634 relevant lines covered (14.98%)

0.25 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
36
14.98
0.03% smf-spf.c
Jobs
ID Job ID Ran Files Coverage
1 18276609422.1 06 Oct 2025 09:40AM UTC 1
14.98
GitHub Action Run
Source Files on build 18276609422
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18276609422
  • 795a4735 on github
  • Prev Build on master (#18276142971)
  • Next Build on master (#18276701357)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc