On 14/11/2013 17:55, Tanstaafl wrote: > On 2013-11-14 10:28 AM, Tanstaafl <tansta...@libertytrek.org> wrote: >> Nevermind, removed the smtp.example.com entry that wasn't supposed to be >> there... >> >> Now to get SASL_AUTH working... > > Ok, imnsho, the comments in /usr/share/portage/config/make.conf.example > are not sufficiently explicit... > >> # port: port to use on the given smtp >> server (defaults to 25, values > 100000 indicate that starttls should >> be used on (port-100000)) >> # Examples: >> #PORTAGE_ELOG_MAILURI="root@localhost localhost" (this is also the >> default setting) >> #PORTAGE_ELOG_MAILURI="user@some.domain mail.some.domain" (sends mails >> to user@some.domain using the mailserver mail.some.domain) >> #PORTAGE_ELOG_MAILURI="user@some.domain >> user:sec...@mail.some.domain:100465" (this is left uncommented as a >> reader exercise ;) > > It is unclear from this text that the first three characters of the > specified port are IGNORED... > > I had been trying user:sec...@mail.some.domain:587, and it kept failing > as if it wasn't using STARTTLS... then I started down a rabbit hole of > trying to configure postfix's sasl client, then decided that was way > overkill for what I was trying to accomplish... > > Then in a flash of inspiration, I decided to try 100587 for the port and > it just worked. > > Anyway, on to prepping for building my first initramfs this weekend... >
You used the words "it is unclear". I think you are being way too kind. I hadn't read that doc until you posted this thread, so when I did read it my reaction was ... let's just say it was unprintable and involved repeated excessive use of the words "fuck", "moron", "brain donor" and other such things. Not directed at you of course, but at the document author. Of all the brain-dead stupid ideas I've seen in IT, that one rates up there with the best of them. Hidden magic behaviour triggered by hidden magic data that is in direct opposition to how we have done port assignments for 30 years at least. Thanks for bringing this to the attention of the list as a whole. -- Alan McKinnon alan.mckin...@gmail.com