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-interf...@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
correct.


> 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)):
>         return
>     # 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()

add

    if sender == 'admin-interf...@domain.tld':
        return

-- 
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@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to