Feeling stupid

OK, I have a test RT3 system that I set up a few months back, I hadn’t
played with it for awhile, and had done some RHN updates to that linux
(redhat 8) box, and somewhere along the way, my RT config broke. So, I
downloaded 3-0-6, did the test-dependencies until I got everything up to
date, restarted apache, and everything seems to be working.

Except for one thing (or you wouldn’t be reading this email, right?).

RT can’t send mail. It can receive email, because I was able to open a
ticket, but I can’t get it to send any. There don’t seem to be any
errors in /var/log/messages or /var/log/maillog, or
/opt/rt3/var/log/rt.log, it just doesn’t work. I can send email from
that box with no problems.

/opt/rt3/etc/RT_SiteConfig.pm is:

$rtname=“mqsoftware.com”;

$Organization = “mqsoftware.com”;

$Timezone = ‘US/Central’;

$OwnerEmail = ‘helpdesk@mqsoftware.com’;

$RTAddressRegexp = ‘^rt@starbug.mqsoftware.com$’;

$CorrespondAddress=‘RT::rt@starbug.mqsoftware.com’;

$CommentAddress=‘RT::rt@starbug.mqsoftware.com’;

$UseFriendlyToLine = 1;

$WebPath = “/rt3”;

$WebBaseURL = “http://starbug.mqsoftware.com:80”;

$DateDayBeforeMonth = 0;

$LogToFile = ‘debug’;

$LogDir = “/opt/rt3/var/log”;

$LogToFileNamed = “rt.log”;

1;

What am I missing? Where should I be looking to find the problem?

Kelly F. Hickel

Senior Software Architect

MQSoftware, Inc

952.345.8677

kfh@mqsoftware.com

Hi Kelly,

It sounds like there is a permissions problem. I may be wrong, but if I
remember rightly RH8 shipped with no smrsh support and it was added later as
an update, so this may be the problem (assuming you are running sendmail).
Have you looked in the “Outgoing mail configuration”, pieced together the
mail command and tried to run it as the user which the web server is running
as? If you have upgraded, have you commented out the Set($UseFriendlyToLine
, 0); line? It would also be checking the web server log and seeing if that
has any errors.

Hope this helps,

Nick-----Original Message-----
From: Kelly F. Hickel [mailto:kfh@mqsoftware.com]
Sent: 14 October 2003 21:40
To: rt-users@lists.fsck.com
Subject: [rt-users] feeling stupid…

OK, I have a test RT3 system that I set up a few months back, I hadn’t
played with it for awhile, and had done some RHN updates to that linux
(redhat 8) box, and somewhere along the way, my RT config broke. So, I
downloaded 3-0-6, did the test-dependencies until I got everything up to
date, restarted apache, and everything seems to be working.

Except for one thing (or you wouldn’t be reading this email, right?).

RT can’t send mail. It can receive email, because I was able to open a
ticket, but I can’t get it to send any. There don’t seem to be any errors
in /var/log/messages or /var/log/maillog, or /opt/rt3/var/log/rt.log, it
just doesn’t work. I can send email from that box with no problems.

/opt/rt3/etc/RT_SiteConfig.pm is:

$rtname=“mqsoftware.com”;

$Organization = “mqsoftware.com”;

$Timezone = ‘US/Central’;

$OwnerEmail = ‘helpdesk@mqsoftware.com’;

$RTAddressRegexp = ‘^rt@starbug.mqsoftware.com$’;

$CorrespondAddress=‘RT::rt@starbug.mqsoftware.com’;

$CommentAddress=‘RT::rt@starbug.mqsoftware.com’;

$UseFriendlyToLine = 1;

$WebPath = “/rt3”;

$WebBaseURL = “http://starbug.mqsoftware.com:80”;

$DateDayBeforeMonth = 0;

$LogToFile = ‘debug’;

$LogDir = “/opt/rt3/var/log”;

$LogToFileNamed = “rt.log”;

1;

What am I missing? Where should I be looking to find the problem?

Kelly F. Hickel

Senior Software Architect

MQSoftware, Inc

952.345.8677

kfh@mqsoftware.com

This message is intended solely for the use of the individual or
organisation to whom it is addressed and may contain confidential or
copyrighted information. If you have received this message in error, please
reply to the originator and delete it immediately. If you are not the
intended recipient, you should not use, copy, alter, disseminate, print or
disclose the contents of this message.

