1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-16 14:27:01 +00:00
Files
go-chasquid-smtp/.gitignore
Alberto Bertogli e6c6df457d chasquid-util: Use server for aliases-resolve and domaininfo-remove
This patch makes chasquid-util's aliases-resolve and domaininfo-remove
commands talk to the chasquid server (via the new localrpc server).

For aliases-resolve, currently has fairly hacky logic which reimplements
a bunch of the servers', and is also incomplete because it does not
support hooks.

In this patch we fix that by having it talk to the server, where we get
authoritative responses and have no issues with aliases hooks. This
resolves https://github.com/albertito/chasquid/issues/18.

For domaininfo-remove, currently its implementation is also very hacky
since it manipulates files behind the servers' back and without even
using the internal library.

In this patch we fix that by doing the operation through the server,
avoiding the need for those hacks, and also remove the need to manually
reload the server afterwards.
2023-07-30 13:21:07 +01:00

40 lines
807 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
!.github/
# The binaries.
/chasquid
/chasquid-util
/smtp-check
/mda-lmtp
/dovecot-auth-cli
cmd/chasquid-util/chasquid-util
cmd/smtp-check/smtp-check
cmd/mda-lmtp/mda-lmtp
cmd/dovecot-auth-cli/dovecot-auth-cli
# Test util binaries.
test/util/conngen/conngen
test/util/coverhtml/coverhtml
test/util/fexp/fexp
test/util/generate_cert/generate_cert
test/util/gocovcat/gocovcat
test/util/loadgen/loadgen
test/util/minidns/minidns
# Test binary, generated during coverage tests.
chasquid.test
# chamuyero logs
*.cmy.log
# Exclude any .pem files, to prevent accidentally including test keys and
# certificates.
*.pem