Gentoo Archives: gentoo-server

From: Kerin Millar <kerframil@×××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] help for qmail and virtual/mta
Date: Tue, 13 Jun 2006 11:55:34
Message-Id: 279fbba40606130450p51e5333jc36c92f648b60e04@mail.gmail.com
In Reply to: Re: [gentoo-server] help for qmail and virtual/mta by David CHANIAL
1 On 13/06/06, David CHANIAL <david.ml@××××××××.fr> wrote:
2 > Le Mardi 13 Juin 2006 13:25, Kerin Millar a écrit:
3 > > So try:
4 > >
5 > > # echo "mail-mta/ssmtp-2.61" >> /etc/portage/profile/package.provided
6 >
7 > i would try it but it is not "a good way" no ?
8 >
9 > really, the system is searching for virtual/mta which can be filled by
10 > mail-mta/qmail.
11 >
12 > this last is installed without portage, so the "good way" according to me, is
13 > to tell the system that mail-mta/qmail is installed.
14 >
15 > i don't know what virtual/qmail is make for, but why the virtual/mta is not
16 > provided by virtual/qmail instead of mail-mta/qmail ???
17 >
18 > virtual/qmail is needed by mail-mta/qmail, in this case, it let us to :
19 >
20 > -> emerge virtual/qmail only when qmail is installed manually and the
21 > virtual/mta is provided
22 >
23 > -> emerge mail-mta/qmail, which need virtual/mta, and so, provide the
24 > virtual/mta too ?
25 >
26 > if i'm not wrong, have i to post a bug ?
27
28 No, it's not a bug. Consider the effective dependency tree - ssmtp is
29 the requested package and therefore this is the package that you have
30 to "provide". Because qmail is _not_ part of the dependency tree,
31 indicating that it's provided is useless. If you wanted to do it by
32 specifying qmail then you'd have to do this too:
33
34 # echo "virtual/mta mail-mta/qmail" >> /etc/portage/profile/virtuals
35
36 By doing that you'd make qmail the default choice for fulfulling
37 virtual/mta; you should be able to confirm that by running emerge -ptv
38 spamassassin afterwards. Therefore, you could proceed to put
39 mail-mta/qmail in package.provided and it should work.
40
41 But it would be completely pointless. You'd be overriding a virtual
42 for no good reason (you're never going to emerge the virtual anyway)
43 and making things more complicated. Specifying ssmtp is a good way :)
44
45 Cheers,
46
47 --Kerin
48
49 --
50 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] help for qmail and virtual/mta David CHANIAL <david.ml@××××××××.fr>