On Tue, Aug 19, 2014, at 06:44 AM, Viktor Dukhovni wrote:
> On Tue, Aug 19, 2014 at 06:37:05AM -0700, [email protected] wrote:
>
> > find / | egrep "sendmail|postfix" | egrep -v "share/doc"
> > /usr/lib/sendmail
>
> [ Legacy symlink for applications that find sendmail(1) in /usr/lib ]
Right. I'd uninstalled postfix, but had to install exim.
As I understand it, a distro-mailer needs to be installed -- apparently
postfix, exim or sendmail will do. Otherwise pkg manager complains about
unfulfilled dependencies, and other packages break. That pkg gets installed
into system paths.
> > /usr/local/etc/...
> > /usr/local/libexec/postfix
> > /usr/local/man/...
> > /usr/local/sbin/...
>
> [ The real Postfix is now mostly in /usr/local ]
What's not included in "mostly"?
> > /usr/sbin/sendmail
>
> [ Symlink for applications that find sendmail(1) in /usr/sbin ]
>
> > ls -al `find / | egrep "sendmail" | egrep -v "share/doc"`
> > -r--r--r-- 1 root root 784 Jan 5 2014
> > /usr/lib/perl5/site_perl/5.18.1/Mail/Mailer/sendmail.pm
> > lrwxrwxrwx 1 root root 12 Aug 18 21:49 /usr/lib/sendmail ->
> > ../sbin/exim*
> > -rw-r--r--+ 1 root root 17K Apr 6 2013 /usr/local/man/man1/sendmail.1
> > -rwxr-xr-x+ 1 root root 288K Aug 18 06:23 /usr/local/sbin/sendmail*
> > lrwxrwxrwx 1 root root 4 Aug 18 21:49 /usr/sbin/sendmail -> exim*
> > lrwxrwxrwx 1 root root 9 Aug 18 21:49
> > /usr/share/man/man8/sendmail.8.gz -> exim.8.gz
>
> Still a mess, since /usr/sbin/sendmail and /usr/lib/sendmail are Exim!
>
> However at least you now have just one Postfix.
>
> > which sendmail
> > /usr/local/sbin/sendmail
>
> Your path is not pertinent, many applications will now attempt to
> submit email via Exim, and the init.d start scripts will now likely
> launch Exim.
"My" postfix gets installed currently into /usr/local.
Isn't it possible to get the system to use only the postfix I want it to? Or
is the only way to run postfix on a system to install it in system paths,
clobbering what the distro installs?
I try to not 'get involved' with the distro's idea of what the mailer is/should
do/etc as it's constantly a problem -- something changes, breaks, isn't
updated, etc etc. Which is why I'm trying to use an uptodate, upstream postfix.
fyi, exim isn't running
ps ax | grep -i "exim"
(nothing)
Terry