-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 06 March 2003 07:55 pm, Mikkel L. Ellertson wrote: > On Thu, 6 Mar 2003, Martin Marques wrote: > > Quoting Eric Sisler <[EMAIL PROTECTED]>: > > > > > I'm on a RedHat 7.3 using postfix, and I found out that the > > > > > only way to > > > > > > have > > > > > > > > mailman is installing sendmail. > > > > > > Not true. I'm running RedHat 7.3, mailman and postfix. In fact > > > the mailman website recommends postfix over sendmail. (at least > > > the last time I looked it did.) > > > > You're surelly using Simon's RPM, because with RedHats postfix rpm > > you would find this: > > > > [EMAIL PROTECTED] root]# rpm -e sendmail > > error: removing these packages would break dependencies: > > /usr/bin/newaliases is needed by mailman-2.0.13-1 > > [EMAIL PROTECTED] root]# rpm -q postfix > > postfix-1.1.7-2 > > > > > > > Checking I found that the postfix rpm that > > > > > comes with RedHat doesn't provide /usr/bin/newaliases. > > > > > I found a bug report at bugzilla.redhat.com from last year, and > > > > > there > > > > > > isn't an > > > > > > > > update for this bug, which is very easy to solve (just have to > > > > > add the provide to the rpm). > > > > > > On my server /usr/bin/newaliases is a symlink to > > > "/usr/bin/newalias" which is in turn a symlink to > > > "/usr/bin/newaliases.postfix". You should be able to create the > > > necessary symlinks manually. > > > > Links don't matter. Postix is running great, with the postfix mailq, > > sendmail and newaliases. But if I want to install mailman I need to > > meet the dependencies, and one of those is to have > > /usr/bin/newaliases, which isn't in the list of provides that postfix > > has. > > > > Any way, I patched the spec file that comes with the rpm and I'm > > recompiling. > > Mailman installs just fine with the stock redhat Postfix rpm. The > Postfix rpm creates a symlink for newaliases as part of the install > script. The Mailman rpm is happy with this, even though: > > [EMAIL PROTECTED] download]$ rpm -qf /usr/bin/newaliases > file /usr/bin/newaliases is not owned by any package
Yes, but mailman reports a dependency problem if you don't also have sendmail installed. Mailman has a require dependency on /usr/bin/newaliases Sendmail explicity provides /usr/bin/newaliases Postfix does not provide /usr/bin/newaliases If you want to run postfix and mailman, and don't want to force the package install, you must also install sendmail. $ rpm -q --redhatrequires /usr/bin/newaliases mailman-2.0.9-1 $ rpm -q --redhatprovides /usr/bin/newaliases sendmail-8.11.6-15 file /usr/bin/newaliases is not owned by any package Here are the provides from both packages: $ rpm -qp --provides postfix-1.1.7-2.i386.rpm MTA smtpd smtpdaemon /usr/sbin/sendmail /usr/bin/mailq /usr/bin/rmail postfix = 2:1.1.7-2 $ rpm -qp --provides sendmail-8.11.6-15.i386.rpm smtpdaemon /usr/sbin/sendmail /usr/bin/mailq /usr/bin/newaliases /usr/bin/rmail /usr/share/man/man1/mailq.1.gz /usr/share/man/man1/newaliases.1.gz /usr/share/man/man5/aliases.5.gz sendmail = 8.11.6-15 I know the reason behind this is the redhat-switchmail package, which handles the symlinks automatically. However, postfix, as an alternative MTA, should be listed as providing /usr/bin/newaliases, and not rely on having both sendmail and postfix installed. Doing so would require a post install script to fix up the link, since it actually gets installed as /usr/bin/newaliases.postfix. This is no different than the sendmail package, which installs /usr/bin/newaliases.sendmail, but is still listed as providing /usr/bin/newaliases. I've sort of given up on this topic, as the bug report I filed has been left as new since last July or so. http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=71038 - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+aCH3n/07WoAb/SsRAidbAJ9E2gCVISIZxzpU8BelM9nihmWgfwCeN9gC 9KgVUaWpnV799VQxTHKrubg= =4xWE -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list