[exim] How to allow delimiter characters in delimited string…

Top Pagina
Delete this message
Reply to this message
Auteur: Marc Haber
Datum:  
Aan: exim-users
Onderwerp: [exim] How to allow delimiter characters in delimited strings?
Hi,

as you might know, the Debian exim4 packages use a file named
/etc/exim4/passwd.client to hold the authentication data used by exim
to authenticate as a client. Its lines are colon-separated:

hostname:username:cleartext-password

so that ${extract{1}{:} can be used to obtain the user name and
${extract{2}{:} yields the cleartext password.

While defining this, we didn't think of user names and passwords
containing colons :-(

Is there any possibility to escape delimiters that might be contained
inside fields in delimited lines? Do you guys have any ideas about how
to allow colons in user names and passwords while preserving backwards
compatibility for existing installations?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber         |   " Questions are the         | Mailadresse im Header
Mannheim, Germany  |     Beginning of Wisdom "     | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834