Send mail from file¶
Swaks¶
export FROM=varac@dev.bitmask.net; export TO=varac@dev.bitmask.net
swaks -f $FROM -t $TO --body .gtube
Test TLS¶
Special chars¶
swaks -f $FROM -t $TO \
--header "Content-Type: text/plain; charset='utf-8'\nSubject: special char test: öäüß@øñ€" \
--body "special char body test: öäüß@øñ€"
Use smtps port¶
Attachment¶
smtp auth and tlsc¶
swaks -f $FROM -t $TO --tlsc -au varac -ap xxx
swaks --to $TO --from $FROM --auth LOGIN --auth-user $FROM --server mail.example.org \
--protocol SSMTP -4
Postfix Stresstest¶
20 connections in parallel, 50kB each, 100 mails = 5mB total: