[Isis-users] bug in IAH 3.x mailing feature
spinaker
spinaker at adinet.com.uy
Mon Jun 27 18:07:54 CEST 2016
Dear Renate
if you don't have email.sh file connected to the sendmail.conf then you
have to prepare it as it is explained in the IAH manual
Ernesto Spinak
El 26/06/2016 a las 4:57, Renate Morgenstern escribió:
> Hi Ernesto,
>
> I did the changes, but I do not have a file named 'email.sh' on my
> system in the /opt/ABCD/www/cgi-bin directory.
> Could you send us that file please.
>
> When sending a search result, it says it was sent, but it never arrives.
> Renate
>> Dear colleagues
>>
>> there is a bug in the file */htdocs/iah/scripts/iah.xis* that affects
>> the function of sending a result from the OPAC iah via email
>> this feature worked well until version 2.6, but in version 3.1.x for
>> ABCD has a problem
>> For some reason it does not solve correctly the environment variable
>> PATH_TRANSLATED
>> The simplest solution is to modify the file iah.xis from line 360
>> (aprox.) as follows;
>> The example is for Linux environment
>>
>> ------------------------------------------------------------------------
>>
>>
>> <label>SEND</label>
>> <file action="close" type="output"><pft>v6214</pft></file>
>> <field action="replace"
>> tag="6213"><pft>replace(v6213,'@bireme.br
>> <http://bireme.br>','@brm.bireme.br
>> <http://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>'/**myserver/abcd/cgi-bin/email.sh**<mailto> <file>
>> '</pft></field>*
>> * <field action="replace"
>> tag="9"><pft>replace(replace(v9,'<mailto>',v6213),'<file>',v6214)</pft></field>*
>> *<display><pft>system(v9)</pft></display>*
>> ...
>> ------------------------------------------------------------------------
>>
>>
>> Comment out (or cancel) lines in red and add blue lines
>> pay attention that green line shoud be the absolute address on your
>> server where is the script *email.sh*
>>
>> regards
>> Ernesto Spinak
>>
>>
>> --
>> .^. .^.
>> ( ) ( )
>> === ===
>> =[=]================================[=]=
>> | | Ernesto Spinak | |
>> | |spinaker at adinet.com.uy <mailto:spinaker at adinet.com.uy> | |
>> | | Montevideo, Uruguay | |
>> | | tel/fax (598) 2622-3352 | |
>> | | celular (598) 99612238 | |
>> =[=]================================[=]=
>> === ===
>> ( ) ( )
>> V V
>> _______________________________________________
>> isis-users mailing list
>> isis-users at iccisis.org <mailto:isis-users at iccisis.org>
>> To manage your own subscription options go to:http://lists.iccisis.org/listinfo/isis-users
>> Or contact Henk Rutten:hlrutten at xs4all.nl <mailto:hlrutten at xs4all.nl>
>
>
--
.^. .^.
( ) ( )
=== ===
=[=]================================[=]=
| | Ernesto Spinak | |
| | spinaker at adinet.com.uy | |
| | Montevideo, Uruguay | |
| | tel/fax (598) 2622-3352 | |
| | celular (598) 99612238 | |
=[=]================================[=]=
=== ===
( ) ( )
V V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20160627/e737b91b/attachment.html>
More information about the isis-users
mailing list