Information or opinions expressed in this message and/or any attachments are
those of the author and are not necessarily those of EFSS Ltd. or its
affiliates. EFSS Ltd. accepts no responsibility for loss or damage arising
from its use, including damage from viruses.

Note: Internet e-mails are not necessarily secure. EFSS Ltd. does not accept
responsibility for changes made to this message after it was sent.

Well, I haven’t seen any responses. I kept digging and found this in the apache log file, not quite sure if it’s related to the mail problem or not…

-bash-2.05b$ cd /usr/local/apache/logs/
-bash-2.05b$ ls
access_log error_log httpd.pid
-bash-2.05b$ ls -l
total 16
-rw-r–r-- 1 root adm 7467 Oct 15 15:29 access_log
-rw-r–r-- 1 root adm 449 Oct 15 15:29 error_log
-rw-r–r-- 1 root adm 6 Oct 14 15:27 httpd.pid
-bash-2.05b$ cat error_log
[Wed Oct 15 20:29:40 2003] [crit]: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at …/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al) line 282, (in cleanup) Assertion flags == 0 failed: file “Storable.xs”, line 2336 at …/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al) line 282, at /usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line 21
(/opt/rt3/bin/webmux.pl:137)
-bash-2.05b$

These are the only errors I can find on the system. I can send email when logged in as the apache user, but rt mail never even seems to make it to the mail log.

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com-----Original Message-----
From: Kelly F. Hickel
Sent: Tuesday, October 14, 2003 3:40 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] feeling stupid…

OK, I have a test RT3 system that I set up a few months back, I hadn’t played with it for awhile, and had done some RHN updates to that linux (redhat 8) box, and somewhere along the way, my RT config broke. So, I downloaded 3-0-6, did the test-dependencies until I got everything up to date, restarted apache, and everything seems to be working.

Except for one thing (or you wouldn’t be reading this email, right?).

RT can’t send mail. It can receive email, because I was able to open a ticket, but I can’t get it to send any. There don’t seem to be any errors in /var/log/messages or /var/log/maillog, or /opt/rt3/var/log/rt.log, it just doesn’t work. I can send email from that box with no problems.

/opt/rt3/etc/RT_SiteConfig.pm is:

$rtname=“mqsoftware.com”;
$Organization = “mqsoftware.com”;
$Timezone = ‘US/Central’;
$OwnerEmail = ‘helpdesk@mqsoftware.com’;
$RTAddressRegexp = ‘^rt@starbug.mqsoftware.com$’;
$CorrespondAddress=‘RT::rt@starbug.mqsoftware.com’;
$CommentAddress=‘RT::rt@starbug.mqsoftware.com’;
$UseFriendlyToLine = 1;
$WebPath = “/rt3”;
$WebBaseURL = “http://starbug.mqsoftware.com:80”;
$DateDayBeforeMonth = 0;
$LogToFile = ‘debug’;
$LogDir = “/opt/rt3/var/log”;
$LogToFileNamed = “rt.log”;

1;

What am I missing? Where should I be looking to find the problem?

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

Found a bit more, here’s a bounce mail from our mailserver, looks like the To address is munged. I’m not a sendmail expert, so any help is appreciated. My RT_SiteConfig.pl is at the end of this message…

Return-Path: Received: (from apache@localhost) by starbug.mqsoftware.com (8.12.8/8.12.8/Submit) id h9FKVXqF015904; Wed, 15 Oct 2003 15:31:33 -0500Date: Wed, 15 Oct 2003 15:31:33 -0500 Subject: [mqsoftware.com #5] test of mail creation of ticket in developer queue. .... From: " via RT" Reply-To: devq@starbug.mqsoftware.com In-Reply-To: Message-ID: Precedence: bulk X-RT-Loop-Prevention: mqsoftware.com RT-Ticket: mqsoftware.com #5 Managed-by: RT 3.0.6 (http://www.bestpractical.com/rt/) RT-Originator: mjblaisdell@mqsoftware.com MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 To: "AdminCc of mqsoftware.com Ticket #5":;

–h9FKVXqG015904.1066249893/starbug.mqsoftware.com–

&

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

-----Original Message-----
From: Kelly F. Hickel
Sent: Wednesday, October 15, 2003 3:33 PM
To: Kelly F. Hickel; rt-users@lists.fsck.com
Subject: RE: [rt-users] feeling stupid…

Well, I haven’t seen any responses. I kept digging and found this in the
apache log file, not quite sure if it’s related to the mail problem or
not…

-bash-2.05b$ cd /usr/local/apache/logs/
-bash-2.05b$ ls
access_log error_log httpd.pid
-bash-2.05b$ ls -l
total 16
-rw-r–r-- 1 root adm 7467 Oct 15 15:29 access_log
-rw-r–r-- 1 root adm 449 Oct 15 15:29 error_log
-rw-r–r-- 1 root adm 6 Oct 14 15:27 httpd.pid
-bash-2.05b$ cat error_log
[Wed Oct 15 20:29:40 2003] [crit]: Assertion flags == 0 failed: file
“Storable.xs”, line 2336 at …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/_freeze.al) line 282, (in cleanup) Assertion
flags == 0 failed: file “Storable.xs”, line 2336 at …/…/lib/Storable.pm
(autosplit into …/…/lib/auto/Storable/_freeze.al) line 282, at
/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line
21
(/opt/rt3/bin/webmux.pl:137)
-bash-2.05b$

