Commit graph

8 commits

Author SHA1 Message Date
Pēteris Caune
681976cc7b
Fix typos 2023-05-23 09:32:51 +03:00
fox.cpp
1b2b101f8e
dist: Remove DynamicUser from systemd units
It is only a good thing to use for simple stateless daemons.  It is
possible to use StateDirectory to store state, but it is extremely
limited. Notably, only service processes and root can correctly access
the state directory. This makes up for a bad practice to run maddyctl as
root what in turn screws up permissions on files in messages directory
when imap-* subcommands are used.

Migration note: Users of systemd unit with DynamicUser enabled should
move /var/lib/private/maddy to /var/lib/maddy before starting maddy
after update.
2020-01-03 02:08:50 +03:00
fox.cpp
bf188e454f
Move most code from the repo root into subdirectories
The intention is to keep to repo root clean while the list of packages
is slowly growing.

Additionally, a bunch of small (~30 LoC) files in the repo root is
merged into a single maddy.go file, for the same reason.

Most of the internal code is moved into the internal/ directory. Go
toolchain will make it impossible to import these packages from external
applications.

Some packages are renamed and moved into the pkg/ directory in the root.
According to https://github.com/golang-standards/project-layout this is
the de-facto standard to place "library code that's ok to use by
external applications" in.

To clearly define the purpose of top-level directories, README.md files
are added to each.
2019-12-06 01:35:12 +03:00
fox.cpp
93ccd18451
dist: Provide a shell script for integration with rspamd 2019-11-29 00:50:59 +03:00
fox.cpp
b292159dcf
dist: Add vim syntax highlighting file
Closes #139.
2019-09-24 17:13:29 +03:00
fox.cpp
776e446fab
dist: Add logrotate configuration 2019-09-19 19:59:59 +03:00
fox.cpp
8e8fee2b6b
dist: Copy fail2ban configuration from wiki 2019-09-19 19:42:56 +03:00
fox.cpp
86f1089d77
dist: Add systemd unit files 2019-09-15 04:01:36 +03:00