[Reddes.bvs-tech] Resolvimos el bug de iAH con sendmail.conf

Wilson Moura mourawil at bireme.ops-oms.org
Mon May 5 15:57:15 BRST 2014


Hola Spinak,

Utilize el usuario *anonymous* y contraseña *4guests@*
Este es el usuario publico del SVN de BIREME para hacer descarga de
aplicaciones y también para crear tickets en nuestros proyectos.

Saludos,


2014-05-05 12:57 GMT-03:00 spinaker <spinaker at adinet.com.uy>:

> Mori
>
> Para nosotros es un placer poder ayudar, y además los desafíos siempre
> nos han gustado
> Pero, hay veces que no recibo respuestas a las consultas
> Por ejemplo, la semana pasada informé que no puedo poner tickets en el
> svn de las aplicaciones pues me rechaza, y no veo tampoco dónde puedo
> hacer login
>
> saludos
> Ernesto Spinak
>
>
> El 04/05/2014 18:59, Marcos Luis Mori escribió:
> > Spinak, muchas gracias por todo el esfuerzo en ayudar a nosotros a
> > mejorar nuestros aplicativos. Vamos verificar y ajustar el fuente e
> > empaquetar nuevamente. Saludos, Mori
> >
> > 2014-05-04 11:37 GMT-03:00 spinaker <spinaker at adinet.com.uy>:
> >> Asael
> >>
> >> finalmente pudimos encontrar el bug de iAH con la función "sendmail" que
> >> permite enviar el resultado de una consulta por e-mail
> >>
> >> En la sección correspondiente
> >> ________________________________
> >>      <label>SEND</label>
> >>          <file action="close" type="output"><pft>v6214</pft></file>
> >>          <field action="replace"
> >> tag="6213"><pft>replace(v6213,'@bireme.br','@brm.bireme.br
> ')</pft></field>
> >>
> >>          <field action="replace" tag="9"
> >>
> split="occ"><pft>cat(getenv('PATH_TRANSLATED'),'sendmail.conf')</pft></field>
> >>          <field action="replace" tag="9"><pft>(if
> left(v9,instr(v9,'=')-1) :
> >> 'EXECUTE' then mid(v9,instr(v9,'=')+1,size(v9)) fi/)</pft></field>
> >>          <field action="replace"
> >>
> tag="9"><pft>replace(replace(v9,'<mailto>',v6213),'<file>',v6214)</pft></field>
> >>          <display><pft>system(v9)</pft></display>
> >>
> >>          <file action="delete" type="file"><pft>v6214</pft></file>
> >>          <display><pft>@AHEMAIL.PFT</pft></display>
> >> ________________________________
> >> EL problema es que en Windows Server 2003, 2008, y Windows 8.x (donde
> >> probamos) iAH no resuelve correctamente el PATH_TRANLATED y no obtiene
> el
> >> archivo sendmail. Hicimos muchísimas pruebas para cada línea del script,
> >> hasta que encontramos que en otra sección del iAH habían documentado un
> >> problema similar ocurrido muchos años atrás con el Windows NT
> >> ________________________________
> >> <function name="UpdPATH_TRANSLATED">
> >>      <field action="replace"
> >> tag="1"><pft>getenv('PATH_TRANSLATED')</pft></field>
> >>      <field action="replace" tag="1"><pft>if v1 : 'list' then
> >> left(v1,instr(v1,'list')-1) fi</pft></field>
> >>      <!-- fix bug variable PATH_TRANSLATED  Windows NT com Apache
> >> Webserver-->
> >>      <field action="replace" tag="1"><pft>if
> right(replace(v1,'\','/'),1) <>
> >> '/' then s(v1,'/') fi</pft></field>
> >>       <!-- apache 2 AcceptPathInfo On  -->
> >>      <field action="replace"
> >> tag="1"><pft>replace(v1,'index.htm','')</pft></field>
> >>
> >>      <display><pft>putenv('PATH_TRANSLATED='v1)</pft></display>
> >> </function>
> >> ________________________________
> >> La solución que allí se indica no pudimos hacerla funcionar, por lo que
> >> finalmente editamos "hard coded" el path al archivo sendmail.conf y
> logramos
> >> hacerlo funcionar
> >>
> >> Agradezco si revisan el scritp iah.xis o documenten cómo solucionarlo en
> >> carácter general
> >>
> >> Saludos
> >> Ernesto Spinak
> >>
> >> --
> >>    .^.                                .^.
> >>    ( )                                ( )
> >>    ===                                ===
> >>   =[=]================================[=]=
> >>    | |  Ernesto Spinak                | |
> >>    | |  spinaker at adinet.com.uy        | |
> >>    | |  Montevideo, Uruguay           | |
> >>    | |  tel/fax  (598) 2622-3352      | |
> >>    | |  celular  (598) 99612238      | |
> >>   =[=]================================[=]=
> >>    ===                                ===
> >>    ( )                                ( )
> >>     V                                  V
> >>
> >>
> >> _______________________________________________
> >> Reddes.bvs-tech mailing list
> >> Reddes.bvs-tech at listas.bireme.br
> >> http://listas.bireme.br/mailman/listinfo/reddes.bvs-tech
> >>
>
>
> --
>    .^.                                .^.
>    ( )                                ( )
>    ===                                ===
>   =[=]================================[=]=
>    | |  Ernesto Spinak                | |
>    | |  spinaker at adinet.com.uy        | |
>    | |  Montevideo, Uruguay           | |
>    | |  tel/fax  (598) 2622-3352      | |
>    | |  celular  (598) 99612238      | |
>   =[=]================================[=]=
>    ===                                ===
>    ( )                                ( )
>     V                                  V
>
> _______________________________________________
> Reddes.bvs-tech mailing list
> Reddes.bvs-tech at listas.bireme.br
> http://listas.bireme.br/mailman/listinfo/reddes.bvs-tech
>
>
>
>
> IMPORTANT: This transmission is for use by the intended
> recipient and it may contain privileged, proprietary or
> confidential information. If you are not the intended
> recipient or a person responsible for delivering this
> transmission to the intended recipient, you may not
> disclose, copy or distribute this transmission or take
> any action in reliance on it. If you received this transmission
> in error, please dispose of and delete this transmission.
>
> Thank you.
>
>
>


-- 

  *Wilson da Silva Moura*
*Analista de Sistemas / Analista de Sistemas / Systems AnalystRede de
Suporte Técnico / Red de Soporte Técnico / Technical Support Network*

*Departamento de Gestão do Conhecimento, Bioética e Pesquisa –
KBRDepartamento de Gestión del Conocimiento, Bioética e Investigación –
KBRDepartment of Knowledge Management, Bioethics and Research – KBR*
*BIREME/OPAS/OMS <http://www.paho.org/bireme/> - BIREME/OPS/OMS
<http://www.paho.org/bireme/> - BIREME/PAHO/WHO
<http://www.paho.org/bireme/>*
*_____________________________*

*Rua Botucatu, 862*
* 04023-901 - São Paulo/SP - Brasil*
*Phone: +55 11 5576-9838*
*VoIP: 44868*
*mourawil at paho.org <mourawil at paho.org>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.bireme.br/pipermail/reddes.bvs-tech/attachments/20140505/f3cc81ff/attachment.html 


More information about the Reddes.bvs-tech mailing list