Commit Graph

57 Commits

Author SHA1 Message Date
fox.cpp
28bdf6d33f Make it easier to avoid permission issues when setting up maddy
1. Clarify that you need to manually create the user and group
when building from source. ./build.sh does not do that since
it is a packaging tool, not system configuration one.

2. Do not require "go" command to be present when running
./build.sh install. go installation may be user-specific and
unavailable when running with sudo.

3. Ease UMask restrictions. Allow group access.
This allows CLI commands to be run by any user in maddy group.

See #569.
2024-01-21 21:57:00 +03:00
opswill
7e851366ca Correct spf dns record
Based on the spf documnet: 
http://www.open-spf.org/action_browse_id_FAQ/Common_mistakes_revision_26/#helo
```
example.com.             IN  TXT  "v=spf1 mx -all"
mailserver.example.com.  IN  TXT  "v=spf1 a -all"
```
the second spf record in doc should set to a record.
otherwise the mail-tester will show 
```SPF_HELO_SOFTFAIL		SPF: HELO does not match SPF record (softfail)
```
softfail
2023-10-20 10:50:34 +08:00
fluidum
05d2d9dfc9 Update setting-up.md
fixing docker reference
2023-07-04 10:29:30 +03:00
fox.cpp
448aa07402 Update all version requirements to Go 1.19
0.7.0 actually requires 1.19.
2023-06-27 19:09:33 +03:00
Pēteris Caune
681976cc7b Fix typos 2023-05-23 09:32:51 +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
2dab873f50 Bump required Go version to 1.18 2023-01-08 18:00:55 +03:00
Pouriya Jahanbakhsh
46dcef4110 doc: replace maddyctl with maddy 2022-11-06 11:32:23 +03:30
fox.cpp
f7107d4a92 docs: Improve description of how delivery_map is supposed to be used for custom authentication support 2022-09-11 20:58:40 +03:00
fox.cpp
d6a317e32a docs: Update Arch repository and Docker instructions links
See #513.
2022-07-01 23:40:59 +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
14c1be052e docs: We now require Go 1.15 2021-10-11 21:20:50 +03:00
fox.cpp
df40dce128 docs: Link to maddy.email/builds in setup tutorial
Also add link in the side-bar.
See #407.
2021-10-05 17:20:33 +03:00
Giorgi Lekveishvili
31265e3371 Add missing . (dot) in default domain key record 2021-09-22 17:48:15 +03:00
fox.cpp
61e6e73910 Merge branch 'dev' 2021-08-09 13:01:18 +03:00
fox.cpp
1276da8b35 docs: Write detailed tutorial on PAM use 2021-08-09 11:43:24 +03:00
Gusted
6f54015daa docs: Fix typo in DNS record example in setting-up.md (#377)
`STS1` -> `STSv1`
2021-07-30 08:17:50 +03:00
Max Mazurov
20c9991244 docs: Improve setting up tutorial
Add more recommended best practice and fix a few mistakes.

1. SPF record should also be available via MX hostname (more precisely, HELO hostname we identify as)
2. MTA-STS requires an TXT record
3. TLSRPT can be used to get information about MTA-STS breakage.
4. Use p=quarantine in DMARC
5. Recommend deploying DANE in addition to MTA-STS
2021-07-08 18:44:29 +00:00
Arisu Desu
3fbd1e271f Add missing mailto: to DMARC ruf parameter in tutorial 2021-07-03 07:00:44 +00:00
fox.cpp
9f9377b92e docs: Fix a few typos in setting-up.md 2021-04-12 10:35:33 +03:00
fox.cpp
43d494e70a docs: Improve setting-up tutorial 2021-04-12 10:32:49 +03:00
fox.cpp
08401f8686 docs: Remove reference to local_modifiers from multiple-domains.md
It is no longer needed.
2021-03-27 18:24:11 +03:00
fox.cpp
5eec45ec0d docs: Replace foxcpp.dev/maddy with maddy.email 2021-03-07 22:15:24 +03:00
fox.cpp
3620da22e0 docs: Update alias-to-remote.md tutorial to use new maddy.conf structure 2021-03-07 16:54:36 +03:00
fox.cpp
4ec6eb2d31 build.sh: Reimplement from scratch
This version is much more simple. And probably will work fine under
FreeBSD and OpenBSD.

Closes #316.
2020-12-06 02:36:30 +03:00
fox.cpp
f9d5c0cb02 Revert build instructions to use build.sh 2020-08-23 16:38:00 +03:00
schrodinger
2344c9f87f docs: Improve setting-up.md (#261)
* Update setting-up.md

replacing hostname mx.example.org by example.org accordingly to the rest of the tutorial which doesn't refer to it (i.e. DNS configuration).

* readding MX1, with more detail

* adding A entry for mx1

* fixing ========
2020-08-09 08:44:39 +03:00
fox.cpp
18494cfff7 docs: Remove fail2ban from initial configuration
maddy runs just fine without such filtering and time values
used in shipped configs are rather questionable.
2020-08-03 16:43:18 +03:00
fox.cpp
27487b1db2 docs: Clarify configuration for multiple domains 2020-08-03 16:43:18 +03:00
fox.cpp
d194b2e2a4 docs: Update to use Make for source builds, recommend built tarballs as a primary way 2020-08-03 16:43:18 +03:00
fox.cpp
f44201603b docs: Move upgrading to documentation root
It is not really a tutorial.
2020-08-03 16:42:57 +03:00
fox.cpp
03ff67069e docs: Move *-only.md tutorials to their own section 2020-07-18 11:42:13 +03:00
fox.cpp
03d9e52627 Rename modules and introduce namespace-aware module name lookups
See #248.
2020-07-15 01:31:05 +03:00
fox.cpp
bd9a3026b1 docs: Fix formatting and fix possibly confusing MTA-STS example 2020-06-10 23:11:42 +03:00
fox.cpp
2a19d455f3 docs: Fix wrong name of 'targets' directive for smtp_downstream 2020-06-03 14:02:58 +03:00
bn4t
e24c9ede3c docs: Change github to github.com in 0.3 migration guide (#237)
Ref. #237
2020-06-01 14:08:53 +00:00
fox.cpp
7d6edaabf6 Remove cmd/migrate-db-0.2 2020-06-01 00:03:19 +03:00
fox.cpp
ab948e1494 Update minimal required Go version to 1.14 2020-05-31 20:48:34 +03:00
fox.cpp
22cc68ff20 docs: Add page about IMAP-only configuration 2020-05-31 18:54:49 +03:00
fox.cpp
70c7ec6e95 Move 0.2->0.3 DB migration utility into source tree
Latest version made is somewhat more problematic to build
executables with dependencies without a proper module tree.
2020-05-29 00:50:01 +03:00
fox.cpp
7ba699e595 docs: Add smtp-only.md page 2020-05-24 00:34:51 +03:00
fox.cpp
5523a84866 docs: Add upgrading instructions
Closes #214.
2020-05-11 16:00:07 +03:00
fox.cpp
e6a5f6daec docs: Update outdated tutorials
Closes #222
2020-05-11 13:42:47 +03:00
fox.cpp
e19d21dfcb Fully separate authentication from IMAP access
Now imapsql module does not handle authentication. (it was not doing it so well
anyway)

sql_table module was introduced and used in the default configuration as
a replacement for functionality that was implemented by imapsql before.

Parts of maddyctl code were rewritten to make it work transparently with
any IMAP backend or credentials store.

Closes #212.
2020-04-14 00:06:47 +03:00
bn4t
609a8fd235 Add missing packages for compilation and fail2ban setup 2020-04-13 18:54:29 +00:00
fox.cpp
9915c8a881 modify/dkim: Support mulitple ADMDs per module instance
Allows to use macro expansion like $(local_domains) to configure DKIM
for all domains.

Closes #199.
2020-03-13 03:28:49 +03:00
fox.cpp
8f1d57293c docs: Several minor edits
Remove examples/ dir reference from REDME. It no longer exists.
Mention scdoc in installation tutorial.
Fix vim joke formatting.
Mention systemctl daemon-reload in intallation tutorial.
2020-02-23 17:42:45 +03:00
fox.cpp
494fd2ac72 build.sh: Remove wget dependency
It is rather silly to use curl to fetch the script itself (in tutorial)
and use wget internally.
2020-02-23 17:33:51 +03:00
fox.cpp
d2a68adf74 docs: Be more specific about build.sh dependencies
It uses Git to clone the repo and wget to download toolchain if it is
missing.
2020-02-23 04:27:57 +03:00
fox.cpp
a288d2e144 docs: Mention prebuilt binaries in the setup tutorial 2020-02-23 02:15:31 +03:00