Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-13 Thread Benny Pedersen
I'm completely flummoxed by this. Ripping sendmail by the roots out of FreeBSD may not be such a good idea so I've avoided that, remove any sendmail that is NOT provided by postfix is solving it though I would have thought that mailwrapper and the rc.conf settings would have accomplished es

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-11 Thread Jerry
On Sat, 11 Feb 2012 14:05:20 -0500 Bill Cole articulated: {snip} > I could be misunderstanding you, but I think that's wrong. The > pkg-install script asks to modify mailer.conf but it does not modify > mailwrapper itself. Sorry, that is what I meant to say. -- Jerry ✌ postfix-u...@seibercom

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-11 Thread Bill Cole
On 11 Feb 2012, at 12:45, Jerry wrote: On Sat, 11 Feb 2012 12:16:59 -0500 Jorge Luis Gonzalez articulated: Even though I installed from ports (twice), at some point I overwrote mailwrapper, probably with the sendmail binary. That is what is so scary. There is no way you could accidentally do

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-11 Thread Jerry
On Sat, 11 Feb 2012 12:16:59 -0500 Jorge Luis Gonzalez articulated: > Even though I installed from ports (twice), at some point I overwrote > mailwrapper, probably with the sendmail binary. That is what is so scary. There is no way you could accidentally do that. The port will modify the wrapper

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-11 Thread Jorge Luis Gonzalez
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 wrote: > On Fri, 10 Feb 2012 22:18:23 -0500 (EST) > Wietse

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-11 Thread Jerry
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 > > wrote: > > > > > What happens when you execute /usr/sbin/mailwrapper by hand? > > > (it should com

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread CSS
On Feb 10, 2012, at 10:29 PM, Jorge Luis Gonzalez wrote: > On Fri, Feb 10, 2012 at 10:15 PM, Wietse Venema 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

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
On Fri, Feb 10, 2012 at 10:15 PM, Wietse Venema 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 ignore

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Wietse Venema
Jorge Luis Gonzalez: [ Charset ISO-8859-1 unsupported, converting... ] > On Fri, Feb 10, 2012 at 8:17 PM, Wietse Venema 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/mai

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Wietse Venema
Jorge Luis Gonzalez: [ Charset ISO-8859-1 unsupported, converting... ] > On Fri, Feb 10, 2012 at 8:17 PM, Wietse Venema 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/mai

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
On Fri, Feb 10, 2012 at 6:54 PM, Jim Long wrote: > I should add: > > On Fri, Feb 10, 2012 at 03:44:16PM -0800, Jim Long wrote: > ... >> (Now confirm that the sendmail processes are gone:) >> # ps -auxww | grep [s]endmail >> # >> (Good, no output from ps | grep) >> (Now try to start sendmail) >> #

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
On Fri, Feb 10, 2012 at 8:17 PM, Wietse Venema 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

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Wietse Venema
Jorge Luis Gonzalez: > lrwxr-xr-x 1 root wheel 21 Feb 8 16:20 /usr/sbin/sendmail -> > /usr/sbin/mailwrapper What happens when you execute /usr/sbin/mailwrapper by hand? (it should complain about no mapping in /etc/mail/mailer.conf). > > AND > > > > 2) Your mail software invokes /usr/sbin/send

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
On Fri, Feb 10, 2012 at 7:11 PM, Wietse Venema wrote: > mailer.conf settings work only when: > > 1) /usr/sbin/sendmail is a symlink to /usr/sbin/mailwrapper, like this: > > lrwxr-xr-x  1 root  wheel  21 Feb 17  2011 /usr/sbin/sendmail -> > /usr/sbin/mailwrapper Precisely what I have: lrwxr-xr-

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Wietse Venema
Jorge Luis Gonzalez: > # > # Execute the Postfix sendmail program, named /usr/local/sbin/sendmail > # > sendmail/usr/local/sbin/sendmail > send-mail /usr/local/sbin/sendmail > mailq /usr/local/sbin/sendmail > newaliases/usr/local/sbin/sendmail mail

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
>> Here are all the sendmail and postfix entries in rc.conf: >> >> sendmail_enable="NO" >> sendmail_submit_enable="NO" >> sendmail_outbound_enable="NO" >> sendmail_msp_queue_enable="NO" >> postfix_enable="YES" >> dovecot_enable=YES On Fri, Feb 10, 2012 at 4:44 PM, CSS wrote: > > Drop all that and

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
On Fri, Feb 10, 2012 at 3:50 PM, CSS wrote: > > On Feb 10, 2012, at 3:42 PM, Jorge Luis Gonzalez wrote: > >> I'm posting this to the postfix list rather than the FreeBSD list >> because I've found the level of expertise here to be almost >> unsurpassed. >> >> In trying to substitute postfix for se

Re: Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread CSS
On Feb 10, 2012, at 3:42 PM, Jorge Luis Gonzalez wrote: > I'm posting this to the postfix list rather than the FreeBSD list > because I've found the level of expertise here to be almost > unsurpassed. > > In trying to substitute postfix for sendmail on FreeBSD 8.0, I've come > across a problem w

Replacing sendmail with postfix for local mail in FreeBSD

2012-02-10 Thread Jorge Luis Gonzalez
I'm posting this to the postfix list rather than the FreeBSD list because I've found the level of expertise here to be almost unsurpassed. In trying to substitute postfix for sendmail on FreeBSD 8.0, I've come across a problem with mail sent from the command line (including mail from the syslogd d