Ex_tempfail

My RT installation is up and running Except the mail gateway

I get in my mail.log:

Sep 8 17:55:19 knightsbridge sm-mta[27888]: h88List8027395: to=“|
/opt/rt3/bin/rt-mailgate --queue HelpDesk --action correspond --url
https://rt.byramhealthcare.com/”,
ctladdr=helpdesk@rt.byramhealthcare.com (8/0), delay=00:10:25,
xdelay=00:00:00, mailer=prog, pri=392919, dsn=4.0.0, stat=Deferred:
prog mailer (/usr/lib/sm.bin/smrsh) exited with EX_TEMPFAIL

come to think of it… I get it… I know the problem but not the
solution.

I use LDAP/ExternalAuth for login… how do I configure RT to do that
in its URL? Right now, it’s probably getting 403/forbiddens…

D

I do something like…

rt: |“/usr/local/www/data/rt3/bin/rt-mailgate --queue Computer --action correspond --url http://userid:password@rt.decarie.com/

I’m using a modified Apache::AuthNetLDAP to authorize through Active Directory.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

All outgoing e-mail scanned by Sybari Antigen v7.5 build 1133

Hello,

Has anyone seen the following error while sending / receiving mail on RT?

(from the mail log)

prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

A reboot of the server fixes the problem.

Any suggestions?

Thanks!

/Raj

Hello,

Has anyone seen the following error while sending / receiving mail on RT?

(from the mail log)

prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

A reboot of the server fixes the problem.

Hi Raj,

Do all emails fail with the EX_TEMPFAIL message, or is this limited to
emails above 15k in size?

Are you running a SMP kernel? Do you have any iptables filters loaded
on the machine?

Rgds,

Peter

Peter,

Thanks for the reply.

I am not running an SMP kernel. I don’t have any IPtable filters loaded.

Once the EX_TEMPFAIL error starts, it doesn’t stop till I reboot the server.
I checked the RT calls when the error occurred last time, and it wasn’t more
than 15K in size.

This problem started 2 weeks ago. Everything was working perfectly till
then.

When the error occurs, I see the following message in the logs:

RT: Couldn’t write attachments to temp dir on disk. using more
memory and processor. (/lib/RT/Template_Overlay.pm:330)

/RajFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
rt-users-request@lists.bestpractical.com
Sent: Monday, April 26, 2004 7:34 PM
To: rt-users@lists.bestpractical.com
Subject: RT-Users Digest, Vol 1, Issue 56

Send RT-Users mailing list submissions to
rt-users@lists.bestpractical.com

To subscribe or unsubscribe via the World Wide Web, visit
The rt-users Archives
or, via email, send a message with subject or body ‘help’ to
rt-users-request@lists.bestpractical.com

You can reach the person managing the list at
rt-users-owner@lists.bestpractical.com

When replying, please edit your Subject line so it is more specific
than “Re: Contents of RT-Users digest…”

Today’s Topics:

  1. Apache 2 + libapreq + mod_perl1 = many troubles… (Garak)
  2. Re: Apache 2 + libapreq + mod_perl1 = many troubles…
    (Michael S. Liebman)
  3. Re[2]: [rt-users] Apache 2 + libapreq + mod_perl1 = many
    troubles… (Garak)
  4. Emptying queue (Garak)
  5. Re: Emptying queue (amit poddar)
  6. EX_TEMPFAIL (Rajesh Menon)
  7. Re: Background CSS is gone (Asif Iqbal)
  8. Time stamps are way off (MikeHamilton@clovisusd.k12.ca.us)
  9. Re: EX_TEMPFAIL (Peter Silver)
  10. Re: statistics package not working with mod_perl (Paulo Matos)
  11. Re: New rt3 install (Paulo Matos)

