[MM3-users] Re: How to process emails with Mailman3?

2025-03-15 Thread Kyle Lahnakoski
On 2025-03-10 9:35 p.m., Kyle Lahnakoski wrote: On 2025-03-10 12:22 a.m., Stephen J. Turnbull wrote: Alternatively, using the 'LMTP' class from 'smtplib' your Python script is almost a one-liner. You get the intended recipient from 'Delivered-To' (if it exists, if

[MM3-users] Re: How to process emails with Mailman3?

2025-03-10 Thread Kyle Lahnakoski
On 2025-03-10 12:22 a.m., Stephen J. Turnbull wrote: Alternatively, using the 'LMTP' class from 'smtplib' your Python script is almost a one-liner. You get the intended recipient from 'Delivered-To' (if it exists, if not life is considerably more complex), the sender from 'Sender' or 'From', and

[MM3-users] How to process emails with Mailman3?

2025-03-09 Thread Kyle Lahnakoski
Good day! I am setting up an email list for my local community (just myself right now).  Being a nerd, I am using Amazon SES to send and receive emails.  I have mailman installed on ec2 (using "pip install mailman") and it is working well enough to send an email to the list with /opt/mai

[MM3-users] Re: How to process emails with Mailman3?

2025-03-10 Thread Kyle Lahnakoski
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 wro