mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
This patch adds a new integration test to cover SPF checks. The main goal is not to cover the SPF parsing, since that's handled by the library already, but the higher level aspects: that the mails are indeed rejected, that the DSN looks reasonable, etc.
40 lines
987 B
Plaintext
40 lines
987 B
Plaintext
|
|
# Ignore anything beginning with a dot: these are usually temporary or
|
|
# unimportant.
|
|
.*
|
|
|
|
# Exceptions to the rules above: files we care about that would otherwise be
|
|
# excluded.
|
|
!.gitignore
|
|
|
|
# The binaries.
|
|
/chasquid
|
|
/chasquid-util
|
|
/smtp-check
|
|
/spf-check
|
|
/mda-lmtp
|
|
/dovecot-auth-cli
|
|
cmd/chasquid-util/chasquid-util
|
|
cmd/smtp-check/smtp-check
|
|
cmd/spf-check/spf-check
|
|
cmd/mda-lmtp/mda-lmtp
|
|
cmd/dovecot-auth-cli/dovecot-auth-cli
|
|
test/util/minidns
|
|
|
|
# Test binary, generated during coverage tests.
|
|
chasquid.test
|
|
|
|
# Exclude any .pem files, to prevent accidentally including test keys and
|
|
# certificates.
|
|
*.pem
|
|
|
|
# Ignore the generated corpus: we don't want to commit it to the repository by
|
|
# default, to avoid size blowup. Manually added corpus will begin with "t-",
|
|
# and thus not ignored.
|
|
# Leave crashers not ignored, to make them easier to spot (and they should be
|
|
# moved to manually-added corpus once detected).
|
|
**/testdata/fuzz/corpus/[0-9a-f]*
|
|
|
|
# go-fuzz build artifacts.
|
|
*-fuzz.zip
|