Set System Email Address

You can setup email address for cron, logwatch and other system notifications.

How to Use:

curl -L https://raw.githubusercontent.com/amimoto-ami/set-mail-aliases/master/set-mail-aliases.sh | sudo bash -s <you@example.com>

If you would get warnings like the following, please remove aliases from /etc/aliases and run sudo newaliases.

/etc/aliases: line 99: root... Warning: duplicate alias name root
/etc/aliases: line 100: ec2-user... Warning: duplicate alias name ec2-user
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk