[exim] Problem with carriage return and ldaplookup

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Kai Riasol Gonzalez
Dátum:  
Címzett: exim-users
Tárgy: [exim] Problem with carriage return and ldaplookup
Hi,

i´m using exim 4.34. if i activate vacation-message , if have the problem that
the vacation-message dont´t have carriage returns. i make get the text from a
ldaplookup.
I have tried "\n" and "\\n" but i get every time
"1. Row \n 2.Row" or 1. Row \\n 2.Row.

this is my vacation transport.

thx

kai

vacation_user:
  driver = autoreply
  subject = ${lookup ldap \
                      { user=LDAPUSER pass=LDAPPASS \


ldap://LDAPSERVER/ou=user,dc=domain,dc=de?vacationSubject?sub?(&(mail=$local_part@$domain)(accountStatus=enable))}{$value}
fail}
  text = ${lookup ldap \
                      { user=LDAPUSER pass=LDAPPASS \


ldap://LDAPSERVER/ou=user,dc=domain,dc=de?vacationText?sub?(&(mail=$local_part@$domain)(accountStatus=enable))}{$value}
fail}
  log = /var/spool/exim4/vacation/${local_part}@${domain}-log
  once = /var/spool/exim4/vacation/${local_part}@${domain}-once
  once_repeat = ${lookup ldap \
                      { user=LDAPUSER pass=LDAPPASS \


ldap://LDAPSERVER/ou=user,dc=domain,dc=de?vacationDuring?sub?(&(mail=$local_part@$domain)(accountStatus=enable))}{$value}
fail}
to = ${escape:$reply_address}
from = ${local_part}@${domain}
user = Debian-exim