Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lwc:linux:setup [2021/09/22 14:37] – [Optional] John Harrison | lwc:linux:setup [2021/10/19 20:06] (current) – John Harrison | ||
---|---|---|---|
Line 15: | Line 15: | ||
* add public rsa | * add public rsa | ||
* logout, login to test that cert is working | * logout, login to test that cert is working | ||
- | * '' | + | * '' |
* '' | * '' | ||
- | * copy '' | + | * in home directory |
- | + | ||
- | ==== Postfix email relay with AWS SES on Linode Ubuntu 20.04 ==== | + | |
- | (based off of [[https:// | + | |
- | < | + | |
- | sudo apt install -y postfix | + | |
- | sudo cp / | + | |
- | sudo postconf -e " | + | |
- | sudo sh -c 'echo [email-smtp.us-west-2.amazonaws.com]: | + | |
- | sudo postmap hash:/ | + | |
- | sudo chown root:root / | + | |
- | sudo chmod 0600 / | + | |
- | sudo postconf -e ' | + | |
- | sudo cp / | + | |
- | sed -e ' | + | |
- | sudo sh -c 'echo inet_interfaces = loopback-only >> / | + | |
- | sudo postfix stop; sudo postfix start; sudo postfix reload | + | |
- | </code> | + | |
- | === Force the From address in Postfix === | + | |
- | from [[https://serverfault.com/ | + | |
- | < | + | |
- | echo " | + | |
- | echo " | + | |
- | echo " | + | |
- | echo "/ | + | |
- | echo "/ | + | |
- | sudo postfix stop; sudo postfix start; sudo postfix reload | + | |
- | </ | + | |
- | === test === | + | |
- | < | + | |
- | sendmail -f sender@example.com recipient@example.com # -f allows you to specify from and is not required | + | |
- | From: Sender Name < | + | |
- | Subject: Amazon SES Test | + | |
- | This message was sent using Amazon SES. | + | |
- | . | + | |
- | </ | + | |
- | === Tips === | + | |
- | * postfix should be set up with no configuration. When you do this, there are instructions given at the end to copy some sort of sample configuration. | + | |
- | * to reconfigure: | + | |
- | * to reload the settings: '' | + | |
- | * when testing '' | + | |
==== Optional ==== | ==== Optional ==== | ||
- | * get current hostname: '' | + | * consider [[lwc:linux: |
- | * set hostname with '' | + |