swaks is acronym for Swiss Army Knife SMTP. swaks is command line SMTP testing including TLS and AUTH.
this tool offering an optional to testing your mail server easier than using telnet.
swaks requirements is :
--rmplib
--perl
how to install?
to install swaks, you need to download it first :
sidiq:~ # wget ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/mfladischer/SLE_10/i586/swaks-20061116.0-13.1.i586.rpm
sidiq:~ # rpm -Uvh swaks-20061116.0-13.1.i586.rpm
now lets start to test swaks
sidiq:~ # swaks --to nick@domain.com --from user@mydomain.com *** MX Routing not available: requires Net::DNS. Using localhost as mail server === Trying localhost:25... === Connected to localhost. <- 220 mail.mydomain.com ESMTP Postfix -> EHLO reloadcenter.com <- 250-mail.mydomain.com <- 250-PIPELINING <- 250-SIZE 10240000 <- 250-VRFY <- 250-ETRN <- 250-AUTH LOGIN PLAIN <- 250-ENHANCEDSTATUSCODES <- 250-8BITMIME <- 250 DSN -> MAIL FROM:<- 250 2.1.0 Ok -> RCPT TO: <- 250 2.1.5 Ok -> DATA <- 354 End data with . -> Date: Thu, 20 Aug 2009 23:57:39 +0000 -> To: nick@domain.com -> From: user@mydomain.com -> Subject: test Thu, 20 Aug 2009 23:57:39 +0000 -> X-Mailer: swaks v20061116.0 jetmore.org/john/code/#swaks -> -> This is a test mailing -> -> . <- 250 2.0.0 Ok: queued as 8CF41A8084B -> QUIT <- 221 2.0.0 Bye === Connection closed with remote host.
No comments:
Post a Comment