[Mailman-Users] Disable auto-responder for some From adresses
mark at msapiro.net
Sat Apr 11 06:05:28 CEST 2015
On 04/09/2015 03:57 AM, Vincent Le Gallic wrote:
> I would like mailman to send the auto-response message to everyone but
> admin-interface at domain.tld (the interface admin, aka myself, doesn't
> care about these warnings).
>>From what I've been told on IRC, there is currently no way to do this
> properly on Mailman 2.1.15 (I'm on wheezy), but might be in Mailman 3.
If by "properly" you mean via some combination of list settings, that's
> Do you have any workaround to suggest ?
If you want to do it in Mailman, you have to patch the code, but it's a
very simple patch. In Mailman/Handlers/Replybot.py, following these lines:
> if ((toadmin and not mlist.autorespond_admin) or
> (torequest and not mlist.autorespond_requests) or \
> (not toadmin and not torequest and not mlist.autorespond_postings)):
> # Now see if we're in the grace period for this sender. graceperiod <= 0
> # means always autorespond, as does an "X-Ack: yes" header (useful for
> # debugging).
> sender = msg.get_sender()
if sender == 'admin-interface at domain.tld':
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users