![]() ![]() Report all the recipients in a text file that are non-verifiable: for E in `cat /path/to/email/file` swaks -to -body /path/to/gtube/file Test List of Fake Email Addressees Test a spam scanner using GTUBE in the body of an email. attach switch can be used to specify attachment. swaks -t -attach -suppress-data < /path/to/eicar.txt Test a virus scanner using EICAR in an attachment. You can verify this by checking your Gmail’s sent folder! □ Send EICAR Virus Test Email Mail will be delivered from authenticated Gmail account. Sending a test mail using Gmail’s SMTP server swaks -t -s :587 -tls -a LOGINĪbove will prompt your gmail username and password. Or you will see error/reason for not sending mail in output. ![]() If accepts your mail, a case of open-relay, your mail will be through. If your localhost cannot send mail, you can specify a reliable SMTP server using: swaks -to -server Sending a test mail using any SMTP server Note: When you use your local machine, please make sure to check spam/junk folder on destination mail server. When run without any parameter, it will use localhost/sendmail program as SMTP server and prompt for to email address. Installation On Ubuntu apt-get install swaks On Mac brew install swaks Usage Sending a test mail via localhost swaks -to can simply run swaks without any parameter as well. Subject line is set to date & time which is again useful while debugging. One more thing I like about swaks is automatically create subject and body content. Also it makes finding non-verifiable emails easy from list of email addresses. I like swaks because it make testing many things easy e.g. email delivery, SMTP server, GTUBE spam test, EICAR virus test, attachment test, gmail smtp test. If you deal with mail-server setup and administration, you will fall in love with swaks ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |