Skip to content

How/can you test Haraka locally #3190

Answered by nogginbox
nogginbox asked this question in Q&A
Discussion options

You must be logged in to vote

By learning some simple SMTP commands I found I could test it locally using telnet. Here is a simple example of sending an email to my server:

telnet localhost 25
> 220 localhost v9.0.3.0 ESMTP ready

ehlo sender.co
> 250-localhost Hello sender.co, haven't we met before?

mail from:<[email protected]>
> 250 Ok

rcpt to:<[email protected]>
> 250 Ok

data
> 354 end with <CRLF>.<CRLF>

Subject: Test Email
Date: Tue, 18 Jul 2023 21:41:00
From: [email protected]
To: [email protected]
Message-Id: <[email protected]>

Test content as descibed in the RFC http://www.faqs.org/rfcs/rfc2822.html.
.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@msimerson
Comment options

Answer selected by nogginbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants