Commit graph

338 commits

Author SHA1 Message Date
fox.cpp
d9920f0763
tls/acme: Return certmagic.New config in GetConfigForCert
Might have caused partially broken configurations e.g. #619.
2023-08-23 16:55:04 +03:00
fox.cpp
b8ff1168a0
smtpconn/pool: Fix idle connections (almost) never cleaned up
See #596.
2023-08-23 16:20:50 +03:00
fox.cpp
466906e8dc
mxauth: Fix a few nits in MX auth code 2023-08-23 16:20:04 +03:00
fox.cpp
17b76d95e3
target/remote: Fix isVerifyError not working correctly on Go 1.20
On Go 1.20, *tls.CertificateVerificationError is returned that
wraps x509 errors.

See #612.
2023-08-23 15:43:35 +03:00
fox.cpp
de756c8dc5
tls/acme: Add support for DNS-01 domain delegation
See #588.
2023-05-29 22:19:47 +03:00
Pēteris Caune
681976cc7b
Fix typos 2023-05-23 09:32:51 +03:00
Litrop
6401870244 ServerName is also used by StartTLS. 2023-04-29 10:12:39 +00:00
fox.cpp
f5def9cb04
Merge branch '0.6-fixes' 2023-03-14 00:25:11 +03:00
fox.cpp
9f58cb64b3
auth: Actually check SASL identity argument before using it
Fixes GHSA-4g76-w3xw-2x6w.
2023-03-14 00:20:40 +03:00
fox.cpp
6ef80e8335
Unbreak tests 2023-03-12 15:40:25 +03:00
Max Mazurov
ca44d0e036
Merge pull request #566 from arisudesu-forks/loop-extract
Extract mapping lookup from loop
2023-03-12 14:09:31 +03:00
fox.cpp
a7001ab730
Implement auth_map and storage_map at endpoint level
This makes auth_map do what its name implies. Old auth_map in storage
module is deprecated and will be removed in the next release.
2023-03-12 13:52:04 +03:00
fox.cpp
43c0325708
table: Implement email_localpart_optional module 2023-03-08 16:14:03 +03:00
fox.cpp
8083ffaf31
table: Implement email_with_domains module 2023-03-08 16:10:37 +03:00
fox.cpp
0c534f5231
target: Fix tests to use support go-smtp 2023-02-05 16:37:24 +03:00
fox.cpp
1db37f91b1
Merge branch 'dev' 2023-02-05 16:32:55 +03:00
Arisu Desu
ff52e693d1 Fix undefined variable err 2023-01-28 14:26:49 +03:00
Arisu Desu
1a603a4e53 Extract mapping lookup from loop 2023-01-28 14:10:45 +03:00
Carl-Friedrich Braun
7c9138decf fix: allow empty From address to match with TakeMsg 2023-01-02 12:11:15 +01:00
Max Mazurov
01ff37a9c5
Merge pull request #559 from domcyrus/fix-race-on-table-file
fix race condition on table.file #557
2022-12-05 17:22:02 +03:00
Marco Cadetg
5a36bd02c9 improve file test a bit further 2022-12-03 10:26:32 +01:00
Marco Cadetg
4c264c974d fix race condition on table.file #557 2022-12-03 10:06:14 +01:00
Max Mazurov
7c3aab270d
Merge pull request #545 from pouriya/remove-maddyctl-from-docs
doc: replace `maddyctl` with `maddy`
2022-12-02 16:47:24 +03:00
Max Mazurov
e1b3391db3
Merge pull request #537 from arush15june/feat-s3-creds
internal/storage/blob/s3: add iam, aws config file, minio config file configurable credentials
2022-11-16 15:22:05 +03:00
Pouriya Jahanbakhsh
46dcef4110 doc: replace maddyctl with maddy 2022-11-06 11:32:23 +03:30
angelnu
b98a283cc3 fixes #546 - ldap hang 2022-10-26 23:18:27 +00:00
Thomas Huisman
c0ccb95120 fix: typo 2022-10-05 01:23:51 +02:00
fox.cpp
c102d6242b
Merge pull request #532 into dev 2022-09-20 12:39:35 +03:00
Aarush Ahuja
587f380935 feat: add iam, aws config file, minio config file configurable credentials for s3 blob storage 2022-09-14 18:48:20 +05:30
fox.cpp
ab4aefa955
Merge branch 'master' into dev 2022-09-13 12:42:47 +03:00
Michael Aldridge
86d3d89f95 internal/auth: Add native NetAuth authentication integration.
NetAuth is an easy to deploy and manage organizational source of truth
for identity and group management.  This commit adds support for maddy
to ask NetAuth about authentication using the native protocol.
2022-09-12 21:56:32 -05:00
fox.cpp
d54237f856
auth/ldap: Send empty username by default when doing unauthenticated bind
Requested by maldridge to match ldapsearch behavior.
2022-09-11 20:42:42 +03:00
fox.cpp
f8bad12434
auth/ldap: Fix "bind unauth" config directive parsing
UnauthenticatedBind accept a string argument since some
go-ldap version. A breaking change that was not
detected on version upgrade, apparently.

