mail_swaks
This is an old revision of the document!
Installing SWAKS
Swaks can be found in the epel repository. Make sure you have this repo enabled and then run:
# yum install swaks -y
Testing your local mail server
The following command tests your local mail configuration (postfix). This includes the relay that may be configured with it.
swaks --to [email protected] --server 127.0.0.1 -from [email protected]
Testing the relay host
The following command will send mail directly to the relay (for example sendgrid or mailgun).
Change “username” to the username you normally authenticate with to the relay host and you will be prompted for a password once you run the following command:
swaks --to [email protected] --server smtp.sendgrid.net:587 --auth-user username -tls
mail_swaks.1495006308.txt.gz · Last modified: 2024/05/23 07:26 (external edit)