Message: 1
Date: Mon, 26 Apr 2004 15:49:02 -0300
From: Garak garak@bol.com.br
Subject: [rt-users] Apache 2 + libapreq + mod_perl1 = many
troubles…
To: rt-users@lists.bestpractical.com
Message-ID: 20040426154807.F71B.GARAK@bol.com.br
Content-Type: text/plain; charset=“US-ASCII”

Hello !

I’m have here:

RedHat 9.0
httpd-2.0.40-21.9
mod_perl-1.99_07-5

My dependencies:

[root@hoc rt-3-0-8]# perl sbin/rt-test-dependencies --with-mysql
–with-modperl1
perl:
5.8.0…found
MASON dependencies:
Params::Validate 0.02…found
Cache::Cache …found
Exception::Class …found
HTML::Mason 1.16…found
MLDBM …found
Errno …found
FreezeThaw …found
Digest::MD5 2.27…found
CGI::Cookie 1.20…found
Storable 2.08…found
Apache::Session 1.53…found
MAILGATE dependencies:
HTML::TreeBuilder …found
HTML::FormatText …found
Getopt::Long …found
LWP::UserAgent …found
MODPERL1 dependencies:
CGI …found
Apache::Request …MISSING
Apache::DBI 0.92…found
CLI dependencies:
Getopt::Long 2.24…found
CORE dependencies:
Digest::MD5 2.27…found
DBI 1.37…found
Test::Inline …found
Class::ReturnValue 0.40…found
DBIx::SearchBuilder 0.95…found
Text::Template …found
File::Spec 0.8…found
HTML::Entities …found
Net::Domain …found
Log::Dispatch 2.0…found
Locale::Maketext 1.06…found
Locale::Maketext::Lexicon 0.32…found
Locale::Maketext::Fuzzy …found
MIME::Entity 5.108…found
Mail::Mailer 1.57…found
Net::SMTP …found
Text::Wrapper …found
Time::ParseDate …found
File::Temp …found
Term::ReadKey …found
Text::Autoformat …found
Text::Quoted 1.3…found
Scalar::Util …found
DEV dependencies:
Regexp::Common …found
Time::HiRes …found
Test::Inline …found
WWW::Mechanize …found
MYSQL dependencies:
DBD::mysql 2.1018…found

My unique dependency is “Apache::Request” that I can’t install by no
means…

" Removing previously used /root/.cpan/build/libapreq-1.3

CPAN.pm: Going to build J/JO/JOESUF/libapreq-1.3.tar.gz

mod_perl 1.x ( < 1.99) is required at Makefile.PL line 29.
BEGIN failed–compilation aborted at Makefile.PL line 31.
Running make test
Make had some problems, maybe interrupted? Won’t test
Running make install
Make had some problems, maybe interrupted? Won’t install "

So, I’m tried install “libapreq2-2.02_02-dev.tar.gz” and I get…

" build/version_check.pl failed: apache2 version 2.0.40 unsupported (2.0.46
or greater is required).
configure: error: Bad apache2 version "

Well, I don’t want change my rpm’s Apache/mod_perl for source packages, and
I need install RT 3.0.8 and for this, I need “libapreq” …

How can I do in this case?

Thank you for any help!

Garak garak@bol.com.br

Message: 2
Date: Mon, 26 Apr 2004 15:05:16 -0400
From: “Michael S. Liebman” m-liebman@northwestern.edu
Subject: Re: [rt-users] Apache 2 + libapreq + mod_perl1 = many
troubles…
To: Garak garak@bol.com.br
Cc: rt-users@lists.bestpractical.com
Message-ID: 20040426190516.GA23961@SDF.LONESTAR.ORG
Content-Type: text/plain; charset=us-ascii

Hello !

I’m have here:

RedHat 9.0
httpd-2.0.40-21.9
mod_perl-1.99_07-5


My dependencies:

[root@hoc rt-3-0-8]# perl sbin/rt-test-dependencies --with-mysql
–with-modperl1

