NetBSD Problem Report #13335
Received: (qmail 24137 invoked from network); 28 Jun 2001 22:21:25 -0000
Message-Id: <20010628222954.E235FE46@mail.arkham.ws>
Date: Thu, 28 Jun 2001 18:29:54 -0400 (EDT)
From: wonko@arkham.ws
Reply-To: wonko@arkham.ws
To: gnats-bugs@gnats.netbsd.org
Subject: after postfix install it still uses old sendmail
X-Send-Pr-Version: 3.95
>Number: 13335
>Category: pkg
>Synopsis: after postfix install it still uses old sendmail
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: martti
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 28 22:22:01 +0000 2001
>Closed-Date: Tue May 14 06:58:04 +0000 2002
>Last-Modified: Tue May 14 06:58:04 +0000 2002
>Originator: Brian hechinger
>Release: /usr/pkgsrc
>Organization:
just a NetBSD end user
>Environment:
System: NetBSD scotty 1.5.1_BETA NetBSD 1.5.1_BETA (SCOTTY) #0: Wed Apr 25 21:04:27 EDT 2001 root@scotty:/usr/syssrc/sys/arch/sparc/compile/SCOTTY sparc
>Description:
after installation of postfix i was having a real problem where it
didn't seem to correctly re-write my rules, tracked it down to the fact that
the old non-postfix sendmail was being used.
>How-To-Repeat:
install postfix out of pkgsrc
>Fix:
have the postfix install bits change /etc/mailer.cf
from:
sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
newaliases /usr/libexec/sendmail/sendmail
hoststat /usr/libexec/sendmail/sendmail
purgestat /usr/libexec/sendmail/sendmail
to:
sendmail /usr/libexec/postfix/sendmail
send-mail /usr/libexec/postfix/sendmail
mailq /usr/libexec/postfix/sendmail
newaliases /usr/libexec/postfix/sendmail
hoststat /usr/libexec/postfix/sendmail
purgestat /usr/libexec/postfix/sendmail
>Release-Note:
>Audit-Trail:
From: Matthias Buelow <mkb@mukappabeta.de>
To: wonko@arkham.ws
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: misc/13335: after postfix install it still uses old sendmail
Date: Fri, 29 Jun 2001 00:39:56 +0200
wonko@arkham.ws writes:
>have the postfix install bits change /etc/mailer.cf
no. the user must be given a chance to configure the new mail system
before activating it.
--mkb
From: Brian Hechinger <wonko@arkham.ws>
To: Matthias Buelow <mkb@mukappabeta.de>
Cc: wonko@arkham.ws, gnats-bugs@gnats.netbsd.org
Subject: Re: misc/13335: after postfix install it still uses old sendmail
Date: Thu, 28 Jun 2001 18:56:51 -0400
On Fri, Jun 29, 2001 at 12:39:56AM +0200, Matthias Buelow wrote:
> >have the postfix install bits change /etc/mailer.cf
>
> no. the user must be given a chance to configure the new mail system
> before activating it.
then something should be done that VERY CLEARLY states that this is a step
that needs to be performed. i wasted my time, as well as the time of many
people on the postfix mailing list trying to figure this out. had something
poped up and said, "hey, you have to do this one minor thing first" then i
could have avoided the whole incident.
-brian
From: Matthias Buelow <mkb@mukappabeta.de>
To: Brian Hechinger <wonko@arkham.ws>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: misc/13335: after postfix install it still uses old sendmail
Date: Fri, 29 Jun 2001 01:18:17 +0200
Brian Hechinger writes:
[about the need to change /etc/mailer.conf when setting up a different
mail system]
>then something should be done that VERY CLEARLY states that this is a step
>that needs to be performed. i wasted my time, as well as the time of many
I agree with that of course, although I personally did _not_ encounter
this difficulty when changing from sendmail to the in-base shipped
postfix. I can't remember right now but maybe the issue was a lot
clearer for me since I researched right ahead for a method of enabling
the (already existent) postfix instead of relying on some 3rd party sw
via pkgsrc. There should be a prominent notice displayed at the end of
the pkgsrc installation, reminding the user about adapting /etc/mailer.conf
after configuration.
--mkb
From: Brian Hechinger <wonko@arkham.ws>
To: Matthias Buelow <mkb@mukappabeta.de>
Cc: Brian Hechinger <wonko@arkham.ws>, gnats-bugs@gnats.netbsd.org
Subject: Re: misc/13335: after postfix install it still uses old sendmail
Date: Thu, 28 Jun 2001 19:23:38 -0400
On Fri, Jun 29, 2001 at 01:18:17AM +0200, Matthias Buelow wrote:
>
> [about the need to change /etc/mailer.conf when setting up a different
> mail system]
>
> I agree with that of course, although I personally did _not_ encounter
> this difficulty when changing from sendmail to the in-base shipped
> postfix. I can't remember right now but maybe the issue was a lot
> clearer for me since I researched right ahead for a method of enabling
> the (already existent) postfix instead of relying on some 3rd party sw
> via pkgsrc. There should be a prominent notice displayed at the end of
> the pkgsrc installation, reminding the user about adapting /etc/mailer.conf
> after configuration.
well, the extra confusing bit was i was following the instructions to install
postfix, which pkgsrc automated, so i stopped following the instructions.
throw in a notice at the end and i'll be a happy guy. thanks!!
cheers,
-brian
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: wonko@arkham.ws
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: misc/13335: after postfix install it still uses old sendmail
Date: Fri, 29 Jun 2001 21:50:30 -0700 (PDT)
On Thu, 28 Jun 2001 wonko@arkham.ws wrote:
> after installation of postfix i was having a real problem where it
> didn't seem to correctly re-write my rules, tracked it down to the fact that
> the old non-postfix sendmail was being used.
The mail logs would have shown "sendmail" ...
> >Fix:
> have the postfix install bits change /etc/mailer.cf
This will break a currently running sendmail-based mail server. Someone
may choose to install postfix first, do some configurations, run it on a
different port for testing, et cetera before they want to make it live.
> sendmail /usr/libexec/postfix/sendmail
> send-mail /usr/libexec/postfix/sendmail
> mailq /usr/libexec/postfix/sendmail
> newaliases /usr/libexec/postfix/sendmail
> hoststat /usr/libexec/postfix/sendmail
> purgestat /usr/libexec/postfix/sendmail
I agree that a note should be displayed to tell you this and a sample of
this (maybe "/usr/pkg/etc/postfix/mailer.conf.postfix") could be made
available.
Jeremy C. Reed
http://www.reedmedia.net/
Responsible-Changed-From-To: misc-bug-people->martti
Responsible-Changed-By: wiz
Responsible-Changed-When: Sun May 12 16:55:24 PDT 2002
Responsible-Changed-Why:
martti is the de-facto maintainer of pkgsrc-postfix.
State-Changed-From-To: open->closed
State-Changed-By: martti
State-Changed-When: Mon May 13 23:56:26 PDT 2002
State-Changed-Why:
Added a MESSAGE file to describe how to activate postfix.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.