[exim] autoreply driver, return_message and charset

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Cyril Feraudet
Date:  
À: exim-users
Anciens-sujets: Re: [exim] debugging 550 rejects 'after DATA' ?
Sujet: [exim] autoreply driver, return_message and charset
Hello all,

I've a problem with autoreply driver :

The original message added at the end of autoreply message is in
strong format :


                 Hello, I'm out of office an there are some accent :
                 &é"'(§è!ç!à)à^$ù`@
                 &é"'(§è!ç!à)à^$ù`@
                 &é"'(§è!ç!à)à^$ù`@


                 ------ This is a copy of the message, including all  
the headers. ------
                 Hello how are you, there some accent for you :
                 &=E9"'(=A7=E8!=E7!=E0)=E0^$=F9`@
                 &=E9"'(=A7=E8!=E7!=E0)=E0^$=F9`@
                 &=E9"'(=A7=E8!=E7!=E0)=E0^$=F9`@


here my autoreply transport :
---------------------------------------

     autoreply_transport:
        driver = autoreply
        once = /tmp/$local_part.db
        once_repeat = ${lookup ldap {ldap:/// 
ou=people,dc=xxxxxxxx,dc=fr?mailAutoReplyTimeout?sub?(| 
(mailAlternateAddress=${quote_ldap:$local_part@$domain})(mail=$ 
{quote_ldap:$local_part@$domain}))}}
        from = $local_part@$domain
        to = $sender_address
        headers = "Content-Type: text/plain; charset=utf-8\nContent- 
Transfer-Encoding: 8bit"
        subject = Re: ${rfc2047:$h_subject:}
        text = ${lookup ldap {ldap:///ou=people,dc=xxxxxxxx,dc=fr? 
mailAutoReplyText?sub?(|(mailAlternateAddress=${quote_ldap: 
$local_part@$domain})(mail=${quote_ldap:$local_part@$domain}))}}
        body_only
        return_message




Same problem with :
----------------------------

autoreply_transport:
    driver = autoreply
    once = /tmp/$local_part.db
    once_repeat = ${lookup ldap {ldap:///ou=people,dc= xxxxxxxx,dc=fr? 
mailAutoReplyTimeout?sub?(|(mailAlternateAddress=${quote_ldap: 
$local_part@$domain})(mail=${quote_ldap:$local_part@$domain}))}}
#   once_repeat = 3d
    from = $local_part@$domain
    to = $sender_address
    headers = "Content-Type: text/plain; charset=iso-8859-1\nContent- 
Transfer-Encoding: 8bit"
    subject = Re: ${rfc2047:$h_subject:}
    text = ${from_utf8:${lookup ldap {ldap:///ou=people,dc=  
xxxxxxxx,dc=fr?mailAutoReplyText?sub?(|(mailAlternateAddress=$ 
{quote_ldap:$local_part@$domain})(mail=${quote_ldap:$local_part@ 
$domain}))}}}
    body_only
    return_message



Some body have an idea ?


--

Cyril Feraudet

Lab tests show that use of micro$oft causes cancer in lab animals