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: <sen...@example.com>
RCPT TO: <all-requ...@mymaillist.org>
DATA
```
and append to the message
```
.
QUIT
```
--
Mark Sapiro <m...@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-le...@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/U5UCOTY6JRV5RARGVVE24UVCO5RPOSL7/
This message sent to k...@lahnakoski.com
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@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/UJYRVFJGOL7FJYX32R5EGNOKDV6YM7S6/
This message sent to arch...@mail-archive.com