These are the only errors I can find on the system. I can send email when
logged in as the apache user, but rt mail never even seems to make it to
the mail log.

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

-----Original Message-----
From: Kelly F. Hickel
Sent: Tuesday, October 14, 2003 3:40 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] feeling stupid…

OK, I have a test RT3 system that I set up a few months back, I hadn’t
played with it for awhile, and had done some RHN updates to that linux
(redhat 8) box, and somewhere along the way, my RT config broke. So, I
downloaded 3-0-6, did the test-dependencies until I got everything up to
date, restarted apache, and everything seems to be working.

Except for one thing (or you wouldn’t be reading this email, right?).

RT can’t send mail. It can receive email, because I was able to open a
ticket, but I can’t get it to send any. There don’t seem to be any errors
in /var/log/messages or /var/log/maillog, or /opt/rt3/var/log/rt.log, it
just doesn’t work. I can send email from that box with no problems.

/opt/rt3/etc/RT_SiteConfig.pm is:

$rtname=“mqsoftware.com”;
$Organization = “mqsoftware.com”;
$Timezone = ‘US/Central’;
$OwnerEmail = ‘helpdesk@mqsoftware.com’;
$RTAddressRegexp = ‘^rt@starbug.mqsoftware.com$’;
$CorrespondAddress=‘RT::rt@starbug.mqsoftware.com’;
$CommentAddress=‘RT::rt@starbug.mqsoftware.com’;
$UseFriendlyToLine = 1;
$WebPath = “/rt3”;
$WebBaseURL = “http://starbug.mqsoftware.com:80”;
$DateDayBeforeMonth = 0;
$LogToFile = ‘debug’;
$LogDir = “/opt/rt3/var/log”;
$LogToFileNamed = “rt.log”;

1;

What am I missing? Where should I be looking to find the problem?

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

Kelly,

Unless you have a compelling reason to stick with sendmail I would say try and install postfix. I used the rpm and it was rather easy to get going. If you don’t have to troubleshoot this sendmail issue then don’t. Postfix has a 20 line config in English and is very easy to configure.

-KeithFrom: Kelly F. Hickel [mailto:kfh@mqsoftware.com]
Sent: Wednesday, October 15, 2003 4:36 PM
To: Kelly F. Hickel; rt-users@lists.fsck.com
Subject: RE: [rt-users] feeling stupid…

Found a bit more, here’s a bounce mail from our mailserver, looks like the To address is munged. I’m not a sendmail expert, so any help is appreciated. My RT_SiteConfig.pl is at the end of this message…

