swaks
Swiss Army Knife SMTP, the all-purpose SMTP transaction tester. More information: https://github.com/jetmore/swaks/blob/develop/doc/base.pod.
- Deliver a standard test email to
user@example.comon port 25 oftest-server.example.net:
swaks
- Deliver a standard test email, requiring CRAM-MD5 authentication as user
me@example.com. An "X-Test" header will be added to the email body:
swaks --header-X-Test ""
- Test a virus scanner using EICAR in an attachment. Don't show the message DATA part:
swaks --attach -
- Test a spam scanner using GTUBE in the body of an email, routed via the MX records for
example.com:
swaks --body
- Deliver a standard test email to
user@example.comusing the LMTP protocol via a UNIX domain socket file:
swaks --socket --protocol
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
