From owner-freebsd-questions@FreeBSD.ORG Tue May 3 17:33:36 2005 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 7EEF716A4F0 for ; Tue, 3 May 2005 17:33:36 +0000 (GMT) Received: from hobbiton.shire.net (hobbiton.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F9743D54 for ; Tue, 3 May 2005 17:33:36 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.43) id 1DT1H0-000HmG-4k; Tue, 03 May 2005 11:33:31 -0600 Mime-Version: 1.0 (Apple Message framework v728) Message-Id: <19C56ED6-4DFE-447D-9B67-986CA61E03CB@shire.net> From: "Chad Leigh -- Shire.Net LLC" Date: Tue, 3 May 2005 11:33:29 -0600 To: FreeBSD Mailing List X-Mailer: Apple Mail (2.728) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hobbiton.shire.net X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.0.0 X-Spam-Level: X-SA-Exim-Version: 4.1+cvs (built Mon, 23 Aug 2004 08:44:05 -0700) X-SA-Exim-Scanned: Yes (on hobbiton.shire.net) cc: Chad Leigh Subject: mail/sendmail submit question 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: Tue, 03 May 2005 17:33:36 -0000 Hi I am trying to allow mail submission and sending on a 5.3-RELEASE box from inside a jail, but not a running MTA... I have the following in the rc.conf sendmail_enable="NO" sendmail_submit_enable="NO" # Start a localhost-only MTA for mail submission sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO). sendmail_msp_queue_enable="YES" # Dequeue stuck clientmqueue mail (YES/NO). Since you cannot bind to localhost only in a jail I have that set to NO. The /etc/mail/README file says to change the freebsd.submit.mc file and remake things so that it submits to another host. I have done that by doing the "Change the FEATURE(msp) line to FEATURE(msp, hostname) where hostname is the fully qualified hostname of the alternative host." and then "'make install-submit-cf' in /etc/mail/". When I try to do a mail on the command line, I get: root@machine:/home/chad# can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. Where do I set this TrustedUser and how do I make the mail program work as a TrustedUser? I grepped TrustedUser in /etc/mail/* and got freebsd.cf:#O TrustedUser=root freebsd.submit.cf:O TrustedUser=smmsp machine.com.submit.cf:O TrustedUser=smmsp sendmail.cf:#O TrustedUser=root submit.cf:O TrustedUser=smmsp so it seems to be set to smmsp which is a valid user in the password file. Thanks for any help or pointers on getting this to work. Thanks Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad@shire.net _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- unsubscribe@freebsd.org"