[exim] Making my exim autoresponder multilingual

Góra strony
Delete this message
Reply to this message
Autor: Oleg R
Data:  
Dla: exim-users
Temat: [exim] Making my exim autoresponder multilingual
Hello everyone. I came acrros a problem with my exim autoresponder which
sends messages only in english . I need exim to autorespond in a different
charset like cp1251, koi8-r that stands for cyrrilic languages. I will
briefly describe my configuration:

################Router
mysql_autorespond:
  driver = accept
    condition = ${if eq{} {${lookup mysql{SELECT status \
       FROM autoresponders WHERE email= 
'${quote_mysql:${local_part}@${domain}}'\
       AND status='1'}}}{no}{yes}}
     no_verify
     no_expn
     unseen
     transport = address_mysql


################Transport
address_mysql:
  driver   = autoreply
    from     = ${local_part}@${domain}
    reply_to = ${local_part}@${domain}
    to       = ${sender_address}
    subject  = ${lookup mysql{SELECT subject FROM autoresponders WHERE \
                email='${quote_mysql:${local_part}@${domain}}'}{$value}}
    text     = ${lookup mysql{SELECT body FROM autoresponders WHERE \
                email='${quote_mysql:${local_part}@${domain}}'}{$value}}
    headers = "Content-Type: text/plain; charset=windows-1251"
-----------------------------------------------------------------------------
Also i have compiled exim with option HEADERS_CHARSET="CP1251" . The 
database charset that holds the autoresponders texts  is also cp1251. The 
problem is when I send any message to a user with autoresponder text in 
cyrrilic(cp1251,win-1251) I receive only question marks (???????). What can 
cause that or how can I solve this problem? Thanks a lot for your time.


Oleg R.