diff -Nru lurker-2.3/debian/changelog lurker-2.3/debian/changelog --- lurker-2.3/debian/changelog 2014-01-17 12:35:47.000000000 +0000 +++ lurker-2.3/debian/changelog 2014-07-24 10:31:10.000000000 +0000 @@ -1,3 +1,14 @@ +lurker (2.3-5) unstable; urgency=high + + * Acknowledge NMU. Thanks to Colin Watson. (closes: #734731) + * Fix FTBFS, thanks to David Suárez for bugreport and Juhani Numminen for + the patch. (closes: #753229) + * High urgency due to serious FTBFS bug. + * Incorporate documentation for configuring lurker with exim4. Thanks to + Chris Knadle for writing and providing the README. (closes: #739230) + + -- Jonas Meurer Thu, 24 Jul 2014 12:20:57 +0200 + lurker (2.3-4.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru lurker-2.3/debian/docs lurker-2.3/debian/docs --- lurker-2.3/debian/docs 2011-09-19 10:51:07.000000000 +0000 +++ lurker-2.3/debian/docs 2014-07-24 10:26:26.000000000 +0000 @@ -2,7 +2,8 @@ FAQ README index/lurker-drop-rlimit.cpp -debian/README.procmail -debian/README.maildrop +debian/README.exim4 debian/README.mailman +debian/README.maildrop +debian/README.procmail debian/mindex.patch diff -Nru lurker-2.3/debian/patches/02_nested_frontends.patch lurker-2.3/debian/patches/02_nested_frontends.patch --- lurker-2.3/debian/patches/02_nested_frontends.patch 2013-12-13 00:39:48.000000000 +0000 +++ lurker-2.3/debian/patches/02_nested_frontends.patch 2014-07-24 10:24:18.000000000 +0000 @@ -20,6 +20,7 @@ i->first + "/" == document.substr(0, i->first.length()+1)) { frontend = i->first; +--- lurker-2.3/Changelog (Revision 1673) +++ lurker-2.3/ChangeLog (Revision 1674) @@ -1,5 +1,6 @@ v2.4: diff -Nru lurker-2.3/debian/README.exim4 lurker-2.3/debian/README.exim4 --- lurker-2.3/debian/README.exim4 1970-01-01 00:00:00.000000000 +0000 +++ lurker-2.3/debian/README.exim4 2014-07-24 10:25:26.000000000 +0000 @@ -0,0 +1,91 @@ +README.exim4 Feb 16 2014 + +This is a step-by-step guide for using lurker with Exim4. + +Steps: + + 1. Configure lurker in /etc/lurker/lurker.conf.local for your mailing + list(s) as is explained in the README.Debian file. For illustration + purposes we'll assume there's an email list named 'test-list'. + + 2. A user must be added to the 'lurker' user group to allow access to + /var/lib/lurker database files during message delivery to lurker. + Adding Debian-exim to the 'lurker' group is one way to do this, but + can be any other user that you want -- just set the user to use + during message delivery in the Exim4 lurker_transport section later. + e.g.: 'adduser Debian-exim lurker' + + 3. Choose a unique domain to use with lurker, which will be used to route + mail from Exim4 to lurker and used for a secret email address signed up + to mailing lists that lurker will index. + e.g. lurk.example.net + + 4. Modify Exim4 configuration + + In the 'main' configuration section: + + # If using Debian's Exim4 setup, you could add lurk.example.net to + # the list of domains to the dc_other_hostnames in + # /etc/exim4/update-exim4.conf.conf instead of here if desired + MAIN_LOCAL_DOMAINS = : lurk.example.net + domainlist lurker_domains = lurk.example.net + LURKER_HOME = /var/lib/lurker + + In the 'router' section, add a lurker_router and modify the + system_aliases router to avoid luker_domains: + + lurker_router: + debug_print = "R: lurker_router for $local_part@$domain" + driver = redirect + domains = +lurker_domains + allow_fail + allow_defer + data = ${lookup{$local_part}lsearch{/etc/aliases-list}} + headers_remove = Delivered-To:Return-Path + pipe_transport = lurker_transport + + ## Only need to modify 'domains' line: + system_aliases: + debug_print = "R: system_aliases for $local_part@$domain" + driver = redirect + domains = +local_domains : !+lurker_domains + ... + + In the 'transport' section, add a lurker_transport. The "user =" + setting is not required if you used the Debian-exim user in step 2, + otherwise set this to the user that is in the 'lurker' user group. + + lurker_transport: + driver = pipe + # Change Return-Path: to hide the email address used to send mail to lurker + return_path = $header_To: + # user = Debian-exim ## or set to another user with access to 'lurker' group + group = lurker + home_directory = LURKER_HOME + current_directory = LURKER_HOME + # Limits allowed pipe commands in /etc/aliases to just lurker-index + allow_commands = /usr/bin/lurker-index + + 5. Add an email alias to /etc/aliases for the 'lurker-discussion' list to + pass mail to lurker-index: + + test-list-lurk: "|/usr/bin/lurker-index -l test-list -m" + + 6. Add email address test-list-lurk@lurk.example.net to mailing list. + e.g. for mlmmj: + + /usr/bin/mlmmj-sub -a test-list-lurk@lurk.example.net \ + -L /var/spool/mlmmj/test-list -q + + 7. Test your setup with + + $ exim4 -bt test-list-lurk@lurk.example.net + R: lurker_router for nyccug-test@lurk.coredump.us + test-list-lurk@lurk.example.net -> |/usr/bin/mlmmj-receive -L /var/spool/mlmmj/test-list/ + transport = lurker_transport + + If you don't see "transport = lurker_transport", run the command again + with -d to see more detail and find what's going wrong. + Otherwise, you're done! + + -- Christopher Knadle Sun, 16 Feb 2014 15:00:25 -0500