Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup mail server #7

Open
andrey-utkin opened this issue Jan 13, 2016 · 5 comments
Open

Setup mail server #7

andrey-utkin opened this issue Jan 13, 2016 · 5 comments

Comments

@andrey-utkin
Copy link
Contributor

mailto:[email protected] is required to be responsive

@andrey-utkin
Copy link
Contributor Author

Add notes and automatic checks for:

DMARC requires setup of dedicated mailbox.

http://dkimcore.org/c/keycheck is a tool to check DKIM records.

http://www.mail-tester.com is great tool to check correctness trustworthiness of setup.

https://ssl-tools.net/mailservers/decent.im correctness and features test.

@andrey-utkin
Copy link
Contributor Author

andrey-utkin commented Jan 23, 2017

Not willing to mess with DKIM/DMARC.

What makes sense on initial stage is reception of email, e.g. abuse reports (and of confirmation email by xmpp.org directory maintainers...). Received email can be forwarded to all devs addresses, or stored in local maildir.

@andrey-utkin
Copy link
Contributor Author

Parts of solution learnt from playing with staging server:

  • emerge exim with USE="maildir lmtp sasl doc syslog" (maybe sasl and doc are not really needed)
  • exim with default config works well (cp /etc/exim/exim.conf{.dist,})
  • create non-root user for email receival because exim refuses to receive for root
  • define /etc/mail/aliases root, operator, xmpp to that user
  • test with https://mxtoolbox.com/SuperTool.aspx
  • test with https://www.wormly.com/test-smtp-server sending to abuse@ and/or xmpp@
  • mutt launched without args opens the right maildir

@andrey-utkin
Copy link
Contributor Author

Set up manually on both staging and production. Nothing added to our repos because that's none of our business how/whether other setups' owners want to run mail service.

@andrey-utkin
Copy link
Contributor Author

Considering making above notes a part of sysadmin documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant