
Thank you for this answer. In both the inject case and the netcat case I must know the recipient. My complex setup looses that metadata; leaving me with only the message.
I guess I will be parsing the message to find that recipient.
Thanks again
On 2025-03-09 10:50 p.m., Mark Sapiro wrote:
Mark Sapiro wrote:
The issue is you are not using nc correctly. When you do
$ nc localhost 8024 < /tmp/pbTw1oqmV1rZtHXV707Jcov264hr
you are telling nc to take commands from the file /tmp/pbTw1oqmV1rZtHXV707Jcov264hr. You need to give it a command to send the file. Actually, what I said is not correct. The issue is you are just sending the data rather than engaging in an LMTP dialog.
You need to send LMTP commands so you might prepend the message with
LHLO mymaillist.org MAIL FROM: <sender@example.com> RCPT TO: <all-request@mymaillist.org> DATA
and append to the message
. QUIT
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
This message sent to kyle@lahnakoski.com