Since 10 November our faculty has a new website! The old website will still be available at oldwww.fi.muni.cz for now. Something is broken? Please report it to webmaster@fi.muni.cz or use our webform.

translated by Google

Configure your local mail system

Without e-mail redirection, mails for the root are delivered to the address root@fi.muni.cz (or generally mails for users login arrives at login@fi.muni.cz ). For redirection you need to create an alias and correctly configure a mail system that supports aliases (eg Postfix, Exim).

Create a mail alias

Aliases are stored in a file /etc/aliases (resp. /etc/mail/aliases ). The location of the file depends on the mail system you are using. To create / edit aliases, you must be logged in as root . For redirecting mail to users root add a line

root: login@fi.muni.cz

After each change in the file, you must run the command newaliases , which updates the alias database. For more information about aliases, see man 5 aliases .

Hostname settings

Make sure you have the correct hostname, including the domain:

$ hostname
vasstroj.fi.muni.cz

On systems with systemd you can set the hostname with the command hostnamectl :

# hostnamectl set-hostname vasstroj.fi.muni.cz

Redirecting mails generated by the command sudo

For redirecting shape mails *** SECURITY information for XY.fi.muni.cz *** to a different address than default by using the command visudo into a file /etc/sudoers line

Defaults mailto = adresa

Redirecting mails from cron

To redirect emails from the cron, you need to add a row to the file from which the tasks are triggered before the task definition

MAILTO=login@fi.muni.cz

Problem solving

If you encounter problems when configuring, the mail system logs usually located in the mail system may be useful /var/log/mail* , /var/log/postfix or /var/log/exim*/ . Locate the contents of the local mail queue mailq . If you encounter something you do not know about, we'll advise you unix@fi.muni.cz .