mod_perl-1.99 is really mod_perl2. Rerun your dependency check using
–with-modperl2

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Message: 3
Date: Mon, 26 Apr 2004 16:26:38 -0300
From: Garak garak@bol.com.br
Subject: Re[2]: [rt-users] Apache 2 + libapreq + mod_perl1 = many
troubles…
To: rt-users@lists.bestpractical.com
Message-ID: 20040426162507.F71E.GARAK@bol.com.br
Content-Type: text/plain; charset=“US-ASCII”

Man !!! I LOVE YOU !!! :=p

Now it’s working !

Thank you so much !
You really save my life !!!

Garak

Hello !

I’m have here:

RedHat 9.0
httpd-2.0.40-21.9
mod_perl-1.99_07-5


My dependencies:

[root@hoc rt-3-0-8]# perl sbin/rt-test-dependencies --with-mysql
–with-modperl1

mod_perl-1.99 is really mod_perl2. Rerun your dependency check using
–with-modperl2

Michael

Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

Garak garak@bol.com.br

Message: 4
Date: Mon, 26 Apr 2004 17:08:20 -0300
From: Garak garak@bol.com.br
Subject: [rt-users] Emptying queue
To: rt-users@lists.bestpractical.com
Message-ID: 20040426170617.F720.GARAK@bol.com.br
Content-Type: text/plain; charset=“US-ASCII”

Hello !

I need delete all messages inside an certain queue.
Exists some command line for this?

Thank you!

Garak garak@bol.com.br

Message: 5
Date: Mon, 26 Apr 2004 16:30:21 -0400
From: amit poddar amit.poddar@yale.edu
Subject: Re: [rt-users] Emptying queue
To: Garak garak@bol.com.br, rt-users@lists.bestpractical.com
Message-ID: 5.1.0.14.2.20040426162726.07459908@ap349.mail.yale.edu
Content-Type: text/plain; charset=“us-ascii”; format=flowed

Try this

#!/usr/bin/perl -w

use strict;
use Carp;
use Getopt::Long;

use lib ‘/u01/rt/rt/lib’;
use lib ‘/u01/rt/rt/etc’;

use RT::Interface::CLI qw(CleanEnv GetCurrentUser GetMessageContent loc);
CleanEnv();

use RT;
use RT::Tickets;

RT::LoadConfig();

RT::Init();

#Get the current user all loaded
my $queue = shift;

my $Tickets = new RT::Tickets($RT::SystemUser);
$Tickets->LimitWatcher(TYPE => ‘Queue’, VALUE => $queue);
$Tickets->LimitStatus(VALUE => ‘Deleted’, OPERATOR => ‘!=’);

unless ($Tickets->Count)
{
print “tickets not found with queue $queue\n”;
}
print “Amount of tickets requested by $queue is “.$Tickets->Count.”\n”;

while (my $t=$Tickets->Next)
{
print "Ticket ID: " . $t->Id . “\n”;

my ($val,$msg) = $t->Delete();
if ($val)
{
   print "OK: $msg\n";
}
else
{
   die "$msg";
}

}

$RT::Handle->Disconnect();

Suppose this is saved is x.pl

Then you would execute

perl x.pl <queue_name>

amit

At 05:08 PM 4/26/2004 -0300, Garak wrote:

Hello !

I need delete all messages inside an certain queue.
Exists some command line for this?

Thank you!


Garak garak@bol.com.br


The rt-users Archives

RT Developer and Administrator training is coming to LA, DC and Frankfurt
this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

Message: 6
Date: Mon, 26 Apr 2004 16:59:02 -0500
From: “Rajesh Menon” rajmen@olemiss.edu
Subject: [rt-users] EX_TEMPFAIL
To: rt-users@lists.bestpractical.com
Message-ID:
BE5C294205F7C740A8921B94DB1C8FB7D584A4@umcal.calendar.olemiss.edu
Content-Type: text/plain; charset=“us-ascii”

Hello,

Has anyone seen the following error while sending / receiving mail on RT?

(from the mail log)

prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

