Tmp_file_location=/home/david/s3-emails/tmpemails/*īase_location=/home/david/s3-emails/emails/ # Retrieve new messages from S3 and save to tmpemails/ directory: After you take a few moments to look it over, I'll walk you through it one step at a time. Here's the complete script all in one piece. While I wrote this script for use on my Ubuntu Linux desktop, it wouldn't require too much fiddling to make it work on a macOS or Windows 10 system through Windows SubSystem for Linux. So I decided to write a Bash script to automate the process of downloading, properly storing, and viewing new messages. The problem with that solution was that I had SES save new messages to an S3 bucket, and using the AWS Management Console to read files within S3 buckets gets stale really fast. As you can read in this article, I recently had some trouble with my email server and decided to outsource email administration to Amazon's Simple Email Service (SES).
0 Comments
Leave a Reply. |