I had to remove "!mail-mta/sendmail", "!mail-mta/postfix" and "!mail-mta/exim" in order to install exim as second MTA.
Thanks everyone for the help! On Mon, Aug 8, 2016 at 2:56 PM, Neil Bothwick <n...@digimed.co.uk> wrote: > On Mon, 8 Aug 2016 15:40:45 +0500, Azamat Hackimov wrote: > > Please don't top-post. > > > You know, this is very unusual configuration. I don't even can imagine > > why you need both of them. > > In order to resolve mutual block, you need to remove "!mail-mta/postfix" > > and "!mail-mta/exim" strings from RDEPEND in both packages. Don't > > forget to place modified ebuilds to local overlay. > > That's not enough. Both ebuilds install sendmail, so you'll also have to > deal with file collisions, or modify one of the ebuild to not install > sendmail. The latter is probably the better option. > > Another approach would be to run one of these MTAs in a container, which > would avoid all these shenanigans. > > > > 2016-08-08 15:29 GMT+05:00 Konstantin <myownlett...@gmail.com>: > > > > > Hello Guys > > > > > > I need to install postfix and exim at the same Gentoo server. > > > I know it is unusual configuration ). > > > I have both MTA running at CentOS and trying to migrate to Gentoo. > > > > > > Current error message for "emerge -pv exim" is: > > > [blocks B ] mail-mta/exim ("mail-mta/exim" is blocking > > > mail-mta/postfix-3.1.0-r1) > > > > > > Total: 2 packages (2 new), Size of downloads: 1,763 KiB > > > Conflict: 1 block (1 unsatisfied) > > > > > > * Error: The above package list contains packages which cannot be > > > * installed at the same time on the same system. > > > > > > (mail-mta/postfix-3.1.0-r1:0/0::gentoo, installed) pulled in by > > > mail-mta/postfix required by @selected > > > > > > (mail-mta/exim-4.87:0/0::gentoo, ebuild scheduled for merge) pulled > > > in by > > > exim > > > > > > What i need to change in ebuild files of these packages in order to > > > install both of them ? > > > > > > Thanks. > > > > > > -- > > > *This message was delivered using 100% recycled electrons*. > > > > > > > > > > > > > > -- > Neil Bothwick > > Top Oxymorons Number 10: Computer security > -- *This message was delivered using 100% recycled electrons*.