A reboot of the server fixes the problem.

Any suggestions?

Thanks!

/Raj

Message: 7
Date: Mon, 26 Apr 2004 18:59:09 -0400
From: Asif Iqbal iqbala@qwestip.net
Subject: Re: [rt-users] Background CSS is gone
To: rt-users@lists.fsck.com
Message-ID: 20040426225909.GA27701@qwestip.net
Content-Type: text/plain; charset=us-ascii

Asif Iqbal wrote:

Hi All

I upgraded my webrt from 3.0.9 to 3.0.10 and I don’t think it is reading
the css page when I use IE to read the webrt gui. Background is empty.
Anyone else is
experiencing it as well ?

I wonder if going back to 3.0.9 is the only option to fix the css style.

Thanks

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There’s no place like 127.0.0.1


The rt-users Archives

RT Developer and Administrator training is coming to LA, DC and Frankfurt
this spring and summer.
http://bestpractical.com/services/training.html

Sign up early, as class space is limited.

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There’s no place like 127.0.0.1

Message: 8
Date: Mon, 26 Apr 2004 16:07:57 -0700
From: MikeHamilton@clovisusd.k12.ca.us
Subject: [rt-users] Time stamps are way off
To: rt-users@lists.bestpractical.com
Message-ID:

<OF996C33A3.6F9C7BB5-ON88256E82.007E9D0E-88256E83.000187F0@clovisusd.k12.ca.
us>

Content-Type: text/plain; charset=“us-ascii”

Hi Everybody!
I set up an RT installation for a friend of mine’s employer. They are
using one server for the Web and Mail portion of RT, one server for MySQL,
and a third server for OpenLDAP (they are using Apache and LDAP for
authorization). The problem is this - when a ticket is created, the time
is 21 hours off! The system time on all three servers is correct. The
tickets are showing 21 hours in the future. Can someone provide me with
some guidance in terms of troubleshooting this problem? I have 3 RT boxes
in production - all self contained (MySQL, Apache, Postfix on the same
box) and have never seen this problem before.
Thanks for your help!!!
-------------- next part --------------
An HTML attachment was scrubbed…
URL:
http://pallas.eruditorum.org/pipermail/rt-users/attachments/20040426/bcb66f8
6/attachment-0001.html

Message: 9
Date: Tue, 27 Apr 2004 10:08:16 +1000
From: Peter Silver psilver@ultrafast.com.au
Subject:
To: rt-users@lists.bestpractical.com
Message-ID: 1083024496.3717.23.camel@pete
Content-Type: text/plain

Hello,

Has anyone seen the following error while sending / receiving mail on RT?

(from the mail log)

prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

A reboot of the server fixes the problem.

Hi Raj,

Do all emails fail with the EX_TEMPFAIL message, or is this limited to
emails above 15k in size?

Are you running a SMP kernel? Do you have any iptables filters loaded
on the machine?

Rgds,

Peter

Message: 10
Date: Tue, 27 Apr 2004 01:21:11 +0100 (WEST)
From: Paulo Matos pjsm@fct.unl.pt
Subject: Re: [rt-users] statistics package not working with mod_perl
To: amit poddar amit.poddar@yale.edu
Cc: rt-users@lists.bestpractical.com
Message-ID: Pine.LNX.4.58.0404270119201.19427@students.fct.unl.pt
Content-Type: TEXT/PLAIN; charset=iso-8859-1

Hi Amit!

I downloaded and installted statistics package from
Request Tracker Wiki

This seems to work fine with fastcgi. But when I run it with mod_perl

I see the tables but in the chart area I see a red cross. when I try to
look at the properties the type is shown as Not available instead of
PNG image

Please provide more info (OS, perl, httpd ... versions).

Paulo Matos

|Sys & Net Admin | Serviço de Informática |
|Faculdade de Ciências e Tecnologia | Tel: +351-21-2948596 |
|Universidade Nova de Lisboa | Fax: +351-21-2948548 |
|P-2829-516 Caparica | e-Mail: pjsm@fct.unl.pt |


