Hi Dan,
> Am 02.11.2016 um 15:48 schrieb Dan Ritter <dsr-qmail@randomstring.org>:
>
> 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).
Great hint.
a) It is required to remove the exim4 application entirely from the system, thus
b) an *upgrade* will not recognize the app and will not reinstall it; because otherwise
c) exim will be re-installed and conflicts with qmail.
I found the same situation and exim did a local delivery on 'localhost' while qmail did the rest.
I fact. exim was bound to localhost while qmail (which was started later) took the other ports.
Best regards.
--eh.
>
> -dsr-
>
>
>
Dr. Erwin Hoffmann | FEHCom |
http://www.fehcom.de | PGP Key-Id: EE00CF65