[Mailman-Users] adding a security log

Jim Popovitch jimpop at gmail.com
Tue Jan 14 22:57:37 CET 2014

On Tue, Jan 14, 2014 at 9:49 AM, renaud courvoisier
<renaud.courvoisier at ecole-art-aix.fr> wrote:
> Hi all,
> I just see the useful mailman fail2ban jail posted bu jimpop :
> https://code.launchpad.net/~jimpop/mailman/security-logging
> <https://code.launchpad.net/%7Ejimpop/mailman/security-logging>
> But I don't figure out how to add a mailman security log which will contain
> Authentication Failure entries,
> and a web search don't return anything.
> Can someone explain me how to do that ?


There are many things that can break, depending on Mailman version
differences, other mods, etc., so make a good backup first.

Download a "diff" of the security-logging changes from this URL:


Copy the 1375_1374.diff file to your mailman/ home directory (the
directory containing Mailman/ bin/ cron/ scripts/ etc), and then apply
it with this command:

        patch -p0 -b -V numbered < 1375_1374.diff

You will need to restart mailman afterwards, and then check
mailman/logs/errors (for any errors) and check to make sure
mailman/logs/security exists.  Then try a few failed login attempts on
one of your lists.


-Jim P.

More information about the Mailman-Users mailing list