Message: 11
Date: Tue, 27 Apr 2004 01:33:50 +0100 (WEST)
From: Paulo Matos pjsm@fct.unl.pt
Subject: Re: [rt-users] New rt3 install
To: Randy randy@unitnet.com
Cc: rt-users@lists.bestpractical.com
Message-ID: Pine.LNX.4.58.0404270124060.19427@students.fct.unl.pt
Content-Type: TEXT/PLAIN; charset=iso-8859-1

Peter,

Thanks for the reply.

I am not running an SMP kernel. I don’t have any IPtable filters loaded.

Once the EX_TEMPFAIL error starts, it doesn’t stop till I reboot the server.
I checked the RT calls when the error occurred last time, and it wasn’t more
than 15K in size.

Ok, no probs - this initially sounded like a problem I was having where
if you were running a SMP kernel and had iptables loaded, HTTP posts
above ~15k would fail after around 24hrs of operation.

When the error occurs, I see the following message in the logs:

RT: Couldn’t write attachments to temp dir on disk. using
more memory and processor.
(/lib/RT/Template_Overlay.pm:330)

Hrmmm, the only suggestion I have is to look at the temp directory after
a reboot, then look at it again once it starts failing – does it become
full? is there some application that is altering permissions on the
temp directory?

rgds,

Peter

signature.asc (189 Bytes)

I am trying to trouble shoot the mail log errror:

stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I see some people instructing others to run rt-mailgate in --debug mode from
the command line, but outside of the following I don’t quite understand how
to get it to debug.

./rt-mailgate --action correspond --queue villageranch --url
http://domain.com --debug

This causes my shell to act as though it is going to give me some output,
but it does not produce anything.

What else should I be adding to get a proper debug output?

Raymond Norton
LCTN
admin@lctn.org

To Infinity and beyond!

–Buzz Lightyear

Hi Raymond,

I had the exact same problem.

Turned out I forgot to go to Group rights and give everyone the Create
Ticket privelege.

That fixed it for me. Double check you have that enabled inside RT.On Tue, 2004-07-27 at 04:53, Raymond Norton wrote:

I am trying to trouble shoot the mail log errror:

stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I see some people instructing others to run rt-mailgate in --debug mode from
the command line, but outside of the following I don’t quite understand how
to get it to debug.

./rt-mailgate --action correspond --queue villageranch --url
http://domain.com --debug

This causes my shell to act as though it is going to give me some output,
but it does not produce anything.

What else should I be adding to get a proper debug output?

Raymond Norton
LCTN
admin@lctn.org

To Infinity and beyond!

–Buzz Lightyear


The rt-users Archives

Be sure to check out the RT wiki at http://wiki.bestpractical.com
Jarrod Loidl
IT Security of Infrastructure Services,
Information Technology Services, Monash University - Clayton
Phone: +61 3 99052055 Fax: +61 3 99054746

signature.asc (189 Bytes)

Not sure why it fixed things, but I finally did a reboot, and it started
working?

Thanks for your reply.

hello
i got

i=1367731, dsn=4.0.0, stat=Deferred: prog mailer (/bin/sh) exited with
EX_TEMPFAIL
when i make

  • in debug mod

Connecting to https://localhost:82/REST/1.0/NoAuth/mail-gateway at
/home/htdocs/rt3/bin/rt->mailgate line 473, <> chunk 1.
how i can solve it? i try it ith the “mail-gateway.html” method from this
list but didnt work

i got

i=1367731, dsn=4.0.0, stat=Deferred: prog mailer (/bin/sh) exited with
EX_TEMPFAIL
when i make

  • in debug mod

Connecting to https://localhost:82/REST/1.0/NoAuth/mail-gateway at
/home/htdocs/rt3/bin/rt->mailgate line 473, <> chunk 1.
how i can solve it? i try it ith the “mail-gateway.html” method from this
list but didnt work