Return-Path: Received: (from apache@localhost) by starbug.mqsoftware.com (8.12.8/8.12.8/Submit) id h9FKVXqF015904; Wed, 15 Oct 2003 15:31:33 -0500 Date: Wed, 15 Oct 2003 15:31:33 -0500 Subject: [mqsoftware.com #5] test of mail creation of ticket in developer queue. .... From: " via RT" Reply-To: devq@starbug.mqsoftware.com In-Reply-To: Message-ID: Precedence: bulk X-RT-Loop-Prevention: mqsoftware.com RT-Ticket: mqsoftware.com #5 Managed-by: RT 3.0.6 (http://www.bestpractical.com/rt/) RT-Originator: mjblaisdell@mqsoftware.com MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-RT-Original-Encoding: utf-8 To: "AdminCc of mqsoftware.com Ticket #5":;

–h9FKVXqG015904.1066249893/starbug.mqsoftware.com–

&

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

-----Original Message-----
From: Kelly F. Hickel
Sent: Wednesday, October 15, 2003 3:33 PM
To: Kelly F. Hickel; rt-users@lists.fsck.com
Subject: RE: [rt-users] feeling stupid…

Well, I haven’t seen any responses. I kept digging and found this in the
apache log file, not quite sure if it’s related to the mail problem or
not…

-bash-2.05b$ cd /usr/local/apache/logs/
-bash-2.05b$ ls
access_log error_log httpd.pid
-bash-2.05b$ ls -l
total 16
-rw-r–r-- 1 root adm 7467 Oct 15 15:29 access_log
-rw-r–r-- 1 root adm 449 Oct 15 15:29 error_log
-rw-r–r-- 1 root adm 6 Oct 14 15:27 httpd.pid
-bash-2.05b$ cat error_log
[Wed Oct 15 20:29:40 2003] [crit]: Assertion flags == 0 failed: file
“Storable.xs”, line 2336 at …/…/lib/Storable.pm (autosplit into
…/…/lib/auto/Storable/_freeze.al) line 282, (in cleanup) Assertion
flags == 0 failed: file “Storable.xs”, line 2336 at …/…/lib/Storable.pm
(autosplit into …/…/lib/auto/Storable/_freeze.al) line 282, at
/usr/lib/perl5/site_perl/5.8.0/Apache/Session/Serialize/Storable.pm line
21
(/opt/rt3/bin/webmux.pl:137)
-bash-2.05b$

These are the only errors I can find on the system. I can send email when
logged in as the apache user, but rt mail never even seems to make it to
the mail log.

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

-----Original Message-----
From: Kelly F. Hickel
Sent: Tuesday, October 14, 2003 3:40 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] feeling stupid…

OK, I have a test RT3 system that I set up a few months back, I hadn’t
played with it for awhile, and had done some RHN updates to that linux
(redhat 8) box, and somewhere along the way, my RT config broke. So, I
downloaded 3-0-6, did the test-dependencies until I got everything up to
date, restarted apache, and everything seems to be working.

Except for one thing (or you wouldn’t be reading this email, right?).

RT can’t send mail. It can receive email, because I was able to open a
ticket, but I can’t get it to send any. There don’t seem to be any errors
in /var/log/messages or /var/log/maillog, or /opt/rt3/var/log/rt.log, it
just doesn’t work. I can send email from that box with no problems.

/opt/rt3/etc/RT_SiteConfig.pm is:

$rtname=“mqsoftware.com”;
$Organization = “mqsoftware.com”;
$Timezone = ‘US/Central’;
$OwnerEmail = ‘helpdesk@mqsoftware.com’;
$RTAddressRegexp = ‘^rt@starbug.mqsoftware.com$’;
$CorrespondAddress=‘RT::rt@starbug.mqsoftware.com’;
$CommentAddress=‘RT::rt@starbug.mqsoftware.com’;
$UseFriendlyToLine = 1;
$WebPath = “/rt3”;
$WebBaseURL = “http://starbug.mqsoftware.com:80”;
$DateDayBeforeMonth = 0;
$LogToFile = ‘debug’;
$LogDir = “/opt/rt3/var/log”;
$LogToFileNamed = “rt.log”;

1;

What am I missing? Where should I be looking to find the problem?

Kelly F. Hickel
Senior Software Architect
MQSoftware, Inc
952.345.8677
kfh@mqsoftware.com

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

I didn’t see your original request, and I don’t see the bounce message attached below. (I DO see what loooks like the headers from an outgoing message – but I don’t see any sendmail transactions… The part that you’ve included isn’t particularly useful in debugging a potential mail problem. ) The fact that the To: line doesn’t have any recipients listed is not a problem. The envelope of the message is what is used for delivery, and it’s not necessarily the same as this header. (In RT’s case, it is not the same.)

However, your CorrespondAddress and your CommentAddress are bad. You just want an email address inside single quotes. What’s the “RT::” stuff at the beginning?

Also note that RT apparently wasn’t able to get a full name for the account that did the update to the test ticket – thus the " via RT" From: header. This (the email header) isn’t going to cause any problems related to sending or receiving mail.

Jim