1 |
On Sun, Jul 22, 2018 at 6:57 AM Alan Mackenzie <acm@×××.de> wrote: |
2 |
> |
3 |
> On Sat, Jul 21, 2018 at 18:10:58 -0400, Mike Gilbert wrote: |
4 |
> |
5 |
> Apologies to the maintainers and users of nullmailer. |
6 |
|
7 |
Yeah, there is nothing wrong with nullmailer. It is a minimalist MTA |
8 |
for systems where you just want to relay mail to another host without |
9 |
running a full MTA. |
10 |
|
11 |
> > You must have installed a package that depends on virtual/mta, |
12 |
> > presumably because it needs to send emails. |
13 |
> |
14 |
> The package was gnupg, which surely doesn't need to send email. |
15 |
> |
16 |
|
17 |
https://wiki.gnupg.org/WKS |
18 |
https://bugs.gentoo.org/658164 |
19 |
|
20 |
(The latter ironically has yet another person not using |
21 |
package.provided - this one should know better... Plus, you really |
22 |
don't want to have a system without any MTA - in your case you had |
23 |
installed one outside of portage, but if you don't have any that is |
24 |
what nullmailer is for.) |
25 |
|
26 |
> |
27 |
> Thanks, I didn't know about package.provided. It's not quite ideal, but |
28 |
> suffices as a workaround. What's suboptimal about it is that you can |
29 |
> only specify particular versions of packages, not the package as such. |
30 |
> So, if I put |
31 |
> |
32 |
> virtual/mta-1 |
33 |
> |
34 |
> into my package.provided, I'm going to suffer again in the same way when |
35 |
> somebody releases virtual/mta-2. As a workaround, my p.p. looks like |
36 |
> this: |
37 |
|
38 |
So, two things: |
39 |
|
40 |
First, it is probably better to put one of the qmail variants in your |
41 |
package.provided and not virtual/mta-1. I believe that will actually |
42 |
block stuff that interferes with qmail instead of merely making it |
43 |
less likely for an MTA to be pulled in. |
44 |
|
45 |
Nobody should be depending on a specific version of virtual/mta unless |
46 |
there is something wrong with the packages in the previous versions. |
47 |
If there is something wrong with those packages, then there is |
48 |
probably something wrong with your configuration which you would want |
49 |
to know. Since you've put qmail in your packages.provided you'll |
50 |
actually get blockers instead of portage just walking over your stuff. |
51 |
|
52 |
You should also be installing qmail in /usr/local so that you don't |
53 |
have files getting overwritten by portage. You'll still have the path |
54 |
concerns but in general you shouldn't be writing to /usr without the |
55 |
package manager. You get to keep the pieces if it happily overwrites |
56 |
your stuff from time to time otherwise. |
57 |
|
58 |
-- |
59 |
Rich |