[rt-users] SendEmail.pm line 250

Jesse Vincent jesse at bestpractical.com
Fri Oct 15 13:30:20 EDT 2004




On Fri, Oct 15, 2004 at 01:17:40PM -0400, Joe Shamblin wrote:
> 
> After a bit of work, I have everything working as expected with rt-3.2.2 
> with the exception of email. I have the following in RT_Config.pm:
> 
> Set($MailCommand , 'sendmail'); 

So. Um. What's your $SendmailPath set to?

> 
> # These options are good for most sendmail wrappers and workalikes
> #Set($SendmailArguments , "-oi -t");
> 
> # These arguments are good for sendmail brand sendmail 8 and newer
> Set($SendmailArguments,"-oi -ODeliveryMode=b -OErrorMode=m"); 
> 
> 
> I get the following errors:
> 
> Fri Oct 15 17:10:11 2004] [info]: 
> <rt-3.2.2-13-151-5.17.6126404689169 at cs.duke.edu> #13/151 - Scrip 5 
> (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:231)
> [Fri Oct 15 17:10:12 2004] [crit]: 
> <rt-3.2.2-13-151-5.17.6126404689169 at cs.duke.edu>Could not send mail. -No 
> such file or directory at /usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm 
> line 250.
> 
> Stack:
>   [/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:250]
>   [/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:102]
>   [/usr/pkg/rt-3.2.2/lib/RT/ScripAction_Overlay.pm:225]
>   [/usr/pkg/rt-3.2.2/lib/RT/Scrip_Overlay.pm:497]
>   [/usr/pkg/rt-3.2.2/lib/RT/Scrips_Overlay.pm:188]
>   [/usr/pkg/rt-3.2.2/lib/RT/Transaction_Overlay.pm:154]
>   [/usr/pkg/rt-3.2.2/lib/RT/Ticket_Overlay.pm:3707]
>   [/usr/pkg/rt-3.2.2/lib/RT/Ticket_Overlay.pm:2527]
>   [/usr/pkg/rt-3.2.2/lib/RT/Ticket_Overlay.pm:2460]
>   [/usr/pkg/rt-3.2.2/lib/RT/Interface/Web.pm:432]
>   [/usr/pkg/rt-3.2.2/share/html/Ticket/Display.html:133]
>   [/usr/pkg/rt-3.2.2/share/html/Ticket/Update.html:200]
>   [/usr/pkg/rt-3.2.2/share/html/autohandler:221]
>  (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:255)
> [Fri Oct 15 17:10:12 2004] [info]: 
> <rt-3.2.2-13-151-5.17.6126404689169 at cs.duke.edu> sent To:  Cc:  Bcc: 
> lab, user1 at cs.duke.edu (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:291)
> [Fri Oct 15 17:10:12 2004] [info]: 
> <rt-3.2.2-13-151-6.8.40529743892859 at cs.duke.edu> #13/151 - Scrip 6 
> (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:231)
> [Fri Oct 15 17:10:12 2004] [crit]: 
> <rt-3.2.2-13-151-6.8.40529743892859 at cs.duke.edu>Could not send mail. -No 
> such file or directory at /usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm 
> line 250.
> 
> Stack:
>   [/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:250]
>   [/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:102]
>   [/usr/pkg/rt-3.2.2/lib/RT/ScripAction_Overlay.pm:225]
>   [/usr/pkg/rt-3.2.2/lib/RT/Scrip_Overlay.pm:497]
>   [/usr/pkg/rt-3.2.2/lib/RT/Scrips_Overlay.pm:188]
>   [/usr/pkg/rt-3.2.2/lib/RT/Transaction_Overlay.pm:154]
>   [/usr/pkg/rt-3.2.2/lib/RT/Ticket_Overlay.pm:3707]
>   [/usr/pkg/rt-3.2.2/lib/RT/Ticket_Overlay.pm:2527]
>   [/usr/pkg/rt-3.2.2/lib/RT/Ticket_Overlay.pm:2460]
>   [/usr/pkg/rt-3.2.2/lib/RT/Interface/Web.pm:432]
>   [/usr/pkg/rt-3.2.2/share/html/Ticket/Display.html:133]
>   [/usr/pkg/rt-3.2.2/share/html/Ticket/Update.html:200]
>   [/usr/pkg/rt-3.2.2/share/html/autohandler:221]
>  (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:255)
> [Fri Oct 15 17:10:12 2004] [info]: 
> <rt-3.2.2-13-151-6.8.40529743892859 at cs.duke.edu> sent To: 
> user2 at cs.duke.edu Cc:  Bcc: 
> (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:291)
> [Fri Oct 15 17:10:12 2004] [info]: 
> <rt-3.2.2-13-151-7.16.3904475122967 at cs.duke.edu> #13/151 - Scrip 7 
> (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:231)
> [Fri Oct 15 17:10:12 2004] [info]: 
> <rt-3.2.2-13-151-7.16.3904475122967 at cs.duke.edu> No recipients found. 
> Not sending.
>  (/usr/pkg/rt-3.2.2/lib/RT/Action/SendEmail.pm:243)
> 
> I get this error even if I comment out the line 250, and make an 
> explicit call to send:
> 
>  open( MAIL, "| /usr/lib/sendmail -oi -t -ODeliveryMode=b 
> -OErrorMode=m" ) || warn $!;
>  #           open( MAIL, "|$RT::SendmailPath $RT::SendmailArguments" ) 
> || die $!;
> 
> I have added watchers to the queue, and it does seem to want to send the 
> mail. This is a solaris box running solaris 9, with perl 5.8.5.
> 
> Thanks,
> 
> Joe
> -- 
> Joe Shamblin					wjs at cs.duke.edu
> Senior Systems Administrator		Department of Computer Science
> (919) 660-6582					Duke University
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
> 

-- 



More information about the rt-users mailing list