On Feb 10, 2012, at 10:29 PM, Jorge Luis Gonzalez wrote: > On Fri, Feb 10, 2012 at 10:15 PM, Wietse Venema <wie...@porcupine.org> wrote: >>>> What happens when you execute /usr/sbin/mailwrapper by hand? >>>> (it should complain about no mapping in /etc/mail/mailer.conf). >>> >>> [jorge@satyr ~]$ /usr/sbin/mailwrapper -oem -oi jorge < /etc/motd >>> WARNING: RunAsUser for MSP ignored, check group ids (egid=1002, want=25) >> >> That is not right. Your mailwrapper program has been replaced. >> > > You're quite right, I believe: > > satyr# ls -l /usr/sbin/mailwrapper > lrwxr-xr-x 1 root wheel 30 Feb 8 10:36 /usr/sbin/mailwrapper -> > /usr/libexec/sendmail/sendmail > > satyr# ls -l /usr/sbin/sendmail > lrwxr-xr-x 1 root wheel 21 Feb 8 16:20 /usr/sbin/sendmail -> > /usr/sbin/mailwrapper > > How do I rectify this?
If you've got the src tree installed, it looks like you can pretty easily build and reinstall mailwrapper: cd /usr/src/usr.sbin/mailwrapper make obj depend make install Pulling it out of the base distribution is probably kind of a pain, but if you've got the livefs cd/dvd you could easily grab it from there. Perms are basic, world read and execute, owner root:wheel. Make sure you get rid of those symlinks first though. Thanks, Charles > Thanks very much, > > Jorge > > -- > Jorge Luis González <jlg.in...@gmail.com> > http://people.umass.edu/jlg/