Re: Passing local delivery to qmail (instead of exim)

Dan Ritter <[email protected]>
Newsgroups gmane.mail.qmail.general
Message-ID <[email protected]>
On Wed, Nov 02, 2016 at 12:35:06PM +0100, BAGI Ákos wrote:
> Hi List!
> 
> I have a running qmail server.
> I use cron scripts to monitor the system and send the
> result to my qmail mailbox.
> But on Jessie the local delivery is made by jessie.
> How can I change it to qmail?

Debian Jessie, I presume?

service exim4 stop
apt-get install exim4- lsb-invalid-mta
rm -f /usr/lib/sendmail
rm -f /usr/sbin/sendmail
# and now link in qmail binaries from where you put them
ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

Note the unusual usage of apt-get install, where we specify a
package to be removed with a trailing - as well as a package 
to be installed (to satisfy dependencies for an MTA).

-dsr-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.