<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Malgun Gothic";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:45957546;
        mso-list-type:hybrid;
        mso-list-template-ids:-1340689770 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoPlainText">Hi Guys,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">We are still having trouble in getting automatic email notifications to function.
<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">When I run the generate_circ_notices.plI get the following Warning in osrfsys.log:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"> [2009-07-23 06:01:13] generate_circ_notices.pl [INFO:14462:CStoreEditor.pm:104:] editor[0|0] action.circulation.search : returned 1 result(s)<o:p></o:p></p>
<p class="MsoPlainText">[2009-07-23 06:01:13] generate_circ_notices.pl [WARN:14462:generate_circ_notices.pl:378:] notice: unable to send overdue email to robert.soulliere@mohawkcollege.ca: $VAR1 = bless( {<o:p></o:p></p>
<p class="MsoPlainText"> 'prop' => {},<o:p></o:p></p>
<p class="MsoPlainText"> 'string' => 'Can\'t call method "address" on an undefined value at /usr/share/perl5/Email/Send/SMTP.pm line 24.<o:p></o:p></p>
<p class="MsoPlainText">',<o:p></o:p></p>
<p class="MsoPlainText"> 'type' => 'failure',<o:p></o:p></p>
<p class="MsoPlainText"> 'errno' => 1<o:p></o:p></p>
<p class="MsoPlainText"> }, 'Return::Value' );<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">It seems to not like the sender address or information, but I am not sure if it is the setting in the opensrf.xml file or the settings in the staff client. I am not getting a bounce email notification sent to the addresses specified
as the sender email. We have correct email addresses in the sender address set up in both the opensrf.sml file and in the staff client location configuration. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is the notification section of opensrf.xml:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <notifications><o:p></o:p></p>
<p class="MsoNormal"> <!-- global mail server settings --><o:p></o:p></p>
<p class="MsoNormal"> <smtp_server>localhost</smtp_server><o:p></o:p></p>
<p class="MsoNormal"> <sender_address>rsoulliere@evergreen-server.mohawkcollege.ca</sender_address><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><!-- Overdue notices --><o:p></o:p></p>
<p class="MsoNormal"> <overdue><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <!-- optionally, you can define a sender address per notice type --><o:p></o:p></p>
<p class="MsoNormal"> <sender_address>rsoulliere@evergreen-server.mohawkcollege.ca</sender_address><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <!-- The system can generate an XML file of overdue notices. This is the<o:p></o:p></p>
<p class="MsoNormal"> directory where they are stored. Files are named overdue.YYYY-MM-DD.xml --><o:p></o:p></p>
<p class="MsoNormal"> <notice_dir>/openils/var/data/overdue</notice_dir><o:p></o:p></p>
<p class="MsoNormal"> <combined_template>/openils/var/data/overdue_notice.example</combined_template><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <notice><o:p></o:p></p>
<p class="MsoNormal"> <!-- Notify at 7 days overdue --><o:p></o:p></p>
<p class="MsoNormal"> <notify_interval>7 days</notify_interval><o:p></o:p></p>
<p class="MsoNormal"> <!-- Options include always, noemail, and never. 'noemail' means a notice<o:p></o:p></p>
<p class="MsoNormal"> will be appended to the notice file only if the patron has no valid email address. --><o:p></o:p></p>
<p class="MsoNormal"> <file_append>noemail</file_append><o:p></o:p></p>
<p class="MsoNormal"> <!-- do we attempt email notification? --><o:p></o:p></p>
<p class="MsoNormal"> <email_notify>true</email_notify><o:p></o:p></p>
<p class="MsoNormal"> <!-- notice template file --><o:p></o:p></p>
<p class="MsoNormal"> <email_template>/openils/var/data/overdue_notice.example</email_template><o:p></o:p></p>
<p class="MsoNormal"> </notice><o:p></o:p></p>
<p class="MsoNormal"> </overdue><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> <!-- Courtesy notices --><o:p></o:p></p>
<p class="MsoNormal"> <predue><o:p></o:p></p>
<p class="MsoNormal"> <notice><o:p></o:p></p>
<p class="MsoNormal"> <!-- All circulations that circulate between 5 and 13 days --><o:p></o:p></p>
<p class="MsoNormal"> <circ_duration_range><o:p></o:p></p>
<p class="MsoNormal"> <from>5 days</from><o:p></o:p></p>
<p class="MsoNormal"> <to>13 days</to><o:p></o:p></p>
<p class="MsoNormal"> </circ_duration_range><o:p></o:p></p>
<p class="MsoNormal"> <!-- notify at 1 day before the due date --><o:p></o:p></p>
<p class="MsoNormal"> <notify_interval>1 day</notify_interval><o:p></o:p></p>
<p class="MsoNormal"> <file_append>false</file_append><o:p></o:p></p>
<p class="MsoNormal"> <email_notify>true</email_notify><o:p></o:p></p>
<p class="MsoNormal"> <email_template>/openils/var/data/predue_notice.example</email_template><o:p></o:p></p>
<p class="MsoNormal"> </notice><o:p></o:p></p>
<p class="MsoNormal"> </predue><o:p></o:p></p>
<p class="MsoNormal"> </notifications><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was wondering of the problem would most likely relate to:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>The opensrf.xml file configuration<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]>Setup in the staff client. <o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">
</span></span><![endif]> An issue with a perl script: /usr/share/perl5/Email/Send/SMTP.pm or generate_circ_notices.pl<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Robert<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This E-mail contains privileged and confidential information intended<br>
only for the individual or entity named in the message. If the reader<br>
of this message is not the intended recipient, or the agent responsible<br>
to deliver it to the intended recipient, you are hereby notified that<br>
any review, dissemination, distribution or copying of this communication<br>
is prohibited. If this communication was received in error, please<br>
notify the sender by reply E-mail immediately, and delete and destroy<br>
the original message.<br>
</font>
</body>
</html>