Hi,<br><br>We have a strange situation where sometimes emails that should be sent are not received (for example upon a reply via web or email).<br><br>I spent some time today trying to work out when this occurred, only to find that it was working as expected for various permutations of reply / comment etc to requestor / CC / Admin CC.... until I went digging for a specific ticket that I knew we'd witnessed this error with today.<br>
<br>This is what appeared in the logs when I (the owner) replied using the web interface, which should have sent an email back to the requestor:<br><br><div style="margin-left: 40px;">Aug  1 12:05:22 sirius RT: <<a href="mailto:rt-3.8.7-28432-1312164322-125.78931-14-0@faredge.com.au">rt-3.8.7-28432-1312164322-125.78931-14-0@faredge.com.au</a>> #78931/638647 - Scrip 14 Notify Owner of Change (/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:300)<br>
Aug  1 12:05:22 sirius RT: <<a href="mailto:rt-3.8.7-28432-1312164322-125.78931-14-0@faredge.com.au">rt-3.8.7-28432-1312164322-125.78931-14-0@faredge.com.au</a>>: Could not send mail with command `/usr/sbin/sendmail -oi -t`: couldn't execute program: Cannot allocate memory at /usr/share/request-tracker3.8/lib/RT/Interface/Email.pm line 432.#012#012Stack:#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:432]#012  [/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:307]#012  [/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:129]#012  [/usr/share/request-tracker3.8/lib/RT/ScripAction_Overlay.pm:238]#012  [/usr/share/request-tracker3.8/lib/RT/Scrip_Overlay.pm:464]#012  [/usr/share/request-tracker3.8/lib/RT/Scrips_Overlay.pm:196]#012  [/usr/share/request-tracker3.8/lib/RT/Transaction_Overlay.pm:188]#012  [/usr/share/request-tracker3.8/lib/RT/Record.pm:1457]#012  [/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:2831]#012  [(eval 3450):12]#012  [/usr/share/request-tracker3.8/lib/RT/ScripAction_Overlay.pm:238]#012  [/usr/share/request-tracker3.8/lib/RT/Scrip_Overlay.pm:464]#012  [/usr/share/request-tracker3.8/lib/RT/Scrips_Overlay.pm:196]#012  [/usr/share/request-tracker3.8/lib/RT/Transaction_Overlay.pm:188]#012  [/usr/share/request-tracker3.8/lib/RT/Record.pm:1457]#012  [/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:3323]#012  [/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:2996]#012  [/usr/share/request-tracker3.8/lib/RT/Record.pm:898]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:1340]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:1450]#012  [/usr/share/request-tracker3.8/html/Ticket/Display.html:156]#012  [/usr/share/request-tracker3.8/html/Ticket/Update.html:261]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:320]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:224]#012  [/usr/share/request-tracker3.8/html/autohandler:53] (/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:448)<br>
Aug  1 12:05:24 sirius RT: <<a href="mailto:rt-3.8.7-28430-1312164324-42.79722-4-0@faredge.com.au">rt-3.8.7-28430-1312164324-42.79722-4-0@faredge.com.au</a>> #79722/638648 - Scrip 4 On Correspond Notify AdminCcs (/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:300)<br>
Aug  1 12:05:24 sirius RT: <<a href="mailto:rt-3.8.7-28430-1312164324-42.79722-4-0@faredge.com.au">rt-3.8.7-28430-1312164324-42.79722-4-0@faredge.com.au</a>> No recipients found. Not sending. (/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:342)<br>
Aug  1 12:05:24 sirius RT: <<a href="mailto:rt-3.8.7-28430-1312164324-331.79722-6-0@faredge.com.au">rt-3.8.7-28430-1312164324-331.79722-6-0@faredge.com.au</a>> #79722/638648 - Scrip 6 On Correspond Notify Other Recipients (/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:300)<br>
Aug  1 12:05:24 sirius RT: <<a href="mailto:rt-3.8.7-28430-1312164324-331.79722-6-0@faredge.com.au">rt-3.8.7-28430-1312164324-331.79722-6-0@faredge.com.au</a>> No recipients found. Not sending. (/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:342)<br>
Aug  1 12:05:24 sirius RT: <<a href="mailto:rt-3.8.7-28430-1312164324-628.79722-5-0@faredge.com.au">rt-3.8.7-28430-1312164324-628.79722-5-0@faredge.com.au</a>> #79722/638648 - Scrip 5 On Correspond Notify Requestors and Ccs (/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:300)<br>
Aug  1 12:05:24 sirius RT: <<a href="mailto:rt-3.8.7-28430-1312164324-628.79722-5-0@faredge.com.au">rt-3.8.7-28430-1312164324-628.79722-5-0@faredge.com.au</a>>: Could not send mail with command `/usr/sbin/sendmail -oi -t`: couldn't execute program: Cannot allocate memory at /usr/share/request-tracker3.8/lib/RT/Interface/Email.pm line 432.#012#012Stack:#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:432]#012  [/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:307]#012  [/usr/share/request-tracker3.8/lib/RT/Action/SendEmail.pm:129]#012  [/usr/share/request-tracker3.8/lib/RT/ScripAction_Overlay.pm:238]#012  [/usr/share/request-tracker3.8/lib/RT/Scrip_Overlay.pm:464]#012  [/usr/share/request-tracker3.8/lib/RT/Scrips_Overlay.pm:196]#012  [/usr/share/request-tracker3.8/lib/RT/Transaction_Overlay.pm:188]#012  [/usr/share/request-tracker3.8/lib/RT/Record.pm:1457]#012  [/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:2175]#012  [/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:2087]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:1147]#012  [/usr/share/request-tracker3.8/html/Ticket/Display.html:146]#012  [/usr/share/request-tracker3.8/html/Ticket/Update.html:261]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:320]#012  [/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:224]#012  [/usr/share/request-tracker3.8/html/autohandler:53] (/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:448)<br>
</div><br>There are two places it's trying to send an email here - the first is scrip 14 which notifies owner on change, and secondly scrip 5 notifying requestors & Ccs on change.<br><br>Now, these two scrips look like:<br>
<br><br>Description:    Notify Owner on change<br>Condition:    On Owner Change<br>Action:        Notify Owner<br>Template:    Global template: Owner Change<br>Stage:        TransactionCreate<br><br><br>========<br>Template:<br>
Subject: {$Ticket->Subject}<br><br>This ticket has been assigned to you.<br><br>View the ticket at this location:<br>{$RT::WebURL}Ticket/Display.html?id<br><br>================================================<br><br><br>
Description:    On Correspond Notify Requestors and Ccs<br>Condition:    On Correspond<br>Action:        Notify Requestors and Ccs<br>Template:    Global template: Correspondence<br>Stage:        TransactionCreate <br><br>
<br>=========<br>Template:<br>RT-Attach-Message: yes<br><br>{$Transaction->Content()}<br><br>================================================<br><br>With no custom conditions / actions / etc in either.<br><br>In qmail (not running on this particular box) I've seen what I suspect is a similar thing when you load spam assassin, AV etc etc, which requires you to increase the amount of memory available to the tcpserver via softlimit (exec /usr/local/bin/softlimit -m 40000000 ...) and so on. Is this what I'm seeing here, and if so, how / what do I need to change? Or is it something else entirely?<br>
<br>Thanks,<br><br>Chris<br>