User Tools

Site Tools


exim4:test_sending_emails

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
exim4:test_sending_emails [2016/11/07 11:28] peterexim4:test_sending_emails [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 54: Line 54:
 </code> </code>
  
 +
 +===== Using swaks =====
 +
 +<code bash>
 +apt-get install swaks libnet-ssleay-perl
 +</code>
 +
 +Test the connection:
 +
 +<code bash>
 +swaks -a -tls -q HELO -s localhost -au your_user -ap '<>'
 +</code>
 +
 +Result
 +
 +<code>
 + === Trying localhost:25...
 + === Connected to localhost.
 + < 220 debianwb ESMTP Exim 4.76 Thu, 04 Aug 2011 14:22:02 +0600
 +  -> EHLO debianwb
 + < 250-debianwb Hello localhost [127.0.0.1]
 + < 250-SIZE 52428800
 + < 250-PIPELINING
 + < 250-STARTTLS
 + < 250 HELP
 +  -> STARTTLS
 + < 220 TLS go ahead
 + === TLS started w/ cipher DHE-RSA-AES256-SHA
 +  ~> EHLO debianwb
 + < 250-debianwb Hello localhost [127.0.0.1]
 + < 250-SIZE 52428800
 + < 250-PIPELINING
 + < 250 HELP
 +  ~> QUIT
 + < 221 evie closing connection
 +</code>
 +
 +Note that above we are sending an empty password while testing with the swaks tool.
  
  
exim4/test_sending_emails.1478518092.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki