Mail » History » Revision 6

Revision 5 (Marc Dequènes, 2021-05-29 10:41) → Revision 6/8 (Marc Dequènes, 2021-05-29 10:58)

h1. Mail 

 h2. MTA-STS 

 We support MTA-STS (RFC8461): we publish a generated policy and hooked a resolver to Postfix. 

 h2. DANE 

 Our zones are DNSSEC secured and we publish DANE-EE TLSA DNS records for the leaf certificates. Postfix is configured to validate if the records are available. 

 h2. SPF / DKIM / DMARC 

 These are flawed: 

 The world did not deploy SRS massively, mailing-lists are still common and often altering the mail, we do support SMTP SUBMISSION for roaming users but many providers or companies still block legitimate ports, mail forwarding and redirections on another domain are also useful features, so we decided to not implement these. 

 h2. Checks 

 * "Hardenize": does extensive checks for mail; it is a bit excessive about accepted ciphers: it's still better to do opportunistic TLS with a medium strengh cipher than go encrypted 
 * "HaveDANE": is our SMTP server properly validating DANE? 
 * *posttls-finger* tool 


 h2. Mailing-Lists 

 We are using Mailman 3. Users may create an account on the UI but that's not compulsory unless they wish to set specific delivery settings. LDAP auth is missing at the moment (see #724). 

 To manage lists one need an account with superuser rights but the UI does not provide such feature; it can be created on the command line though: 
 django-admin createsuperuser --pythonpath /usr/share/mailman3-web --settings settings --username <user> --email <mail-addr> 
 A normal account can be upgraded or downgraded by changing the flags in the database. The _is_superuser_ flag gives access too all list creation and editing feature for the whole instance. To manage Sites and maybe also Mail Domains the _is_staff_ flag is needed. 

 Certain shell commands are available to manage: 
 * the mailman 3 core (routing daemon): mailman-wrapper <command> <options> 
 * the UI: django-admin --pythonpath /usr/share/mailman3-web --settings settings <command> <options>