Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
email:simplesetup [2025/02/16 19:51] – [Simple Email Setup] willy | email:simplesetup [2025/03/02 16:14] (current) – removed willy | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Simple Email Setup ====== | ||
- | |||
- | The home server should always be able to send out emails for stuff like notifications. This is true even if you host your email server, because as i say [[selfhost: | ||
- | |||
- | The Gentoo default **mail-mta/ | ||
- | |||
- | <code bash> | ||
- | emerge mail-mta/ | ||
- | </ | ||
- | |||
- | ===== Configuration ===== | ||
- | |||
- | I assume you already have a mail domain somewhere linked to your **@mydomain.com**, | ||
- | |||
- | All the following files need to be under **/ | ||
- | <file - adminaddr> | ||
- | myself@mydomain.com | ||
- | </ | ||
- | |||
- | <file - defaultdomain> | ||
- | mydomain.com | ||
- | </ | ||
- | |||
- | <file - defaulthost> | ||
- | |||
- | </ | ||
- | |||
- | <file - me> | ||
- | |||
- | </ | ||
- | |||
- | <file - remotes> | ||
- | mail.mydomain.com smtp port=587 user=home@mydomain.com pass=**** starttls | ||
- | </ | ||
- | |||
- | ===== Usage ===== | ||
- | |||
- | Try it from the command line: | ||
- | <code bash> | ||
- | (echo " | ||
- | </ | ||
- | |||
- | |||
- | |||