From c19845c11072a2644d2ca78a6f24ed987e61f2a1 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 27 Sep 2021 10:30:41 +0100 Subject: [PATCH] mailserver cleanup Cleanup following mailserver setup on tools.mfxm.fr --- .obsidian/graph.json | 2 +- .obsidian/workspace | 153 +++++++++++++++++++------------------ Networks/Domains.md | 2 +- Networks/Postfix config.md | 26 +++++-- Networks/Tools Server.md | 11 +++ 5 files changed, 111 insertions(+), 83 deletions(-) diff --git a/.obsidian/graph.json b/.obsidian/graph.json index e6980e4d..fe342f58 100644 --- a/.obsidian/graph.json +++ b/.obsidian/graph.json @@ -67,6 +67,6 @@ "repelStrength": 10, "linkStrength": 1, "linkDistance": 250, - "scale": 0.5150901584012967, + "scale": 0.557068776378513, "close": true } \ No newline at end of file diff --git a/.obsidian/workspace b/.obsidian/workspace index 63de2963..358bbb1b 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -9,7 +9,7 @@ "state": { "type": "markdown", "state": { - "file": "Internet snippets/Comprendre l'islam.md", + "file": "Networks/Postfix config.md", "mode": "preview" } } @@ -18,96 +18,97 @@ "direction": "vertical" }, "left": { - "id": "87f9f29baec8274b", - "type": "split", + "id": "b0310d40c7c28315", + "type": "mobile-drawer", "children": [ { - "id": "10cff87f23195085", - "type": "tabs", - "children": [ - { - "id": "4eda007975bc315b", - "type": "leaf", - "state": { - "type": "file-explorer", - "state": {} - } - }, - { - "id": "2673496bd741d7ff", - "type": "leaf", - "state": { - "type": "search", - "state": { - "query": "", - "matchingCase": false, - "explainSearch": false, - "collapseAll": false, - "extraContext": false, - "sortOrder": "alphabetical" - } - } + "id": "1dfc3b2b8716c325", + "type": "leaf", + "state": { + "type": "file-explorer", + "state": {} + } + }, + { + "id": "bdb74d04c8aded01", + "type": "leaf", + "state": { + "type": "search", + "state": { + "query": "tag:#Essay", + "matchingCase": false, + "explainSearch": false, + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical" } - ] + } + }, + { + "id": "b390c4c0a9a72f16", + "type": "leaf", + "state": { + "type": "tag", + "state": { + "sortOrder": "frequency", + "useHierarchy": true + } + } } ], - "direction": "horizontal", - "width": 300 + "currentTab": 0 }, "right": { - "id": "5ae1ccb13b5db5c5", - "type": "split", + "id": "901f0677c871de02", + "type": "mobile-drawer", "children": [ { - "id": "b4391c49e2521505", - "type": "tabs", - "children": [ - { - "id": "0b7f5ec28c469395", - "type": "leaf", - "state": { - "type": "backlink", - "state": { - "file": "Internet snippets/Comprendre l'islam.md", - "collapseAll": false, - "extraContext": false, - "sortOrder": "alphabetical", - "showSearch": false, - "searchQuery": "", - "backlinkCollapsed": false, - "unlinkedCollapsed": true - } - } - }, - { - "id": "ec927f9f82ddaf56", - "type": "leaf", - "state": { - "type": "tag", - "state": { - "sortOrder": "frequency", - "useHierarchy": true - } - } + "id": "99d0af3c81398a1c", + "type": "leaf", + "state": { + "type": "backlink", + "state": { + "file": "Networks/Postfix config.md", + "collapseAll": false, + "extraContext": false, + "sortOrder": "alphabetical", + "showSearch": false, + "searchQuery": "", + "backlinkCollapsed": true, + "unlinkedCollapsed": false } - ] + } + }, + { + "id": "51b6dd4b8c0c1449", + "type": "leaf", + "state": { + "type": "side-panel-control-view", + "state": {} + } + }, + { + "id": "86a095cebfd3c99f", + "type": "leaf", + "state": { + "type": "advanced-tables-toolbar", + "state": {} + } } ], - "direction": "horizontal", - "width": 300, - "collapsed": true + "currentTab": 2 }, "active": "c1cbd199334b4022", "lastOpenFiles": [ - "Internet snippets/Comprendre l'islam.md", - "Reading list/@Reading master.md", + "Networks/Postfix config.md", + "Networks/Tools Server.md", "Networks/Domains.md", - "Networks/mfxm Website Scope.md", - "Travels/Jazz Route (US).md", - "Travels/@Travels.md", - "Travels/Ethiopia.md", - "Internet snippets/Torto Arado.md", - "Internet snippets/The Good Men.md", - "Internet snippets/The Girls.md" + "Internet snippets/Mating.md", + "Reading list/@Reading master.md", + "Life Orga/Life Admin.md", + "Life Orga/Lifestyle.md", + "Life Orga/@Life Organisation.md", + "Networks/Selfhosting.md", + "Networks/VPS Console Dialogue.md" ] } \ No newline at end of file diff --git a/Networks/Domains.md b/Networks/Domains.md index 0cee9523..eae59068 100644 --- a/Networks/Domains.md +++ b/Networks/Domains.md @@ -57,7 +57,7 @@ style: number |---------------|----------|------------ | **[[@lebv.org\|lebv.org]]** | Email & family archive | family email service; family archive website |

**lebastart.fr**

| Email | Secure email service ([[Tutanota]]) -|

**mfxm.fr**

| [[Selfhosting\|Self-hosting]] Tools | [[NextCloud]], [[Alias Server\|Email Alias]], [[mfxm Website Scope#URL Shortening\|URL Shortening]] +| **[[mfxm Website Scope\|mfxm.fr]]** | [[Selfhosting\|Self-hosting]] Tools | [[NextCloud]], [[Alias Server\|Email Alias]], [[mfxm Website Scope#URL Shortening\|URL Shortening]]   diff --git a/Networks/Postfix config.md b/Networks/Postfix config.md index 258e7072..1316c8e2 100644 --- a/Networks/Postfix config.md +++ b/Networks/Postfix config.md @@ -231,7 +231,7 @@ title: Documentation #### Incoming -1. **Ports** +##### Ports Ports (25, 465, 587) need to be opened by the firewall: @@ -239,13 +239,13 @@ Ports (25, 465, 587) need to be opened by the firewall:   -2. **Networks** +##### Networks Definition of permitted networks to restrict access (in [[Postfix config#Main cf|main.cf]]).   -3. **Submission/SMTPD** +##### Submission/SMTPD ```ad-info title: File path @@ -256,19 +256,35 @@ Options are coded in the file by default. Uncheck necessary directives.   -4. **SSL cert** +##### SSL cert Postfix SSL certs need to match that of the server (in [[Postfix config#Main cf|main.cf]]).   -5. **SASL** +##### SASL [Tutorial](https://github.com/webmin/webmin/issues/58)   +##### Add SASL users + +```ad-bug +title: add a user +`sudo saslpasswd2 -c -u (mydomain.tld) (username)` +``` + +```ad-bug +title: check number of users +`sudo sasldblistusers2` +``` + +  + #### Outgoing +Allow for connecting to an external SMTP - not tested. +     \ No newline at end of file diff --git a/Networks/Tools Server.md b/Networks/Tools Server.md index 7b45a50c..42f440cf 100644 --- a/Networks/Tools Server.md +++ b/Networks/Tools Server.md @@ -321,6 +321,17 @@ title: Config file   +```ad-bug +title: email setup +Gitea can work on internal mail points through: +>ENABLED = true +>FROM = (user addresss) +>USE_SENDMAIL = false +>HOST = (hostname):25 +``` + +  + ---