Date: Sat, 4 Nov 2000 18:58:13 -0800 (PST) From: Gregory Neil Shapiro <gshapiro@gshapiro.net> To: Pilli <reissell@cc.helsinki.fi> Cc: stable@FreeBSD.ORG Subject: Re: mail.local permissions Message-ID: <14852.52421.669235.2118@horsey.gshapiro.net> In-Reply-To: <87pukb19r6.fsf@mursu.pesa.fi> References: <87pukb19r6.fsf@mursu.pesa.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
reissell> Just cvsup'ed to 4.2-BETA and sendmail's local mailer refused to reissell> play ball. After a little hair-pulling I noticed the permissions reissell> of /usr/libexec/mail.local lacked the setuid bit. Mail.local reissell> would return an error (75 if I recall) everytime it was called reissell> because it didn't have permissions to write to reissell> /var/mail/so-and-so. Please read the release notes when upgrading: mail.local(8) is no longer installed as a set-user-id binary. If you are using a /etc/mail/sendmail.cf from the default sendmail.cf included with FreeBSD any time after 3.1.0, you are fine. If you are using a hand-configured sendmail.cf and mail.local for delivery, check to make sure the F=S flag is set on the Mlocal line. Those with .mc files who need to add the flag can do so by adding the following line to their your .mc file and regenerating the sendmail.cf file: MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl Note that FEATURE(`local_lmtp') already does this. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14852.52421.669235.2118>