Email gateway issue

So, I have an issue with the e-mail interface to RT, and I think it’s a
basic problem that I’ve read the installation instructions literally, and
they’re not idiot-proof.

Basically, I’ve had rt cc stuff and send stuff to people, and rt just
doesn’t send stuff to it. I have the gateway configured just like it says
in the manual, and there don’t appear to be any errors. /var/spool/mqueue
is empty.

My question is this: what precisely do I need running in the way of a
mail daemon? It seems obvious to me that in order to send mail to rt, I
should need some sort of mail daemon running. Since I try to do minimal
installs to avoid unnecessary software, I don’t automagically install and
run sendmail.

I’ve mailed out from the machine using ‘mail’ and it worked fine.

I RTFM’d and that didn’t help. :frowning:

It seems to me that it’s obvious that I can’t just send mail to rt and
assume it to automagically work, but why can’t rt send mail out? is it
specifically looking for sendmail? if that’s the case, why isn’t that
anywhere in the documentation that I can see?

Sheeri Kritzer
Systems Administrator
University Systems Group
Tufts University
617-627-3925
skritz01@emerald.tufts.edu

Our mail server is on a different machine that our webserver. RT is
installed on the webserver. I moved rt-mailgate to the mail server and
added this line to /etc/alises:

support: "|/etc/smrsh/rt-mailgate --queue general --action correspond
–url http://name-of-webserver/

I then run newaliases.

When I send mail to this aliase there is no bounce but nothing shows up
at the webserver either. It seems it sends it to a black hole.

Other than the “–url” option to rt-mailgate should I be doing something
else if RT is not installed on the same machine as the mail server?

Any info would be appreciated.

Thanks,
Ben

“BH” == Benjamin Herbert herbert@isis.visi.com writes:

BH> When I send mail to this aliase there is no bounce but nothing shows up
BH> at the webserver either. It seems it sends it to a black hole.

What shows up in your mail server logs?

Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/

Actually I did recieve a bounce which contained this:

----- The following addresses had transient non-fatal errors -----
“|/etc/smrsh/rt-mailgate --queue general --action correspond --url
+http://url-of-web-server/”
(expanded from: support@mydomain.com)

  ----- Transcript of session follows -----
  An Error Occurred

  501 Protocol scheme 'http' is not supported
  "|/etc/smrsh/rt-mailgate --queue general --action correspond
  --url
  +http://url-of-web-server/"... Deferred: prog mailer
  (/usr/sbin/smrsh)
  +exited with EX_TEMPFAIL
  Warning: message still undelivered after 4 hours
  Will keep trying until message is 5 days old

I think I need to install some more perl modules on my email server. I
already have LWP::UserAgent installed which is what I thought caused
this problem.On Tue, May 20, 2003 at 09:40:49AM -0400, Vivek Khera wrote:

“BH” == Benjamin Herbert herbert@isis.visi.com writes:

BH> When I send mail to this aliase there is no bounce but nothing shows up
BH> at the webserver either. It seems it sends it to a black hole.

What shows up in your mail server logs?


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

The problem I was having below was a result of a directory in @INC being
incorrectly set to 700. This is fixed, but now I am having another
problem. When I send a mail to the emial gateway alias the website show
that it recieved an email through the email gateway and it builds a
ticket fine. The prblem occurs when I try to view the ticket. Heres
what the ticket shows:

SYSTEM ERROR

error: Error during compilation of
/usr/local/rt3/share/html/Ticket/Elements/ShowTransaction:

Unrecognized escape \p in character class passed through before HERE
mark in
regex m/(\pL[\p << HERE L’])/ at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 429.
Unrecognized escape \p in character class passed through before HERE
mark in
regex m/^(\pL[\p << HERE L’]
) / at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 431.
Unrecognized escape \p in character class passed through before HERE
mark in
regex m/ (\pL[\p << HERE L’])$/ at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 432.
Unrecognized escape \p in character class passed through before HERE
mark in
regex m/( (\pL[\p << HERE L’]
) / at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 435.
Unrecognized escape \p in character class passed through before HERE
mark in
regex m/(\pL[\p << HERE L’]) ) / at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 436.
Unrecognized escape \p in character class passed through before HERE
mark in
regex m/ ( [:;] \s+ ) (\pL[\p << HERE L’]
) / at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 439

Any ideas? Thanks for your time.

-BenOn Tue, May 20, 2003 at 09:15:36AM -0500, Benjamin Herbert wrote:

Actually I did recieve a bounce which contained this:

----- The following addresses had transient non-fatal errors -----
“|/etc/smrsh/rt-mailgate --queue general --action correspond --url
+http://url-of-web-server/”
(expanded from: support@mydomain.com)

----- Transcript of session follows -----
An Error Occurred
=================

501 Protocol scheme 'http' is not supported
"|/etc/smrsh/rt-mailgate --queue general --action correspond
--url
+http://url-of-web-server/"... Deferred: prog mailer
(/usr/sbin/smrsh)
+exited with EX_TEMPFAIL
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old

I think I need to install some more perl modules on my email server. I
already have LWP::UserAgent installed which is what I thought caused
this problem.

On Tue, May 20, 2003 at 09:40:49AM -0400, Vivek Khera wrote:

“BH” == Benjamin Herbert herbert@isis.visi.com writes:

BH> When I send mail to this aliase there is no bounce but nothing shows up
BH> at the webserver either. It seems it sends it to a black hole.

What shows up in your mail server logs?


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera@kciLink.com Rockville, MD +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

error: Error during compilation of
/usr/local/rt3/share/html/Ticket/Elements/ShowTransaction:

Unrecognized escape \p in character class passed through before HERE
mark in
regex m/(\pL[\p << HERE L’]*)/ at
/usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm line 429.

Add this:
use utf8;

to the top of /usr/lib/perl5/site_perl/5.6.1/Text/Autoformat.pm

Affects Perl 5.6.1 users.

I have reported it to the Text::Autoformat maintainer.

Bye

Paolo