hosts:virtual_machines:web:mail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hosts:virtual_machines:web:mail [2023/02/21 20:20] – tcmal | 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) | | ||
Line 12: | Line 13: | ||
- Postfix receives an incoming SMTP connection | - Postfix receives an incoming SMTP connection | ||
- | - Postfix queries [[hosts: | + | - Postfix queries [[hosts: |
- Postfix checks it with rspamd | - Postfix checks it with rspamd | ||
- If rspamd decides we should deliver it, we pass it to dovecot through LMTP | - If rspamd decides we should deliver it, we pass it to dovecot through LMTP | ||
- | - Dovecot queries [[hosts: | + | - Dovecot queries [[hosts: |
- The user then uses their MUA to access their mailbox through dovecot (over IMAP) | - The user then uses their MUA to access their mailbox through dovecot (over IMAP) | ||
Line 22: | Line 23: | ||
- Postfix receives an SMTP connection on port 587 | - Postfix receives an SMTP connection on port 587 | ||
- The user authenticates, | - The user authenticates, | ||
- | - Dovecot uses bind authentication against our [[hosts: | + | - Dovecot uses bind authentication against our [[hosts: |
- Postfix cleans up the headers and passes it to OpenDKIM to do signing | - Postfix cleans up the headers and passes it to OpenDKIM to do signing | ||
- Postfix sends the signed message to wherever it needs to go | - Postfix sends the signed message to wherever it needs to go | ||
Line 32: | Line 33: | ||
===== Configuration locations ===== | ===== Configuration locations ===== | ||
- | Managed declaratively using [[https:// | + | Managed declaratively using [[https:// |
===== Adding a custom domain ===== | ===== Adding a custom domain ===== | ||
Line 45: | Line 46: | ||
* This happens because dovecot creates the initial directory as belonging to whatever user first received mail, which will break as soon as any other user tries to use it, including dovecot' | * This happens because dovecot creates the initial directory as belonging to whatever user first received mail, which will break as soon as any other user tries to use it, including dovecot' | ||
- Login to IMAP or Webmail using your new email address (with domain), and your regular Tardis password. | - 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:// | ||
+ | - [[https:// | ||
hosts/virtual_machines/web/mail.1677010837.txt.gz · Last modified: 2023/02/21 20:20 by tcmal