Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
talset authored May 2, 2024
1 parent 7bdba0f commit 53a59ec
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ There are two addition: `email-tls-skip-verify` and `email-addr-to`. If you are
## Quick start

```
wget https://github.com/cycloidio/cy-smtp/releases/download/v0.2.1/cy-smtp-v0.2.1-linux-amd64.tar.gz
wget https://github.com/cycloidio/cy-smtp/releases/download/v0.2.3/cy-smtp-v0.2.3-linux-amd64.tar.gz
tar xf cy-smtp-v*-linux-amd64.tar.gz
./cy-smtp --config-file /opt/config.yml
export SMTP_FROM=$(grep email-addr-from config.yml | sed 's@"@@g;s@<@@g;s@>@@g' | sed -E 's/.* ([^ ]+@[^ ]+)/\1/')
export SMTP_RETURN=$(grep email-addr-return-path config.yml | sed 's/"//g' | awk '{print $2}')
./cy-smtp --config-file /opt/config.yml -f $SMTP_FROM -t $SMTP_RETURN
```

0 comments on commit 53a59ec

Please sign in to comment.