Marten Lehmann <[email protected]> wrote:
> Hello,
> we use the autoreply transport like this:
> address_autoreply:
> driver = autoreply
> text = ${lookup ldap
> {ldap:///cn=$local_part@$domain,ou=users,dc=mail?autoresponder}}
> from = $local_part@$domain
> subject = Re: ${rfc2047:$header_subject:} (autoresponse)
> to = $sender_address
> headers = MIME-Version: 1.0\nContent-Type: text/plain;
> charset=UTF-8\nContent-Transfer-Encoding: 8bit
> once = /var/spool/exim4/once.db
> once_repeat = 1d
> It worked fine for years and we didn't exactly notice, with which exam
> update double commas have been added. Customers complained just recently
> about seeing double commas in their autoreplies.
> How do we get rid of the double commas so the replies sent the senders
> look like normal again?
You need to use ${sg} to replace ,, with ,:
text = ${sg{${lookup ldap
{ldap:///cn=$local_part@$domain,ou=users,dc=mail?autoresponder}}{,,}{,}}
Grüße,
Sven.
--
Sigmentation fault. Core dumped.
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/