Idea: SMTP shell
During my $DAY_JOB I find myself typing in the same stuff into SMTP sessions. Recently I got to thinking that an SMTP shell would be useful -- command-line history, ability to repeat commands, sequences of commands, search through the history, etc. Replaying DATA would not only do the DATA command, but also the data that you typed in.
So I put it on my to-do list. But you can achieve most of what I wanted using netcat and perl (Linux example):
cat<<EOT > session.smtp
MAIL FROM:<fred@company.com>
RCPT TO:<melissa@company.com>
DATA
Subject: boo!
.
QUIT
EOT
perl -pe 's/\n/\r\n/' session.smtp | nc mail.company.com smtp
It would still be useful to have an SMTP shell for recording sessions, so you choose to play back bits later. E.g.: replay this, but negotiate export-strength TLS as well. I may still write it (but don't hold your breath).
Music
"Successful Enter (Axel Konrad remix)" by Headquarter
