From owner-freebsd-questions@FreeBSD.ORG Wed Dec 31 05:42:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 728E416A4CE for ; Wed, 31 Dec 2003 05:42:14 -0800 (PST) Received: from lillith-iii.ovirt.dyndns.ws (ppp136-230.lns1.adl2.internode.on.net [150.101.136.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CA6C43D5C for ; Wed, 31 Dec 2003 05:42:10 -0800 (PST) (envelope-from ws@au.dyndns.ws) Received: from predatorii ([192.168.100.132])hBVDg8w7005838 for ; Thu, 1 Jan 2004 00:12:08 +1030 (CST) (envelope-from ws@au.dyndns.ws) Message-ID: <021a01c3cfa4$8765fca0$8464a8c0@ovirt.dyndns.ws> From: "W. Sierke" To: References: <004601c3cb6f$57de4a20$8464a8c0@ovirt.dyndns.ws> <002e01c3cc32$bc0e7100$8464a8c0@ovirt.dyndns.ws> Date: Thu, 1 Jan 2004 00:16:44 +1030 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: Using maildrop from sendmail aliases file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2003 13:42:14 -0000 "W. Sierke" wrote: > to recap: I'm trying to run maildrop from /etc/mail/aliases with the > following entry: > > second-domain-tld: "|/usr/local/bin/maildrop -d ws@first.domain.tld" > > where second-domain-tld is from an entry in virtusertable. > > Initially this gave me: > > Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id. > > > so as per the above included text, I tried making maildrop setuid: > > Dec 26 15:08:20 maildrop[93442]: You are not a trusted user. Turns out this was an issue with the maildrop port. There doesn't appear to be a way of configuring 'trusted users' for maildrop without directly modifying the Makefile. And maildrop doesn't get installed suid despite having it's "--enable-maildrop-uid" option set. Making maildrop suid and configuring it with user:mailnull as a trusted user got it working. Time for a change request I think. Wayne