User Tools

Site Tools


hosts:virtual_machines:web:mail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
hosts:virtual_machines:web:mail [2023/02/21 20:20] tcmalhosts:virtual_machines:web:mail [2023/02/23 01:44] netbox
Line 1: Line 1:
 [[meta:autogen:start|​]] [[meta:autogen:start|​]]
 +===== Mail =====
 ^ Name | Mail | ^ Name | Mail |
 ^ Ports | 993, 587, 143, 465, 25 (tcp) | ^ Ports | 993, 587, 143, 465, 25 (tcp) |
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's internal users     * 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's internal users
   - 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''v=spf1 a:mail.tardisproject.uk -all''
 +  - Add a DKIM record: A TXT Record at ''dkim2._domainkey'' with value ''v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCdBQ6Y4RwXECU1dQy/LUHDmPPPDjbSPDWdxP+CQDLnQQGLQMNehkBqdHhuBzknJHlvj5CJ7NWFGxO0mcGZo7ojPgDZ718m0W7sBgPyDRq8PU0WCVXD1PBJFfe7+IssTm1s84ba9iHzlUFXVmixMIQPhJaj63gia367xDrr98IFYwIDAQAB''
 +  - Add a DMARC record: A TXT Record at ''_dmarc'' with value ''v=DMARC1; p=none; rua=mailto:dmarc@tardisproject.uk; aspf=s;''
 +  - Add your domain to the opendkim domains list [[https://git.tardisproject.uk/tardis/nix/-/blob/main/profiles/services/email/opendkim.nix#L13|here]] and redeploy.
 +  - [[https://www.mail-tester.com/|Test it]]. This is meant for newsletters so it will mention some irrelevant stuff, but both SPF and DKIM should pass.
  
  
hosts/virtual_machines/web/mail.txt · Last modified: 2023/08/30 17:55 by tcmal