Mail suddenly quit -- Email.pm line 405 -- sendmailpipe

Newbie here.

I have not changed anything in the RT_Config.pm and RT_SiteConfig.pm
does not remap $MailCommand to anything else.

Suddenly today I see the following message in the syslog:

Mar 25 08:38:28 helpdesk RT: Can’t exec “sendmailpipe”: No such file or
directory at /opt/rt3/bin/…/lib/RT/Interface/Email.pm line 405.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:405)

I have not been able to find the sendmailpipe executable, and do not
know where it was previously.

Can anyone help?

This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system.

I got it working by changing sendmailpipe to just sendmail and removing
the “-t” option on the commands, but I still want to understand why it
quit all of a sudden.

-Brian

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Brian
LawsonSent: Thursday, March 25, 2010 9:01 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Mail suddenly quit – Email.pm line 405 –
sendmailpipe

Newbie here.

I have not changed anything in the RT_Config.pm and RT_SiteConfig.pm
does not remap $MailCommand to anything else.

Suddenly today I see the following message in the syslog:

Mar 25 08:38:28 helpdesk RT: Can’t exec “sendmailpipe”: No such file or
directory at /opt/rt3/bin/…/lib/RT/Interface/Email.pm line 405.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:405)

I have not been able to find the sendmailpipe executable, and do not
know where it was previously.

Can anyone help?

This communication, together with any attachments hereto or links
contained herein, is for the sole use of the intended recipient(s) and
may contain information that is confidential or legally protected. If
you are not the intended recipient, you are hereby notified that any
review, disclosure, copying, dissemination, distribution or use of this
communication is STRICTLY PROHIBITED. If you have received this
communication in error, please notify the sender immediately by return
e-mail message and delete the original and all copies of the
communication, along with any attachments hereto or links herein, from
your system.

This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system.

I got it working by changing sendmailpipe to just sendmail and removing the “-t” option on the
commands, but I still want to understand why it quit all of a sudden.

You don’t say what version you’re running, but most likely your
SendmailPath was wrong. sendmailpipe is not a program, but instead it
tells RT to open a pipe to the sendmail command.

-kevin

Kevin,

I didn’t change the SendMailPath. Ahhh. That might be a problem. I
just looked in my RT_Config.pm file (because SendMailPath is not set in
RT_SiteConfig.pm) and it has the following: “Set($SendmailPath,
‘sendmailpipe’);” Since this is case sensitive and the ‘m’ in ‘mail’ is
lower case, that might be the problem. Correct?

-Brian

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin
FalconeSent: Thursday, March 25, 2010 1:22 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Mail suddenly quit – Email.pm line 405 –
sendmailpipe

I got it working by changing sendmailpipe to just sendmail and
removing the “-t” option on the
commands, but I still want to understand why it quit all of a
sudden.

You don’t say what version you’re running, but most likely your
SendmailPath was wrong. sendmailpipe is not a program, but instead it
tells RT to open a pipe to the sendmail command.

-kevin

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Brian Lawson
Sent: Thursday, March 25, 2010 9:01 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Mail suddenly quit – Email.pm line 405 –
sendmailpipe

Newbie here.

I have not changed anything in the RT_Config.pm and
RT_SiteConfig.pm does not remap
$MailCommand to anything else.

Suddenly today I see the following message in the syslog:

Mar 25 08:38:28 helpdesk RT: Can’t exec “sendmailpipe”: No such
file or directory at
/opt/rt3/bin/…/lib/RT/Interface/Email.pm line 405.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:405)

I have not been able to find the sendmailpipe executable, and do
not know where it was
previously.

Can anyone help?

This communication, together with any attachments hereto or links
contained herein, is for the
sole use of the intended recipient(s) and may contain information
that is confidential or
legally protected. If you are not the intended recipient, you are
hereby notified that any
review, disclosure, copying, dissemination, distribution or use of
this communication is
STRICTLY PROHIBITED. If you have received this communication in
error, please notify the
sender immediately by return e-mail message and delete the original
and all copies of the
communication, along with any attachments hereto or links herein,
from your system.

This communication, together with any attachments hereto or links
contained herein, is for the
sole use of the intended recipient(s) and may contain information
that is confidential or
legally protected. If you are not the intended recipient, you are
hereby notified that any
review, disclosure, copying, dissemination, distribution or use of
this communication is
STRICTLY PROHIBITED. If you have received this communication in
error, please notify the
sender immediately by return e-mail message and delete the original
and all copies of the
communication, along with any attachments hereto or links herein,
from your system.

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system.

Kevin,

I didn’t change the SendMailPath. Ahhh. That might be a problem. I
just looked in my RT_Config.pm file (because SendMailPath is not set in
RT_SiteConfig.pm) and it has the following: “Set($SendmailPath,
‘sendmailpipe’);” Since this is case sensitive and the ‘m’ in ‘mail’ is
lower case, that might be the problem. Correct?

