hosts:virtual_machines:web:mail
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| hosts:virtual_machines:web:mail [2023/02/21 01:30] – created netbox | hosts:virtual_machines:web:mail [2023/08/30 17:55] (current) – [Configuration locations] tcmal | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[meta: | [[meta: | ||
| + | ===== Mail ===== | ||
| ^ Name | Mail | | ^ Name | Mail | | ||
| ^ Ports | 993, 587, 143, 465, 25 (tcp) | | ^ Ports | 993, 587, 143, 465, 25 (tcp) | | ||
| ^ | [[https:// | ^ | [[https:// | ||
| [[meta: | [[meta: | ||
| - | ====== NAME ====== | ||
| - | ^ Port(s) | | | + | Sends and receives email. |
| - | ^ Publicly Accessible? | + | |
| - | ^ Upstream | + | |
| - | Brief description of what the service | + | If not used to the jumble of services used for mail, [[https:// |
| + | |||
| + | When receiving: | ||
| + | |||
| + | - Postfix receives an incoming SMTP connection | ||
| + | - Postfix queries [[hosts: | ||
| + | - Postfix checks it with rspamd | ||
| + | - If rspamd decides we should deliver it, we pass it to dovecot through LMTP | ||
| + | - Dovecot queries [[hosts: | ||
| + | - The user then uses their MUA to access their mailbox through dovecot (over IMAP) | ||
| + | |||
| + | When sending: | ||
| + | |||
| + | - Postfix receives an SMTP connection on port 587 | ||
| + | - The user authenticates, | ||
| + | - Dovecot uses bind authentication against our [[hosts: | ||
| + | - Postfix cleans up the headers and passes it to OpenDKIM to do signing | ||
| + | - Postfix sends the signed message to wherever it needs to go | ||
| ===== Data directories ===== | ===== Data directories ===== | ||
| - | * ''/ | + | * ''/ |
| ===== Configuration locations ===== | ===== Configuration locations ===== | ||
| - | | + | Managed declaratively using [[https:// |
| + | |||
| + | ===== Adding a custom domain ===== | ||
| + | |||
| + | ==== Receiving ==== | ||
| + | |||
| + | - Set the MX of the domain to '' | ||
| + | - Add the new domain to the '' | ||
| + | - Add '' | ||
| + | - Send a test email to one of the new emails. You should see a directory created in ''/ | ||
| + | - This folder needs its permissions fixed, so run '' | ||
| + | | ||
| + | - Login to IMAP or Webmail using your new email address (with domain), and your regular Tardis password. | ||
| + | |||
| + | ==== Sending ==== | ||
| + | |||
| + | - Do everything for receiving above | ||
| + | - Add an SPF record: A TXT Record at root with value'' | ||
| + | - Add a DKIM record: A TXT Record at '' | ||
| + | - Add a DMARC record: A TXT Record at '' | ||
| + | - Add your domain to the opendkim domains list [[https://git.tardisproject.uk/ | ||
| + | - [[https:// | ||
| + | |||
| + | |||
| + | ==== Extra Stuff ==== | ||
| + | |||
| + | If you'd like to have setting autodiscovery work in clients like Outlook and Thunderbird, | ||
| + | < | ||
| + | <?xml version=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
hosts/virtual_machines/web/mail.1676943021.txt.gz · Last modified: 2023/02/21 01:30 by netbox
