[EXIM] exim 3.X autoreply text with Chinese characters

Page principale
Supprimer ce message
Répondre à ce message
Auteur: cwlin
Date:  
À: exim-users
Sujet: [EXIM] exim 3.X autoreply text with Chinese characters
<-- Warning: charset 'x-user-defined' is not supported -->


Hi Philip:

I come from Taiwan. I use exim for Chinese environment.
I have a problem while using autoreply with Chinese characters.
(BIG5 code)

    I found autoreply.c does not want non-printing characters. 
  (in src/transports/autoreply.c - checkexpand() subroutine )


    But I have Chinese vacation message saved in MySQL db.
   And use MySQL loookup in "text = " item. 


in autoreply.c, exim checkexpand for "text" item.

      (text  != NULL && 
        (text = checkexpand(text, addr, tblock->name, TRUE)) == NULL) ||


It will make autoreply does not accept any Chinese characters in
"text". I do not know why exim does not accept non-printing
characters in autoreply text.

Could we skip the checkexpand for "text" ? Is it dangerout
if we accept non-printing characters in "text"? Or could
you change the code at next version of exim? :)

Thank you very much.

ps. Exim is the best MTA in internet.

--

Ching-Wei LIN / ?L?[??
cwlin@???. http://cwlin.seed.net.tw
SEEDNet Senior System Administrator / System Architect
Taipei, Taiwan.