https://github.com/russelljjarvis/asu_email
scripts for debugging asu email.
https://github.com/russelljjarvis/asu_email
Last synced: 3 months ago
JSON representation
scripts for debugging asu email.
- Host: GitHub
- URL: https://github.com/russelljjarvis/asu_email
- Owner: russelljjarvis
- Created: 2020-09-02T02:50:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T03:42:08.000Z (almost 5 years ago)
- Last Synced: 2025-01-10T03:18:52.628Z (5 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview:
Script(s) for debugging asu email.## TODO:
create a "round-trip test". This requires:
* local unix based email server needs to be able to receive email.
* myasu email needs a forwarding rule setup, to auto-forward email pertaining to crontab test-mails.
* crontab sends email, this triggers a timer to start a stop watch to time measure elapsed time until local unix mail client receives the mail from myASU (completing the round trip).
* Mean and std dev of round trip mail latencies can be computed. Annomolies can then be investigated at the email header level of resolution.## Installation
Confirm tools exhist, and if not install.* Check if mail is installed on your system.
try to launch with command `mail` or `mailx` on OSX. If its not installed:If on Ubuntu:
```
sudo apt-get install mailutils
```
On OSX
```
brew install mailx
```
## Test:
```
echo Message Body | mail -s Message Subject [email protected]
```
send email is contained in this directory. Make sure it is executable.
```
chmod +x $HOME/scripts/send_email.sh
```
## Schedule:
```
0 0 * * 1,3,5 $HOME/scripts/send_email.sh >> $HOME/tmp/out 2>&1
```