summaryrefslogtreecommitdiffstats
path: root/userconfig
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-06-07 15:41:22 -0400
committerMalfurious <m@lfurio.us>2024-06-09 14:16:42 -0400
commit05dea2d2e10e01fa05ce3c689e9bd7d88e94d64a (patch)
tree7afb7b5a1a3a53b39a0941b4c6eef4d4264213fa /userconfig
parent6c03c28e5ade74bc3ff8d25e21df0f01c10df29b (diff)
downloadmailnode-05dea2d2e10e01fa05ce3c689e9bd7d88e94d64a.tar.gz
mailnode-05dea2d2e10e01fa05ce3c689e9bd7d88e94d64a.zip
Add user config files for accounts and email addresses
passwd is formatted like a standard unix password file, and is currently used to record a username, password, uid, and gid for each mail user. The row present in the file is a dummy record. Because the mailnode system will support multiple virtual domains and users, usernames should be full email addresses. At the moment, it is also important for all uid/gids to be set to the static value 2000, since that is the real unix account that will own the data files. aliases will hold virtual alias addresses. Each is one-per-line, with one alias address mapping to one or more forwarding addresses. Forward addresses can be of different domains, or even domains foreign to this mailnode install. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'userconfig')
-rw-r--r--userconfig/aliases0
-rw-r--r--userconfig/passwd1
2 files changed, 1 insertions, 0 deletions
diff --git a/userconfig/aliases b/userconfig/aliases
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/userconfig/aliases
diff --git a/userconfig/passwd b/userconfig/passwd
new file mode 100644
index 0000000..30920d5
--- /dev/null
+++ b/userconfig/passwd
@@ -0,0 +1 @@
+user@domain.tld:{CRYPT}$2y$05$qpLuMmzmzMTDniNBLegkveotxUS0jJDMJpyGyo9LD3n6jwh4ZcGPS:2000:2000::::