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


Groups > linux.debian.user > #207363

Re: exim4 smtp-auth

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: exim4 smtp-auth
Date 2019-04-12 11:00 +0200
Message-ID <xM0cp-1Wd-1@gated-at.bofh.it> (permalink)
References <xLZT4-1Pi-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web