Re: Passing local delivery to qmail (instead of exim)
Erwin Hoffmann <[email protected]>
| Newsgroups | gmane.mail.qmail.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Dan, > Am 02.11.2016 um 15:48 schrieb Dan Ritter <[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). 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
signature.asc
(application/pgp-signature, 842 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJYGgTBAAoJEIP8+SDuAM9lcT8P/0XvV0fwD+Sd759ZZxmrwhhA 1inbAFaQ52OOXgNNAFuISs8XIbRBm9QTmScSin9wdAonHtXOE2yG5SPhEkM+AyoF TRoikGtSyrNG7ntD3ShgcosRNX9iwMdh6aNDNExHZM/2ZbmXthXrTT+dwQwAbowM HGX8vTJpLxRjfZiNi6I4aCFdFYhj7M9W6A17ZMUEcGYiRdhovsjsmCvp4d08xEBw 4Zpyq8ZAewjMra4fq+SBOd7SoatcQLJ1seQnSIAEv+xjZmEXBVh7XVBLGQzOldgT VkduQ+IEqJmP1khWYYf7nBERAO1CP/thpT8/2qcr1X13D8ESPdlmxs63hKhZkOYk 0xdvv1UhKIM61lhMwbgyhMmHjIEmBUN6iBOjFtclhvYQgPceVC02sTwKxy0OLamG JoiTe8946eQjY3QH3qYD3zMy6f4GAJE7zvqhtq5mU+iClTUBjCOp2Y+pcVBxXUW5 QsXCqIhKVEn+S45zNRBIo8ebWRjOVnGpQkIKlna2z8nZD34mFVDkXWOGFtg2U7Lu yiAP6FuMSE2aF2aGK3cQE0xw/JERKSW6nrRtEufUcXhALKjOp59zbIQ1eb5EZjXm ErR1Q2ZcWpWewYFMhGpvnChFszH9JTspmhwWM0Iikh58dR1ZYj23WvO4M4a4zmUa /k2LJmlPcjV9BuffBGzh =+fb1 -----END PGP SIGNATURE-----