Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #207361 > unrolled thread

exim4 smtp-auth

Started byrlharris@oplink.net
First post2019-04-12 10:40 +0200
Last post2019-04-12 11:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  exim4 smtp-auth rlharris@oplink.net - 2019-04-12 10:40 +0200
    Re: exim4 smtp-auth <tomas@tuxteam.de> - 2019-04-12 11:00 +0200
      Re: exim4 smtp-auth rlharris@oplink.net - 2019-04-12 11:10 +0200

#207361 — exim4 smtp-auth

Fromrlharris@oplink.net
Date2019-04-12 10:40 +0200
Subjectexim4 smtp-auth
Message-ID<xLZT4-1Pi-13@gated-at.bofh.it>
For SMTP-AUTH in exim4, the authorization string saved in
/etc/exim4/passwd.client is of the form:

     smarthost.isp.net:login_identification:password

with the colon character (:) being the delimiter.

Can this scheme work with a password which itself contains a colon,
such as:

     this:is:my:password

by quoting the password:

     smarthost.isp.net:login_identification:'this:is:my:password'

[toc] | [next] | [standalone]


#207363

From<tomas@tuxteam.de>
Date2019-04-12 11:00 +0200
Message-ID<xM0cp-1Wd-1@gated-at.bofh.it>
In reply to#207361

[Multipart message — attachments visible in raw view] — view raw

On Fri, Apr 12, 2019 at 03:31:13AM -0500, rlharris@oplink.net wrote:
> For SMTP-AUTH in exim4, the authorization string saved in
> /etc/exim4/passwd.client is of the form:
> 
>     smarthost.isp.net:login_identification:password
> 
> with the colon character (:) being the delimiter.
> 
> Can this scheme work with a password which itself contains a colon,
> such as:
> 
>     this:is:my:password
> 
> by quoting the password:
> 
>     smarthost.isp.net:login_identification:'this:is:my:password'

I'd guess that the whole thing gets split at the first colon, the rest
being the password -- cf. for example, in /etc/exim4/conf.d/auth/30_exim4-config_examples:

  client_secret = ${extract{2}{:}{${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}}

That would mean: the quotes would be part of your password,
probably not what you want.

So I'd try without quotes first.

Cheers
-- t

[toc] | [prev] | [next] | [standalone]


#207364

Fromrlharris@oplink.net
Date2019-04-12 11:10 +0200
Message-ID<xM0m6-2fa-3@gated-at.bofh.it>
In reply to#207363
On 2019.04.12 03:51, tomas@tuxteam.de wrote:
> /etc/exim4/conf.d/auth/30_exim4-config_examples:

Thanks for pointing me to the examples file, Tomas; that is one source I 
missed.  I printed out that file and I shall go over it in the morning 
after I catch a bit of sleep.

RLH

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web