I think a common problem is that the NoAuth directory is underneath
a protected directory so you have to make an exception in your
httpd.conf like:
<LocationMatch “/NoAuth”>
Satisfy Any
Allow from all

to allow unauthenticated access.
Try hitting the URL with a browser to make sure you don’t get
an authentication prompt.

Les Mikesell
les@futuresource.com

Dear List Users
First Thanks for Answer to les
b.) Second I was the Fault, I was an Idiot…now i think it works the
firewall did blocked for localhost (ip) access to the http page (http SSL
port)
im sorry and thank you anyway!

Group

I got thrown into this RT. I am green. I have a question. When email is sent to support it gets to the mail que then stopes. it gives this error.

delivery of mail with the command /usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf …

Running /var/spool/mqueue/j8NHVDWt027735 (sequence 1 of 1)“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”… Connecting to prog…mailer prog died with signal 11"|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt"… Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I am not sure where to go. I have searched the web. Please help.

Thanks

Joel

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Group

I got thrown into this RT. I am green. I have a question. When email is sent
to support it gets to the mail que then stopes. it gives this error.

delivery of mail with the command /usr/lib/sendmail -v -q
-C/etc/mail/sendmail.cf …
Running /var/spool/mqueue/j8NHVDWt027735 (sequence 1 of 1)
“|rt-mailgate --queue general --action comment --url
http://137.218.0.4/rt”… Connecting to prog…
mailer prog died with signal 11
“|rt-mailgate --queue general --action comment --url
http://137.218.0.4/rt”… Deferred: prog mailer (/usr/sbin/smrsh) exited
with EX_TEMPFAIL
Try to run next command:
cat some_email_message.eml | rt-mailgate --debug --queue general
–action comment --url …

it should show debug output.
If don’t know how to get message file then add --debug option to your
alias, run newaliases and send another testing mail, there is should
be more info about error in the log.

I am not sure where to go. I have searched the web. Please help.
Thanks
Joel


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from
http://rtbook.bestpractical.com

Best regards, Ruslan.

Group

I got thrown into this RT. I am green. I have a question. When email is sent to support it gets to the mail que then stops. It gives this error.
delivery of mail with the command /usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf …

Running /var/spool/mqueue/j8NHVDWt027735 (sequence 1 of 1)“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”… Connecting to prog…mailer prog died with signal 11"|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt"… Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I am not sure where to go. I have searched the web. Please help.

Thanks

Joel

Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.

Running /var/spool/mqueue/j8NHVDWt027735 (sequence 1 of 1)
“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”… Connecting to prog…
mailer prog died with signal 11

Try accessing:
http://137.218.0.4/rt/REST/1.0/NoAuth/mail-gateway
with a browser. If you get a login/password prompt you need
to reconfigure apache to not use authentication for the
/NoAuth directory. You may also have more details in the
error_log under /var/log/httpd to show why this isn’t working.
If not, add --debug to the rt-mailgate arguments in the alias
and run newaliases, then try again and it should show more
in /var/log/maillog.

Les Mikesell
les@futuresource.com

I got thrown into this RT. I am green. I have a question. When email
is sent to support it gets to the mail que then stops. It gives this
error.

delivery of mail with the command /usr/lib/sendmail -v -q
-C/etc/mail/sendmail.cf …
Running /var/spool/mqueue/j8NHVDWt027735 (sequence 1 of 1)
“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”…
Connecting to prog…
mailer prog died with signal 11
“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”…
Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
I am not sure where to go. I have searched the web. Please help.

IIRC, smrsh has a config file into which you have to put the names of
things you’re going to put in there as targets.

