Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 11:33:29 -0600
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Cc:        Chad Leigh <chad@shire.net>
Subject:   mail/sendmail submit question
Message-ID:  <D367E451-3566-4FD1-9EC3-A893B1B3B533@shire.net>
Resent-Message-ID: <19C56ED6-4DFE-447D-9B67-986CA61E03CB@shire.net>

next in thread | raw e-mail | index | archive | help
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"





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D367E451-3566-4FD1-9EC3-A893B1B3B533>