bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22188: 24.5; auth-source-search ignores netrc entries with port set


From: Lars Ingebrigtsen
Subject: bug#22188: 24.5; auth-source-search ignores netrc entries with port set
Date: Thu, 24 Dec 2015 16:25:31 +0100
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux)

Ted Zlatanov <tzz@lifelogs.com> writes:

>    This will match any authentication port.  Simple, right?  But what if
> there’s a SMTP server on port 433 of that machine that needs a different
> password from the IMAP server?
>
>      machine YOURMACHINE login YOU password SMTPPASSWORD port 433
>      machine YOURMACHINE login YOU password GENERALPASSWORD
>
> I hope that helps. Closing this as done, but please let me know if the
> auth-source manual or docstrings need improvement.

The return values are hopefully sorted by specificity, right?  So the
first entry will be 433 if you specify :port "443" in the auth-source
call?  (And :max 1 will just return that entry...)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]