Using Mailgun with Mailman
I run Mailman 2 on a shared server. Over the years I’ve had occasional deliverability problems owing to spam from other users. In the long run I hope to migrate to Mailman 3, on a Digital Ocean droplet or similar. In the meantime, I’m looking at maybe using an email sending service.
Is it possible to use Mailgun (or alternative services) with Mailman 2/3? Mailgun does its own bounce processing and I wonder how that might tie in with Mailman’s.
If it is possible, in what circumstances (if any) is it advisable?
Thanks for any advice.
Best wishes
Jonathan
Sent from my iPhone
On 12/6/20 3:56 PM, Jonathan M wrote:
Is it possible to use Mailgun (or alternative services) with Mailman 2/3? Mailgun does its own bounce processing and I wonder how that might tie in with Mailman’s.
Both Mailman 2.1 and Mailman 3 have the ability to deliver mail via SMTP to an external MTA and provide SASL auth credentials if required. It appears https://www.mailgun.com/smtp/ that MailGun can handle this.
Mailman's bounce processing relies on the envelope sender being the LISTNAME-bounces address (possibly VERPed. If MailGun does bounce processing, it presumably sends the mail with its own envelope sender which would preclude Mailman's bounce processing
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro writes:
Mailman's bounce processing relies on the envelope sender being the LISTNAME-bounces address (possibly VERPed. If MailGun does bounce processing, it presumably sends the mail with its own envelope sender which would preclude Mailman's bounce processing
I agree with Mark about the "presumably". However, it's *possible* that Mailgun allows you to set it to something different so you can do your own processing. You'd have to check Mailgun docs or ask Mailgun about that. Given the nature of Mailgun's business, if they do have such a capability I would not be surprised if it's poorly advertised. Most customers are gong to expect Mailgun to do that for them, I think.
Steve
On 7 Dec 2020, at 14:44, Stephen J. Turnbull turnbull.stephen.fw@u.tsukuba.ac.jp wrote:
However, it's *possible* that Mailgun allows you to set it to something different so you can do your own processing. You'd have to check Mailgun docs or ask Mailgun about that.
I’ve asked and will report back.
Mailgun does have webhooks including “permanent_fail”: https://documentation.mailgun.com/en/latest/api-webhooks.html#webhooks
More generally, does anyone in the Mailman world have an opinion on Mailgun and similar services?
Thank you
Jonathan
On Mon, Dec 07, 2020 at 04:08:28PM +0000, Jonathan M wrote:
More generally, does anyone in the Mailman world have an opinion on Mailgun and similar services?
Because Mailgun is US-owned and therefore subject to the Cloud Act, using Mailgun (or any other US-owned SaaS) may cause GDPR issues. Depends whose personal data you would be giving to Mailgun; what kind of data; justifications for giving it to them, etc.
See, e.g.:
https://europeanlawblog.eu/2020/07/21/after-schrems-ii-uncertainties-on-the-...
https://www.jdsupra.com/legalnews/in-wake-of-the-schrems-ii-cnil-97977/
If any of your users are EU/EEA residents, you might therefore prefer to use a system under the ultimate control of an entity based in the EU/EEA.
(I wouldn't say I'm "in the Mailman world" except that I use Mailman sometimes. But I hope you don't mind me making the point above, because it's an important one that might otherwise not get mentioned.)
-- A: When it messes up the order in which people normally read text. Q: When is top-posting a bad thing?
() ASCII ribbon campaign. Please avoid HTML emails & proprietary /\ file formats. (Why? See e.g. https://v.gd/jrmGbS ). Thank you.
On 7 Dec 2020, at 00:40, Mark Sapiro mark@msapiro.net wrote:
Mailman's bounce processing relies on the envelope sender being the LISTNAME-bounces address (possibly VERPed. If MailGun does bounce processing, it presumably sends the mail with its own envelope sender which would preclude Mailman's bounce processing
I quoted your paragraph above and asked “Does that sound right?” The response the sales rep forwarded me from his support team is: “I'm not sure what they are asking. Yes, we do rewrite the mail-from in order to capture delayed-bounces.”
Best wishes
Jonathan
participants (4)
-
Jonathan M
-
Mark Sapiro
-
Sam Kuper
-
Stephen J. Turnbull