See #529.
2022-09-11 20:39:19 +03:00
Alexandre Biancalana
226ea827d8 fix goroutine "leak" making graceful shutdown when openmetrics endpoint is enable 2022-07-26 22:23:50 -03:00
fox.cpp
1d0d9915a0
Update to latest go-smtp
smtp.ConnectionState is no longer a thing and sessions are initialized
early so we can move more processing early. One such change is
in DNSBL - run the check before EHLO completes. Some further optimizations
are possible there - e.g. start DNSBL check once we get EHLO and have
the result ready once we receive MAIL FROM and act accordingly.
2022-07-09 17:00:23 +03:00
fox.cpp
cbb3bbcb43
Merge branch 'master' into dev 2022-07-09 15:00:46 +03:00
fox.cpp
0df6b620e6
cli: Warn about upcoming --uid=true change 2022-06-25 18:39:55 +03:00
Nick Cao
15163e7520
pass_table: fix user hash creation 2022-06-24 17:09:14 +08:00
fox.cpp
80328b8dee
Fix a few linter warnings + gofmt + goimports 2022-06-23 14:34:57 +03:00
fox.cpp
75ac2a6f20
table/file: Reimplement conditional reloads 2022-06-23 14:04:51 +03:00
fox.cpp
ccec931b6c
go get -u & go mod tidy 2022-06-23 13:16:42 +03:00
fox.cpp
f4995642e2
Require Go 1.17, use Go 1.17.11 for artifacts 2022-06-23 12:44:03 +03:00
fox.cpp
e1e20974b2
Merge branch 'patch-1' of https://github.com/bs2kbs2k/maddy into bs2kbs2k-patch-1 2022-06-23 12:31:43 +03:00
fox.cpp
9dd34b85ef
check: Remove require_matching_echo
See #280.
2022-06-18 19:26:48 +03:00
fox.cpp
f43b164170
modify/dkim: Remove require_sender_match from code
See #465.
2022-06-18 19:18:17 +03:00
fox.cpp
6fdafbc123
check/spf: Ignore SPF permerr and temperr by default
See #485.
2022-06-18 19:15:09 +03:00
fox.cpp
37bfe3bbd6
Merge branch 'dev' 2022-06-18 18:29:55 +03:00
ptrcnull
4b1c4f932a tls/acme: set default hostname 2022-03-18 12:01:16 +03:00
fox.cpp
cf94882052
auth/pam: Fix double-free crash
conv_func may be called multiple times and should return
a unique pam_response each time.

Closes #272.
2022-03-06 16:07:59 +03:00
fox.cpp
7ee6a39c6a
auth/pam: Check for account/password expiry
See GHSA-6cp7-g972-w9m9. Thanks Youssef Rebahi-Gilbert (ysf) for
reporting the issue.
2022-03-06 15:52:36 +03:00