en:for_admin:emails
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:for_admin:emails [2024/12/30 02:55] – removed - external edit (Unknown date) 127.0.0.1 | en:for_admin:emails [2024/12/30 03:22] (current) – mkadlof | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Emails ====== | ||
+ | This article describes how to configure the Eden cluster servers to send email notifications. | ||
+ | 1. Remove all unnecessary interfering packages: | ||
+ | |||
+ | apt purge postfix* exim* mailutils* sendmail* | ||
+ | apt autoremove | ||
+ | |||
+ | 2. Install the MTA (Mail Transport Agent) program called '' | ||
+ | |||
+ | apt install msmtp | ||
+ | |||
+ | 3. Add the configuration file ''/ | ||
+ | |||
+ | defaults | ||
+ | auth off | ||
+ | tls off | ||
+ | account default | ||
+ | host poczta.mini.pw.edu.pl | ||
+ | port 25 | ||
+ | from < | ||
+ | logfile / | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | Update the sending server' | ||
+ | </ | ||
+ | |||
+ | 4. Link the '' | ||
+ | |||
+ | ln -s / | ||
+ | |||
+ | 5. Create the ''/ | ||
+ | |||
+ | touch / | ||
+ | chown msmtp:root msmtp | ||
+ | chmod 660 msmtp | ||
+ | |||
+ | 6. Create a '' | ||
+ | |||
+ | / | ||
+ | daily | ||
+ | rotate 7 | ||
+ | compress | ||
+ | delaycompress | ||
+ | missingok | ||
+ | notifempty | ||
+ | create 660 msmtp root | ||
+ | } | ||
+ | |