Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread Robert Chalmers
I have /usr/bin/mail on the mac, and it’s looking for /etc/postfix/main.cf I have rebuilt postfix from source, and relocated it, the files now living in /usr/local/etc/postfix So I’m wondering what /usr/bin/mail’s relationship to postfix is? Robert Chalmers

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread Robert Wolfe
It might be trying to use postfix as the MTA. On 03/12/2016 07:55 AM, Robert Chalmers wrote: I have /usr/bin/mail on the mac, and it’s looking for /etc/postfix/main.cf I have rebuilt postfix from source, and relocated it, the files now living in /usr/local/etc/postfix So I’m wondering what

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread /dev/rob0
On Sat, Mar 12, 2016 at 03:55:10PM +, Robert Chalmers wrote: > I have /usr/bin/mail on the mac, and it’s looking for > /etc/postfix/main.cf It's not a part of Postfix at all. Mailx/mail is a MUA, whereas sendmail(1) is a Postfix to Sendmail compatibility interface. Most mailx implementati

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread Wietse Venema
Robert Chalmers: > I have /usr/bin/mail on the mac, and it?s looking for /etc/postfix/main.cf > > I have rebuilt postfix from source, and relocated it, the files now living in > /usr/local/etc/postfix > > > So I?m wondering what /usr/bin/mail?s relationship to postfix is? /usr/bin/mail sends

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread Chalmers
Thanks. So on OSX 10.11 mail is hard coded to look for /etc/postfix/main.conf. A bit of a nuisance. So I'll just symlink to my /usr/local/etc/postfix/main.conf - From my iPhone. > On 12 Mar 2016, at 9:02 pm, Wietse Venema wrote: > > Robert Chalmers: >> I have /usr/bin/mail on the mac, a

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread Viktor Dukhovni
On Sat, Mar 12, 2016 at 09:15:11PM +, Chalmers wrote: > So on OSX 10.11 mail is hard coded to look for /etc/postfix/main.conf. No, not all. Rather, the standard local submission interface on Unix systems has been sendmail(1) for over 3 decades. The only thing that's changed is the location

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-12 Thread rob...@chalmers.com.au
Let me explain what's happening, or what happened. I rebuilt Postfix, to install in /user/local/etc/postfix and set the command to be in /user/local/sbin and so on, and it all works fine, as it should. The reason I moved it, is because each time OSX updates, it overwrites /etc/postfix of course,

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Alice Wonder
On 03/12/2016 11:58 PM, rob...@chalmers.com.au wrote: Let me explain what's happening, or what happened. I rebuilt Postfix, to install in /user/local/etc/postfix and set the command to be in /user/local/sbin and so on, and it all works fine, as it should. The reason I moved it, is because each

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Jim Reid
> On 13 Mar 2016, at 08:41, Alice Wonder wrote: > > It's possible the mail command on OS X is using the OS X sendmail command > provided by the OS X postfix which would want its configuration file at > /etc/postfix/main.cf It is. Though MacOSX puts the sendmail front-end in /usr/sbin:

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Larry Stone
> On Mar 13, 2016, at 5:07 AM, Jim Reid wrote: > > >> On 13 Mar 2016, at 08:41, Alice Wonder wrote: >> >> It's possible the mail command on OS X is using the OS X sendmail command >> provided by the OS X postfix which would want its configuration file at >> /etc/postfix/main.cf > > It is.

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Wietse Venema
rob...@chalmers.com.au: > It's the only thing that fails. I move old-postfix back to > etc/postfix, and of course it works again. I need 'mail' to work, > because it is used by crown if nothing else... > > So that's what made me wonder if it's related to postfix in some > way, as it seems to need

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Robert Chalmers
I’d forgotten about strings - getting old. That fixed the problem. I moved /etc/postfix to /etc/x-postfix linked -s /usr/local/sbin/sendmail to /usr/sbin/sendmail did echo date | mail rob...@chalmers.com and it works. I disabled SIP as soon as I installed the upgrade ages ago. and I confess

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Robert Chalmers
Interesting idea Wietse. I’ll look into it. > On 13 Mar 2016, at 14:53, Wietse Venema wrote: > > rob...@chalmers.com.au: >> It's the only thing that fails. I move old-postfix back to >> etc/postfix, and of course it works again. I need 'mail' to work, >> because it is used by crown if nothing

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-13 Thread Robert Wolfe
Could you now just make a soft link to the files on /etc/old-postfix? On 03/13/2016 01:58 AM, rob...@chalmers.com.au wrote: Let me explain what's happening, or what happened. I rebuilt Postfix, to install in /user/local/etc/postfix and set the command to be in /user/local/sbin and so on, and i

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-14 Thread @lbutlr
On Mar 13, 2016, at 12:58 AM, rob...@chalmers.com.au wrote: > So I renamed/moved /etc/postfix, to /etc/old-postfix. .which has been ok, > except for 'mail' > Eg > echo date | mail rob...@chalmers.com > Fails with > 'can't find /etc/postfix/main.cf' > > It's the only thing that fails. I move old-

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-14 Thread @lbutlr
On Mar 13, 2016, at 9:06 AM, Robert Chalmers wrote: > Nice hardware, but the software is really recycled FreeBSD. say what? This should not be news. One of the reasons I chose FreeBSD for my servers was because I wouldn’t have to change modes between OS X and my servers. -- Marriages made in

Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-14 Thread Robert Chalmers
Yes, I moved the Apple /usr/bin/sendmail to /usr/bin/old-sendmail Then created a symlink from my own build of sendmail. /usr/local/bin/sendmail to /usr/bin/sendmail, and now Apple’s mail works as it should. The original complaint from mail when I moved the /etc/postfix directory to /etc/old-post

[OT] Re: Is /usr/bin/mail a link to sendmail/postfix

2016-03-14 Thread Tom Hendrikx
On 14-03-16 17:05, @lbutlr wrote: > On Mar 13, 2016, at 9:06 AM, Robert Chalmers > wrote: >> Nice hardware, but the software is really recycled FreeBSD. say >> what? > > This should not be news. One of the reasons I chose FreeBSD for my > servers was because I wouldn’t have to change modes betwee

[OT] (was Re: Is /usr/bin/mail a link to sendmail/postfix)

2016-03-15 Thread Curtis Villamizar
In message <76865be6-8041-498d-91ae-36ef80c91...@kreme.com> "@lbutlr" writes: > > On Mar 13, 2016, at 9:06 AM, Robert Chalmers wrote: > > Nice hardware, but the software is really recycled FreeBSD. say what? > > This should not be news. One of the reasons I chose FreeBSD for my > servers was b