[exim] Problem with carriage return and ldaplookup

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kai Riasol Gonzalez
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [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