Diff for "TechDocs/TechnicalProcesses/CreateMailAlias"

Differences between revisions 3 and 4
Revision 3 as of 2021-01-12 15:43:55
Size: 1524
Editor: linus
Comment:
Revision 4 as of 2023-01-19 09:24:47
Size: 1644
Editor: tobiasd
Comment: added note that the document moved to docs.fsfe.org
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

{{{#!wiki warning
'''This page has been moved to docs.fsfe.org with the rest of the sysadmin documentation.'''
}}}

Mail Aliases

This page has been moved to docs.fsfe.org with the rest of the sysadmin documentation.

In the FSFE we often use email aliases to forward mails from one address to another. This can be used for:

  • changed user names
  • addresses for the president or executive director
  • list of people which are not worth or suitable to form a Mailman mailing list

Add or edit an alias

All aliases are defined in the ansible playbook for our mail servers (currently mail1 and list1). Please don't do any edits on the servers itself as all changes would be overwritten with the next playbook run.

Assuming that you would like to add or edit an alias for the @fsfe.org domain, execute following steps:

  1. In your terminal, go to the ansible playbook's directory
  2. Execute ansible-vault edit host_vars/mail1.fsfe.org. The file has to be encrypted with your GPG key, otherwise you are not able to view or edit the file.

  3. In the editor which has been opened, you can edit the values. In the correct section, an example entry could be "test@fsfe.org": "user_1@fsfe.org, user_2@fsfe.org"

  4. Push the changes to the mail server by running the playbook only on the mail1 host as root user and only the aliases tag: ansible-playbook -i inventory/hosts -l mail1.fsfe.org -t aliases -u root site.yml

  5. Optional: You can check whether everything is alright on the server mail1.fsfe.org in the file /etc/postfix/domains/fsfe.org.

  6. If everything is OK, commit and push your changes to the fsfe-mail repository.

TechDocs/TechnicalProcesses/CreateMailAlias (last edited 2023-01-19 09:24:47 by tobiasd)