Thanks, Jerry.

Wietse discerned the problem pretty quickly.  Even though I installed
from ports (twice), at some point I overwrote mailwrapper, probably
with the sendmail binary.

             Jorge

On Sat, Feb 11, 2012 at 7:00 AM, Jerry <postfix-u...@seibercom.net> wrote:
> On Fri, 10 Feb 2012 22:18:23 -0500 (EST)
> Wietse Venema articulated:
>
>> Jorge Luis Gonzalez:
>> [ Charset ISO-8859-1 unsupported, converting... ]
>> > On Fri, Feb 10, 2012 at 8:17 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)
>>
>> This means that YOU OVERWROTE /usr/sbin/mailwrapper with
>> a copy of the sendmail program.
>>
>> /usr/sbin/mailwrapper should complain about no mapping
>> in /etc/mail/mailer.conf, like this:
>>
>>     $ /usr/sbin/mailwrapper
>>     mailwrapper: no mapping in /etc/mail/mailer.conf
>>
>> In your case, this program has been overwritten with sendmail.
>> This is why you get all the crap that you are experiencing.
>>
>>       Wietse
>
> Jorge, did you install Postfix via the FreeBSD ports system or from
> source? The ports system would have done virtually all of the heavy
> lifting for you. I have installed Postfix on several machines over the
> years via the ports system and have never experienced the problems
> that you seem to be having. By the way, you do need these in the
> "/etc/rc.conf" file:
>
> sendmail_enable="NO"
> sendmail_msp_queue_enable="NO"
> sendmail_outbound_enable="NO"
> sendmail_submit_enable="NO"
> postfix_enable="YES"
> dovecot_enable="YES"
>
> The dovecot line is only needed if using Dovecot. Otherwise it serves
> no purpose.
>
> If you install via ports, it will make most of the needed changes for
> you. You will still need to manually configure the "/etc/rc.conf" file
> however.
>
> --
> Jerry ✌
> postfix-u...@seibercom.net
> _____________________________________________________________________
> TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
> TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
>



-- 
Jorge Luis González <jlg.in...@gmail.com>
http://people.umass.edu/jlg/

Reply via email to