Gentoo Archives: gentoo-user

From: Konstantin <myownletters@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 2 MTA at the same host
Date: Wed, 10 Aug 2016 15:23:25
Message-Id: CABOOiQX53fkueyiZ5CJpKxQjdjXtHungEkOv-P9C4uYuPmKXBA@mail.gmail.com
In Reply to: Re: [gentoo-user] 2 MTA at the same host by Neil Bothwick
1 I had to remove "!mail-mta/sendmail", "!mail-mta/postfix" and
2 "!mail-mta/exim" in order to install exim as second MTA.
3
4 Thanks everyone for the help!
5
6 On Mon, Aug 8, 2016 at 2:56 PM, Neil Bothwick <neil@××××××××××.uk> wrote:
7
8 > On Mon, 8 Aug 2016 15:40:45 +0500, Azamat Hackimov wrote:
9 >
10 > Please don't top-post.
11 >
12 > > You know, this is very unusual configuration. I don't even can imagine
13 > > why you need both of them.
14 > > In order to resolve mutual block, you need to remove "!mail-mta/postfix"
15 > > and "!mail-mta/exim" strings from RDEPEND in both packages. Don't
16 > > forget to place modified ebuilds to local overlay.
17 >
18 > That's not enough. Both ebuilds install sendmail, so you'll also have to
19 > deal with file collisions, or modify one of the ebuild to not install
20 > sendmail. The latter is probably the better option.
21 >
22 > Another approach would be to run one of these MTAs in a container, which
23 > would avoid all these shenanigans.
24 > >
25 > > 2016-08-08 15:29 GMT+05:00 Konstantin <myownletters@×××××.com>:
26 > >
27 > > > Hello Guys
28 > > >
29 > > > I need to install postfix and exim at the same Gentoo server.
30 > > > I know it is unusual configuration ).
31 > > > I have both MTA running at CentOS and trying to migrate to Gentoo.
32 > > >
33 > > > Current error message for "emerge -pv exim" is:
34 > > > [blocks B ] mail-mta/exim ("mail-mta/exim" is blocking
35 > > > mail-mta/postfix-3.1.0-r1)
36 > > >
37 > > > Total: 2 packages (2 new), Size of downloads: 1,763 KiB
38 > > > Conflict: 1 block (1 unsatisfied)
39 > > >
40 > > > * Error: The above package list contains packages which cannot be
41 > > > * installed at the same time on the same system.
42 > > >
43 > > > (mail-mta/postfix-3.1.0-r1:0/0::gentoo, installed) pulled in by
44 > > > mail-mta/postfix required by @selected
45 > > >
46 > > > (mail-mta/exim-4.87:0/0::gentoo, ebuild scheduled for merge) pulled
47 > > > in by
48 > > > exim
49 > > >
50 > > > What i need to change in ebuild files of these packages in order to
51 > > > install both of them ?
52 > > >
53 > > > Thanks.
54 > > >
55 > > > --
56 > > > *This message was delivered using 100% recycled electrons*.
57 > > >
58 > >
59 > >
60 > >
61 >
62 >
63 >
64 >
65 > --
66 > Neil Bothwick
67 >
68 > Top Oxymorons Number 10: Computer security
69 >
70
71
72
73 --
74 *This message was delivered using 100% recycled electrons*.