Having SendmailPath set to something other than a path to a sendmail
binary is almost certainly causing errors.
You seem to be confusing SendmailPath and MailCommand, I suggest
reviewing their docs in RT_Congif.pm

-kevin

Dear Users,
a little offtopic and more for german users, sorry for this.

Hallo,
anbei zwei Termine fuer das Fruehjahrs Fachgespraech FFG 2010 der GUUG zum Thema RT.

  1. 26.5.2010 10 - 18 Uhr - RT vom Setup bis zum ersten Workflow
  2. 27.5.2010 17:30 - 18:15 - RT: Integration des RT in den taeglichen Arbeitsprozess.

Weitere Infos unter: Programm | FFG2010 | Frühjahrsfachgespräch | GUUG - German Unix User Group

Gruss

Torsten

Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk Blesius, Reiner Heiken, Bruno Mang, Alfred Manke, Christian Marnetté, Mark Reinhardt, Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne

Well in my RT_Config.pm, both $MailCommand and $SendmailPath are set to
sendmailpipe. I set the $MailCommand in the RT_SiteConfig.pm to be
sendmail and it worked, but I did not set $SendmailPath. Should they
both be set to the same value? They were both set to the sendmailpipe
when it stopped working. The documentation in the RT_Config.pm file is
terse in my opinion and doesn’t explain how sendmailpipe actually works.

-Brian

[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin
FalconeSent: Friday, March 26, 2010 10:19 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Mail suddenly quit – Email.pm line 405 –
sendmailpipe

Kevin,

I didn’t change the SendMailPath. Ahhh. That might be a problem. I
just looked in my RT_Config.pm file (because SendMailPath is not set
in
RT_SiteConfig.pm) and it has the following: “Set($SendmailPath,
‘sendmailpipe’);” Since this is case sensitive and the ‘m’ in ‘mail’
is
lower case, that might be the problem. Correct?

Having SendmailPath set to something other than a path to a sendmail
binary is almost certainly causing errors.
You seem to be confusing SendmailPath and MailCommand, I suggest
reviewing their docs in RT_Congif.pm

-kevin

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Thursday, March 25, 2010 1:22 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Mail suddenly quit – Email.pm line 405 –
sendmailpipe

I got it working by changing sendmailpipe to just sendmail and
removing the “-t” option on the
commands, but I still want to understand why it quit all of a
sudden.

You don’t say what version you’re running, but most likely your
SendmailPath was wrong. sendmailpipe is not a program, but instead it
tells RT to open a pipe to the sendmail command.

-kevin


From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Brian Lawson
Sent: Thursday, March 25, 2010 9:01 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Mail suddenly quit – Email.pm line 405 –
sendmailpipe

Newbie here.

I have not changed anything in the RT_Config.pm and
RT_SiteConfig.pm does not remap
$MailCommand to anything else.

Suddenly today I see the following message in the syslog:

Mar 25 08:38:28 helpdesk RT: Can’t exec “sendmailpipe”: No such
file or directory at
/opt/rt3/bin/…/lib/RT/Interface/Email.pm line 405.
(/opt/rt3/bin/…/lib/RT/Interface/Email.pm:405)

I have not been able to find the sendmailpipe executable, and do
not know where it was
previously.

Can anyone help?

This communication, together with any attachments hereto or links
contained herein, is for the
sole use of the intended recipient(s) and may contain information
that is confidential or
legally protected. If you are not the intended recipient, you are
hereby notified that any
review, disclosure, copying, dissemination, distribution or use
of
this communication is
STRICTLY PROHIBITED. If you have received this communication in
error, please notify the
sender immediately by return e-mail message and delete the
original
and all copies of the
communication, along with any attachments hereto or links herein,
from your system.

This communication, together with any attachments hereto or links
contained herein, is for the
sole use of the intended recipient(s) and may contain information
that is confidential or
legally protected. If you are not the intended recipient, you are
hereby notified that any
review, disclosure, copying, dissemination, distribution or use
of
this communication is
STRICTLY PROHIBITED. If you have received this communication in
error, please notify the
sender immediately by return e-mail message and delete the
original
and all copies of the
communication, along with any attachments hereto or links herein,
from your system.

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

This communication, together with any attachments hereto or links
contained herein, is for the sole use of the intended recipient(s) and
may contain information that is confidential or legally protected. If
you are not the intended recipient, you are hereby notified that any
review, disclosure, copying, dissemination, distribution or use of this
communication is STRICTLY PROHIBITED. If you have received this
communication in error, please notify the sender immediately by return
e-mail message and delete the original and all copies of the
communication, along with any attachments hereto or links herein, from
your system.

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

This communication, together with any attachments hereto or links contained herein, is for the sole use of the intended recipient(s) and may contain information that is confidential or legally protected. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, dissemination, distribution or use of this communication is STRICTLY PROHIBITED. If you have received this communication in error, please notify the sender immediately by return e-mail message and delete the original and all copies of the communication, along with any attachments hereto or links herein, from your system.