Mailgate problem

I’m getting this error returned to some of my users when they create
tickets via email. Anyone ever sene this before?

The original message was received at Mon, 13 Aug 2001 11:25:33 -0400
from [x.x.x.x]

----- The following addresses had permanent fatal errors -----
“|/usr/local/rt2/bin/rt-mailgate --queue emergency --action correspond”
(expanded from: emergency@rt.xxx.com)

----- Transcript of session follows -----
Can’t call method “phrase” on an undefined value at
/usr/local/rt2/bin/rt-mailgate line 616, chunk 8.
554 “|/usr/local/rt2/bin/rt-mailgate --queue emergency --action
correspond”…unknown mailer error 255

Has anyone else seen this?

  • Darrell

This was from rt-2.0.1. I’ve since upgraded to 2.0.4 and I’m still getting
the same error, just on a different line. It appears to be an issue with
how the mail is sent. Here’s what I mean:

This session will result in the error being returned to the requestor:

220 X1 NT-ESMTP Server xxx.com (IMail 6.06 111601-1)
helo xxx.com
250 hello xxx.com
mail from: darrell@xxx.net
250 ok
rcpt to: emergency@xxx.com
250 ok its for emergency@xxx.com
data
354 ok, send it; end with .
text
.
250 Message queued

This session however, will result in proper delivery sans error message:

220 X1 NT-ESMTP Server xxx.com (IMail 6.06 111606-1)
helo xxx.com
250 hello xxx.com
mail from: darrell@xxx.net
250 ok
rcpt to: emergency@xxx.com
250 ok its for emergency@xxx.com
data
354 ok, send it; end with .From: darrell@xxx.net
To: emergency@xxx.com
Subject: This one will work

text
.
250 Message queued

Including From & To in the body are not required per sendmail’s RFC, but
perhaps RT requires them. Also, FYI, the RT isn’t running NT as these
logs might lead you to believe, the NT IMail server is our primary MX and
RT’s addresses are aliases to the linux box I have RT running on.

  • Darrell

Interesting. But my take on RFC 2822 is that the Body is optional, but
that headers ARE NOT:

A message consists of header fields (collectively called “the header
of the message”) followed, optionally, by a body. The header is a
sequence of lines of characters with special syntax as defined in
this standard. The body is simply a sequence of characters that
follows the header and is separated from the header by an empty line
(i.e., a line with nothing preceding the CRLF).
(from ftp://ftp.isi.edu/in-notes/rfc2822.txt)

Fix the busted MTA or MUA that’s generating messages without headers.

    -jOn Mon, Aug 13, 2001 at 12:51:42PM -0400, Darrell Hyde wrote:

This was from rt-2.0.1. I’ve since upgraded to 2.0.4 and I’m still getting
the same error, just on a different line. It appears to be an issue with
how the mail is sent. Here’s what I mean:

This session will result in the error being returned to the requestor:

220 X1 NT-ESMTP Server xxx.com (IMail 6.06 111601-1)
helo xxx.com
250 hello xxx.com
mail from: darrell@xxx.net
250 ok
rcpt to: emergency@xxx.com
250 ok its for emergency@xxx.com
data
354 ok, send it; end with .
text
.
250 Message queued

This session however, will result in proper delivery sans error message:

220 X1 NT-ESMTP Server xxx.com (IMail 6.06 111606-1)
helo xxx.com
250 hello xxx.com
mail from: darrell@xxx.net
250 ok
rcpt to: emergency@xxx.com
250 ok its for emergency@xxx.com
data
354 ok, send it; end with .
From: darrell@xxx.net
To: emergency@xxx.com
Subject: This one will work

text
.
250 Message queued

Including From & To in the body are not required per sendmail’s RFC, but
perhaps RT requires them. Also, FYI, the RT isn’t running NT as these
logs might lead you to believe, the NT IMail server is our primary MX and
RT’s addresses are aliases to the linux box I have RT running on.

  • Darrell

On Mon, 13 Aug 2001, Darrell Hyde wrote:

I’m getting this error returned to some of my users when they create
tickets via email. Anyone ever sene this before?

The original message was received at Mon, 13 Aug 2001 11:25:33 -0400
from [x.x.x.x]

----- The following addresses had permanent fatal errors -----
“|/usr/local/rt2/bin/rt-mailgate --queue emergency --action correspond”
(expanded from: emergency@rt.xxx.com)

----- Transcript of session follows -----
Can’t call method “phrase” on an undefined value at
/usr/local/rt2/bin/rt-mailgate line 616, chunk 8.
554 “|/usr/local/rt2/bin/rt-mailgate --queue emergency --action
correspond”…unknown mailer error 255

Has anyone else seen this?

  • Darrell

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


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

pretty soon we’re going to HAVE to have hypertext mail!
–Tim Berners Lee. (8 Jan 1993 on www-talk)

| Interesting. But my take on RFC 2822 is that the Body is optional, but
| that headers ARE NOT:
±–>8

Technically correct, but /bin/mail on most commercial Unix systems doesn’t
create headers. It would be best to deal with this somehow.

brandon s. allbery [os/2][linux][solaris][freebsd] allbery@kf8nh.apk.net
system administrator [JAPH][WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university [linux: proof of the million monkeys theory]

Upgrading sendmail (from 8.9.3 - yuck) to latest stable (8.11.5) seems to
have fixed this. Thanks for the input.

  • Darrell

Darrell Hyde - Director of Technology
Magpage Internet Services, Inc.
e: darrell@magpage.com v: 800.250.2990 x224
w: www.magpage.com f: 215.972.5303On Mon, 13 Aug 2001, Brandon S. Allbery KF8NH wrote:

On Monday, August 13, 2001 13:10:18 -0400, Jesse jesse@fsck.com wrote:
±----
| Interesting. But my take on RFC 2822 is that the Body is optional, but
| that headers ARE NOT:
±–>8

Technically correct, but /bin/mail on most commercial Unix systems doesn’t
create headers. It would be best to deal with this somehow.


brandon s. allbery [os/2][linux][solaris][freebsd] allbery@kf8nh.apk.net
system administrator [JAPH][WAY too many hats] allbery@ece.cmu.edu
electrical and computer engineering KF8NH
carnegie mellon university [linux: proof of the million monkeys theory]


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