From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 4ABFC1F619; Thu, 19 Mar 2020 03:06:34 +0000 (UTC) Date: Thu, 19 Mar 2020 03:06:34 +0000 From: Eric Wong To: lkcl Cc: meta@public-inbox.org Subject: Re: up and running, integrated with exim4 mta Message-ID: <20200319030634.GA5768@dcvr> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: lkcl wrote: > hi eric we have things running, hooray, i thought you might appreciate > it is a little different > http://inbox.libre-riscv.org/libre-riscv-dev/new.html Good to know! Btw, if you have DBD::SQLite (and optionally, Search::Xapian), you can run `public-inbox-index $INBOX_DIR' to get message threading and search enabled. > http://bugs.libre-riscv.org/show_bug.cgi?id=181 > > here are attachments for *direct* integration into exim4. rather than > store in Maildir we have a use subscribed to the mailman2 list, where > in the exim4 configs we specifically look out for that user and > run a pipe to public-inbox-mda Cool, hope that helps other folks using exim4. > a section to disable spam and also adding the listid to the config is > critical otherwise public-inbox-mda fails silently. There's also '--no-precheck' on the command-line to disable spam filtering, but yes, listid is useful. > regarding the httpd it was a nuisance to set up as there was no error > reporting. i tracked down in the exammples how to add 3 lines to do > logging, this really should be there by default at least commented out. Huh? Do you mean AccessLog middleware or something else? Errors should be logged to stderr. AccessLog isn't enabled by default since either folks don't care and don't want to waste space; or they're very picky about what format their logs are in and any default format wouldn't work for them. > also being able to specify the URL for git repos would be handy because > we already run gitweb and git-daemon, the URL is different ane would > need source hacking to specify an alternative. Huh? Do you mean $INBOX_DIR/cloneurl for the inbox? That's gitweb-compatible for v1 inboxes, at least. Or do you mean for coderepos? There's `coderepo..cgitUrl' (see public-inbox-config(5)) right now, but perhaps `coderepo..gitwebUrl' should also be supported. > with the exim4 integration we do not need the cron job. also i set p > a sysvinit darmon > argh no editing using console mail program sorry > set up a sysvinit daemon to start httpd, no god no way i let systemd run. > will send that example based on start-stop-daemon later. > > very much aporeciated even the existence of pbi as it is one of the last > pieces which allows our project to be entirely offline developed via > git backed storage. Thanks :>