1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-28 22:15:56 +00:00

Move swaks-tests into etc for #79

This commit is contained in:
James Hillyerd
2018-04-07 17:22:44 -07:00
parent e8f57fb4ed
commit 7e71b4a42c
11 changed files with 0 additions and 0 deletions

30
etc/swaks-tests/README.md Normal file
View File

@@ -0,0 +1,30 @@
swaks-tests
===========
[Swaks](http://www.jetmore.org/john/code/swaks/) - Swiss Army Knife for SMTP
Swaks gives us an easy way to generate mail to send into Inbucket. You will need to
install Swaks before you can use the provided scripts.
## Usage
To deliver a batch of test email to the `swaks` mailbox, assuming Inbucket SMTP is listening
on localhost:2500:
./run-tests.sh
To deliver a batch of test email to the `james` mailbox:
./run-tests.sh james
You may also pass swaks options to deliver to a alternate host/port:
./run-tests --server inbucket.mydomain.com:25
To specify the mailbox with an alternate server, use `--to` with a local and host part:
./run-tests --server inbucket.mydomain.com:25 --to james@mydomain.com
## To Do
Replace Swaks with a native Go solution.