Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Changing mailuri for emailing emerge logs - AUTH version fails
Date: Thu, 14 Nov 2013 20:31:23
Message-Id: 528532E8.3070105@gmail.com
In Reply to: Re: [gentoo-user] Changing mailuri for emailing emerge logs - AUTH version fails by Tanstaafl
1 On 14/11/2013 17:55, Tanstaafl wrote:
2 > On 2013-11-14 10:28 AM, Tanstaafl <tanstaafl@×××××××××××.org> wrote:
3 >> Nevermind, removed the smtp.example.com entry that wasn't supposed to be
4 >> there...
5 >>
6 >> Now to get SASL_AUTH working...
7 >
8 > Ok, imnsho, the comments in /usr/share/portage/config/make.conf.example
9 > are not sufficiently explicit...
10 >
11 >> # port: port to use on the given smtp
12 >> server (defaults to 25, values > 100000 indicate that starttls should
13 >> be used on (port-100000))
14 >> # Examples:
15 >> #PORTAGE_ELOG_MAILURI="root@localhost localhost" (this is also the
16 >> default setting)
17 >> #PORTAGE_ELOG_MAILURI="user@××××.domain mail.some.domain" (sends mails
18 >> to user@××××.domain using the mailserver mail.some.domain)
19 >> #PORTAGE_ELOG_MAILURI="user@××××.domain
20 >> user:secret@×××××××××.domain:100465" (this is left uncommented as a
21 >> reader exercise ;)
22 >
23 > It is unclear from this text that the first three characters of the
24 > specified port are IGNORED...
25 >
26 > I had been trying user:secret@×××××××××.domain:587, and it kept failing
27 > as if it wasn't using STARTTLS... then I started down a rabbit hole of
28 > trying to configure postfix's sasl client, then decided that was way
29 > overkill for what I was trying to accomplish...
30 >
31 > Then in a flash of inspiration, I decided to try 100587 for the port and
32 > it just worked.
33 >
34 > Anyway, on to prepping for building my first initramfs this weekend...
35 >
36
37
38 You used the words "it is unclear".
39
40 I think you are being way too kind. I hadn't read that doc until you
41 posted this thread, so when I did read it my reaction was ... let's just
42 say it was unprintable and involved repeated excessive use of the words
43 "fuck", "moron", "brain donor" and other such things. Not directed at
44 you of course, but at the document author.
45
46 Of all the brain-dead stupid ideas I've seen in IT, that one rates up
47 there with the best of them. Hidden magic behaviour triggered by hidden
48 magic data that is in direct opposition to how we have done port
49 assignments for 30 years at least.
50
51 Thanks for bringing this to the attention of the list as a whole.
52
53 --
54 Alan McKinnon
55 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] Changing mailuri for emailing emerge logs - AUTH version fails Tanstaafl <tanstaafl@×××××××××××.org>