docs: add all untracked content
This commit is contained in:
42
Mail.md
Normal file
42
Mail.md
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
title: Mail
|
||||
description: Overview of mail settings, and sending system mail.
|
||||
published: true
|
||||
date: 2022-04-30T20:10:37.995Z
|
||||
tags: config, mail
|
||||
editor: markdown
|
||||
dateCreated: 2021-08-27T14:00:37.062Z
|
||||
---
|
||||
|
||||
# Mail
|
||||
A bunch of stuff still use mail unfortunately.
|
||||
|
||||
Below are the deets on how to point Containers to the SMTP mailbox I set up, and how to send system mail.
|
||||
|
||||
## Container mail via SMTP
|
||||
|
||||
Use the following credentials:
|
||||
```yml
|
||||
host: smtp.mail.yahoo.com
|
||||
port: 587
|
||||
username: "pukekoxyz"
|
||||
password: "pvefngmuhcxunzqs"
|
||||
sender: pukekoxyz@yahoo.com
|
||||
```
|
||||
`takahe@pukeko.xyz` may also work as I've set up a relay - not tested.
|
||||
`matan@pukeko.xyz` point to my ProtonMail address - similarly untested.
|
||||
|
||||
## System mail via `sendmail`
|
||||
Gentoo mailing is... weird. Postfix works as is (see [here](https://wiki.gentoo.org/wiki/Postfix)), but `mailx` appears not to, sticking us with `sendmail`.
|
||||
|
||||
To send an acceptable (not pretty - acceptable) mail run:
|
||||
`echo "Subject: [subject]" | sendmail -F "Takahe" -f "takahe@pukeko.xyz" -t matanhorovitz@protonmail.com <<< $([message-body])`
|
||||
> Example: Tacocat!
|
||||
`echo "Subject: tacocat" | sendmail -F "Takahe" -f "takahe@pukeko.xyz" -t matanhorovitz@protonmail.com <<< $(echo tacocat)`
|
||||
{.is-info}
|
||||
|
||||
So long as it works, right?
|
||||
|
||||
## Nextcloud mail
|
||||
Nextcloud requires STARTTLS on port 25 - see this example:
|
||||

|
||||
Reference in New Issue
Block a user