Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 08:50:50 +1300
From:      Jonathan Chen <jonathan.chen@itouch.co.nz>
To:        Dan Lazin <dan.lazin@su.ualberta.ca>
Cc:        Tony Wells <awells@journalstar.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: sendmail is sad: setreuid error with mail.local
Message-ID:  <20010228085050.B40408@itouchnz.itouch>
In-Reply-To: <B6C0176D.15F2%dan.lazin@su.ualberta.ca>; from dan.lazin@su.ualberta.ca on Mon, Feb 26, 2001 at 02:23:42PM -0700
References:  <3A9A8C2C.AD914458@journalstar.com> <B6C0176D.15F2%dan.lazin@su.ualberta.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 26, 2001 at 02:23:42PM -0700, Dan Lazin wrote:
> I replaced my remade sendmail.cf file with the default file, and sendmail is
> working again--unfortunately, though, this prohibits me from setting
> undefined users' mail from forwarding to root, as I had it set before.
> 
> Sendmail itself was still running before (I could send, and mail was getting
> to people who were specified in aliases); it seems to just have been a
> problem with mail.local not having the ability to swap uids to write to
> mailboxes. Anyone know why?

The latest version of sendmail on FreeBSD has taken out the suid-bit
on mail.local. You've got to change the local-mailer flags. If you use
m4 macro files to build your sendmail.cf, this is what you've got to
add:

	define(`LOCAL_MAILER_FLAGS', LOCAL_MAILER_FLAGS`'P)dnl

Hope this helps
-- 
Jonathan Chen                      |      To do is to be  -- Nietzsche
<jonathan.chen@itouch.co.nz>       |      To be is to do  -- Sartre 
                                   |      Scooby do be do -- Scooby

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010228085050.B40408>