Mailing List Archive

Passing local delivery to qmail (instead of exim)
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?

THX
Akos Bagi
Re: Passing local delivery to qmail (instead of exim) [ In reply to ]
Hi Akos,

I think, you need to explain a little deeper what the problem is.


> Am 02.11.2016 um 12:35 schrieb BAGI Ákos <abagi@compuflex.hu>:
>
> Hi List!
>
> I have a running qmail server.

Ok. Is it running on Jessie?

> I use cron scripts to monitor the system and send the
> result to my qmail mailbox.

Hm. By means of the 'sendmail' facility?

> But on Jessie the local delivery is made by jessie.

Did you check, that the 'sendmail' on your system is linked to qmail's /var/qmail/bin/sendmail ?

> How can I change it to qmail?
>

Best regards.
--eh.

> THX
> Akos Bagi
>
>
>

Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de | PGP Key-Id: EE00CF65
Re: Passing local delivery to qmail (instead of exim) [ In reply to ]
On Wed, Nov 02, 2016 at 12:35:06PM +0100, BAGI Ákos wrote:
> 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.

Jessie is not a mailer

> How can I change it to qmail?

Do /usr/sbin/sendmail and /usr/lib/sendmail point to their correct
locations?

--
Best regards,
Ed http://www.s5h.net/
Re: Passing local delivery to qmail (instead of exim) [ In reply to ]
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-
Re: Passing local delivery to qmail (instead of exim) [ In reply to ]
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
Re: Passing local delivery to qmail (instead of exim) [ In reply to ]
Hi!
Thank you fror the advice, it's solved the problem.

BR
Akos Bagi

2016.11.02. 15:48 keltezéssel, Dan Ritter írta:
> 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-
>
>
>
>