Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 16:29:14 -0600
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Karsten W. Rohrbach" <karsten@rohrbach.de>
Cc:        <stable@FreeBSD.ORG>
Subject:   Re: sendmail_enable NONE
Message-ID:  <008b01c1d5de$d3a5d0c0$11fd2fd8@westbend.net>
References:  <20020327154948.26668.qmail@web11602.mail.yahoo.com> <20020327115442.C27253@shell.one.net> <000c01c1d5bb$38e336e0$11fd2fd8@westbend.net> <20020327200304.C43825@mail.webmonster.de>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Karsten W. Rohrbach" <karsten@rohrbach.de>
> Scot W. Hetzel(hetzels@westbend.net)@2002.03.27 12:14:22 +0000:
>> I don't even know why people are making such an issue out of this, as all
>> that is required is to properly configure /etc/mailer.conf for your MTA,
and

^^^^^^^^^^^^
This should be /etc/mail/mailer.conf

>> then set /etc/rc.conf up properly:
>>
>> sendmail_enable=YES
>> sendmail_flags="-bd -q30m"    # Change to the old default MTA flags or
flags
>> for specific MTA
>> sendmail_outbound_enable=NO
>> sendmail_msp_queue_enable=NO
>> sendmail_submit_enable=NO
>
> this still leaves the binaries in the filesystem. since the standard
> make wizardry does not include a "deinstall" target (like for example
> ports do) and teh /usr/src based software does not have per-directory
> mtree files or filelists (manifests) for installed files, removing the
> software installed by a standard make installword becomes really messy
> and not quite customizeable. the only alternative to this are the NO_*
> options, but when you just do a quick install from release media, the
> old binaries from the first installation will stay happily where they
> are. i'm not much into netbsd, and i still prefer freebsd for my
> everyday tasks, but the syspkg concept seems to make sense, though, at
> first glance in cvs it appears to be quite complex.

Removing sendmail is not complex at all, just add NO_SENDMAIL to make.conf
then remove /usr/libexec/sendmail/, /usr/share/sendmail/,
/usr/lib/libmilter.a (8.12), and /usr/include/libmilter/ (8.12) from the
system.  Of course you would have to do this on each new system that is set
up.

As for these binaries (/usr/sbin/sendmail, /usr/bin/mailq, and
/usr/bin/newaliases), they are normaly linked to the mailwrapper program. So
just change /etc/mail/mailer.conf to your MTA, and they will work, without
having to create links in the /usr/bin & /usr/sbin directories.

NOTE: If NO_MAILWRAPPER is set in /etc/make.conf, then these files are
linked to /usr/libexec/sendmail/sendmail instead. So make sure you don't
have NO_MAILWRAPPER defined when building/installing from sources.

Yes, it would be nice to have the base system as packages, but so far no one
has submitted code for such a system for FreeBSD.

Scot


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008b01c1d5de$d3a5d0c0$11fd2fd8>