From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2490 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Sean MacLennan Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: smaclennan/doorknob Date: Sat, 2 Feb 2019 13:32:58 -0500 Message-ID: <20190202133258.71837b05@zonker.seanm.ca> References: <20190126221517.70ea00b8@zonker.seanm.ca> <085056a0-4548-1579-8747-8c057a9aad3c@NTLWorld.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="12880"; mail-complaints-to="usenet@blaine.gmane.org" Cc: supervision@list.skarnet.org To: Jonathan de Boyne Pollard Original-X-From: supervision-return-2080-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Feb 02 19:33:10 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1gq06I-0003CD-Aa for gcsg-supervision@m.gmane.org; Sat, 02 Feb 2019 19:33:10 +0100 Original-Received: (qmail 1417 invoked by uid 89); 2 Feb 2019 18:33:28 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 1410 invoked from network); 2 Feb 2019 18:33:28 -0000 X-Session-Marker: 7365616E6D407365616E6D2E6361 X-HE-Tag: berry40_3747f09aa9f59 X-Filterd-Recvd-Size: 1977 In-Reply-To: <085056a0-4548-1579-8747-8c057a9aad3c@NTLWorld.COM> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2490 Archived-At: On Sun, 27 Jan 2019 14:39:16 +0000 Jonathan de Boyne Pollard wrote: > A lot of constructive comments on doorknob which I am not going to > include here. Well, I have updated doorknob to *hopefully* respond to all the comments. I have pushed the changes to github if anybody is interested. The big changes are moving the default location of the directories and changing ownership. Doorknob now has its own user. It basically does: 1. change to queue directory 2. setup inotify 3. drop privileges to doorknob user 4. read config 5. start handling messages sendmail and mailq are now owned by the mail user and group (configurable) and are +s. The queues are now (by default): chown mail.mail /var/spool/doorknob chown mail.mail /var/spool/doorknob/queue chown mail.mail /var/spool/doorknob/tmp chmod 750 /var/spool/doorknob chmod 777 /var/spool/doorknob/queue chmod 700 /var/spool/doorknob/tmp Everything is configurable. You can make the doorknob user root, the mail user root, and everything is as before. Comments welcome. Cheers, Sean