If that’s not enough hint (I’ve never done it, just read about it here :slight_smile:
c’mon back for more.

Cheers,
– jra
Jay R. Ashworth jra@baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274

"NPR has a lot in common with Nascar... we both turn to the left."
	- Peter Sagal, on Wait Wait, Don't Tell Me!

I don’t know if you have any success with this. If so please share.

I had to do the following because I couldn’t get it working the recommended way:

  • create a mailbox for each queue
  • set up a POP/IMAP server (used Dovecot)
  • get fetchmail to poll each account and fire the mail off to RT

Regards

Cameron----- Original Message -----
From: Joel p
To: rt-users@lists.bestpractical.com
Sent: Wednesday, September 28, 2005 12:06 AM
Subject: [rt-users] EX_TEMPFAIL

Group

I got thrown into this RT. I am green. I have a question. When email is sent to support it gets to the mail que then stopes. it gives this error.

delivery of mail with the command /usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf …

Running /var/spool/mqueue/j8NHVDWt027735 (sequence 1 of 1)
“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”… Connecting to prog…
mailer prog died with signal 11
“|rt-mailgate --queue general --action comment --url http://137.218.0.4/rt”… Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
I am not sure where to go. I have searched the web. Please help.Thanks Joel__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

I am seeking desperately some help to figure out the issue I am having after
upgrading from RT 4.0.7 to 4.2.1. New RT seems to working fine other than
mail gate cannot forward outside email to queues. I can send out the mail
from RT web interface without problems.

Here is the tail from sendmail’s log file

Dec 4 10:17:11 rt-dev sm-mta[13877]: rB4IHA97013875:
to=“|/opt/rt4/bin/rt-mailgate --debug --queue mamirtest --action correspond
–url https://rt-dev.myrt.com”, ctladdr=mamirtest@rt-dev.mousebiology.org
(8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=35334, dsn=4.0.0,
stat=Deferred: prog mailer (/bin/sh) exited with EX_TEMPFAIL

Here is the result of make testdeps and RT gatemail breaks after I run make
fixdeps.
users:
rt group (www-data) …found
bin owner (root) …found
libs owner (root) …found
libs group (bin) …found
web owner (www-data) …found
web group (www-data) …found
CLI dependencies:
Text::ParseWords …found
Term::ReadKey …found
Getopt::Long >= 2.24 …found
HTTP::Request::Common …found
Term::ReadLine …found
LWP …found
CORE dependencies:
Storable >= 2.08 …found
Encode >= 2.39 …found
Crypt::Eksblowfish …MISSING
Module::Versions::Report >= 1.05 …found
List::MoreUtils …found
Errno …found
DBI >= 1.37 …found
Devel::StackTrace >= 1.19 …found
HTTP::Message >= 6.0 …MISSING
Text::Password::Pronounceable …found
Devel::GlobalDestruction …found
Time::ParseDate …found
IPC::Run3 …found
Tree::Simple >= 1.04 …found
HTML::Scrubber >= 0.08 …found
HTML::Quoted …found
Sys::Syslog >= 0.16 …found
Mail::Mailer >= 1.57 …found
Data::GUID …MISSING
HTML::Mason >= 1.43 …found
HTML::Entities …found
LWP::Simple …found
Symbol::Global::Name >= 0.04 …MISSING
DateTime::Format::Natural >= 0.67 …MISSING
Plack >= 1.0002 …MISSING
File::Glob …found
Class::Accessor >= 0.34 …found
Text::Wrapper …found
Regexp::Common::net::CIDR …found
Log::Dispatch >= 2.30 …MISSING
HTML::FormatText::WithLinks::AndTables …MISSING
DateTime >= 0.44 …found
CGI::Emulate::PSGI …found
Text::Quoted >= 2.07 …MISSING
Regexp::IPv6 …found
CGI >= 3.38 …found
CSS::Squish >= 0.06 …found
DateTime::Locale >= 0.40 …found
CGI::PSGI >= 0.12 …found
Apache::Session >= 1.53 …found
Digest::SHA …found
HTML::Mason::PSGIHandler >= 0.52 …found
MIME::Entity >= 5.504 …MISSING
Locale::Maketext::Lexicon >= 0.32 …found
Module::Refresh >= 0.03 …MISSING
Role::Basic >= 0.12 …MISSING
Digest::base …found
File::Temp >= 0.19 …found
Date::Manip …MISSING
Locale::Maketext >= 1.06 …found
HTML::RewriteAttributes >= 0.05 …MISSING
Text::Template >= 1.44 …found
CGI::Cookie >= 1.20 …found
Scalar::Util …found
XML::RSS >= 1.05 …found
File::Spec >= 0.8 …found
Text::WikiFormat >= 0.76 …found
DBIx::SearchBuilder >= 1.65 …MISSING
File::ShareDir …found
Regexp::Common …found
Digest::MD5 >= 2.27 …found
HTML::FormatText::WithLinks >= 0.14 …MISSING
Mail::Header >= 2.12 …MISSING
Locale::Maketext::Fuzzy >= 0.11 …MISSING
Time::HiRes …found
Email::Address::List …MISSING
Net::CIDR …found
JSON …found
UNIVERSAL::require …found
Email::Address >= 1.897 …MISSING
Plack::Handler::Starlet …found
DASHBOARDS dependencies:
URI::QueryParam …found
URI >= 1.59 …found
MIME::Types …found
FASTCGI dependencies:
FCGI::ProcManager …found
FCGI >= 0.74 …found
GD dependencies:
GD::Text …found
GD …found
GD::Graph >= 1.47 …MISSING
GPG dependencies:
File::Which …MISSING
PerlIO::eol …found
GnuPG::Interface …found
ICAL dependencies:
Data::ICal …found
MAILGATE dependencies:
Pod::Usage …found
LWP::UserAgent >= 6.0 …MISSING
Crypt::SSLeay …MISSING
Getopt::Long …found
Net::SSL …MISSING
LWP::Protocol::https …found
Mozilla::CA …MISSING
PG dependencies:
DBD::Pg >= 1.43 …found
SMIME dependencies:
String::ShellQuote …MISSING
File::Which …MISSING
Crypt::X509 …MISSING
USERLOGO dependencies:
Convert::Color …found

SOME DEPENDENCIES WERE MISSING.
MAILGATE missing dependencies:
LWP::UserAgent >= 6.0 …MISSING
Mozilla::CA …MISSING
Net::SSL …MISSING
Crypt::SSLeay …MISSING
SMIME missing dependencies:
Crypt::X509 …MISSING
File::Which …MISSING
String::ShellQuote …MISSING
GPG missing dependencies:
File::Which …MISSING
GD missing dependencies:
GD::Graph >= 1.47 …MISSING
CORE missing dependencies:
Text::Quoted >= 2.07 …MISSING
DBIx::SearchBuilder >= 1.65 …MISSING
Crypt::Eksblowfish …MISSING
Data::GUID …MISSING
MIME::Entity >= 5.504 …MISSING
Symbol::Global::Name >= 0.04 …MISSING
HTML::FormatText::WithLinks >= 0.14 …MISSING
DateTime::Format::Natural >= 0.67 …MISSING
Plack >= 1.0002 …MISSING
Module::Refresh >= 0.03 …MISSING
Role::Basic >= 0.12 …MISSING
Mail::Header >= 2.12 …MISSING
Locale::Maketext::Fuzzy >= 0.11 …MISSING
Email::Address::List …MISSING
HTTP::Message >= 6.0 …MISSING
Log::Dispatch >= 2.30 …MISSING
HTML::FormatText::WithLinks::AndTables …MISSING
Date::Manip …MISSING
HTML::RewriteAttributes >= 0.05 …MISSING
Email::Address >= 1.897 …MISSING

Perl library path for /usr/bin/perl:
/etc/perl
/usr/local/lib/perl/5.10.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.10
/usr/share/perl/5.10
/usr/local/lib/site_perl
.

View this message in context: http://requesttracker.8502.n7.nabble.com/EX-TEMPFAIL-tp56007.html