From owner-freebsd-stable Thu Jan 31 20:17:19 2002 Delivered-To: freebsd-stable@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 323A637B402; Thu, 31 Jan 2002 20:17:14 -0800 (PST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g114H9q40660; Fri, 1 Feb 2002 17:17:10 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200202010417.g114H9q40660@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: Gregory Neil Shapiro Date: Thu, 31 Jan 2002 23:17:08 -0500 MIME-Version: 1.0 Subject: Re: unknown mailer error 126 : sendmail issue? Reply-To: dan@langille.org Cc: freebsd-stable@FreeBSD.ORG, anders@fix.no In-reply-to: <15447.12457.481983.507238@horsey.gshapiro.net> References: <200201292323.g0TNNQE01519@lists.unixathome.org> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 29 Jan 2002 at 15:30, Gregory Neil Shapiro wrote: > dan> If I were to not go the .mc route, what does the above statement > dan> translate to in a .cf file? > > Of course, that's not supported but if it were, I would tell you to change > this line in your sendmail.cf: > > #O DefaultUser=mailnull > > to: > > O DefaultUser=daemon > > Keep in mind however, you will increase your system security if you stick > with using mailnull and adapt your other applications instead of reverting > sendmail back to using the daemon account. The above has been working sort of OK so far. There are still some issues: - /usr/local/majordomo cannot be chmod g+w: "550 5.2.4 :include:/usr/local/majordomo/lists/unixathome.org/adsl... Cannot open /usr/local/majordomo/lists/unixathome.org/adsl: Group writable directory" - /usr/local/majordomo must be writable by users majordom and by daemon The resolution appears complex because I can't figure out which operations are being performed as majordomo and which as daemon. I'm also unsure as to whether or not using mailnull merely shift the problem to another user id. What would your advice be?[1] At present most things are working and I haven't jumped into the details to see what works and why not. That will have to wait until the weekend. I'm also wondering the majordomo port has already dealt with this issue. [1] - those suggesting dropping sendmail and/or majordomo will be greeted with extreme prejudice. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message