RSS Amplifier

Blog Title · Aug 11, 2020

Automating SMTP testing with nc

0
Sign in to vote or save

This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.

Piping SMTP commands directly into nc doesn't work very well. What's needed is a pause before each command. Something like this cat "mail.txt" |while read L; do sleep "1"; echo "$L"; done | "nc" -C -v "smtp.example.com" "25"

Piping SMTP commands directly into nc doesn't work very well. What's needed is a pause before each command. Something like this

cat "mail.txt" |while read L; do sleep "1"; echo "$L"; done | "nc" -C -v "smtp.example.com" "25"

Read on example.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.