1.3 KiB
title, description, published, date, tags, editor, dateCreated
| title | description | published | date | tags | editor | dateCreated |
|---|---|---|---|---|---|---|
| Overview of mail settings, and sending system mail. | true | 2022-04-30T20:10:37.995Z | config, mail | markdown | 2021-08-27T14:00:37.062Z |
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:
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), 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?
