Webrt and mail problems


#1

I am having problems with rt 1.0.7 delivering mail from the web
interface when replying to a message. The mail gets delivered to the
requestor and to the members of the queue. In addition, it seems to parse
the address of whoever is replying wrong and tries to email to each token
of the address (space delimited). For example the Reply-To field when
replying from the web is “Isaac Saldana via RT systems@ee.ucr.edu” but
the From: field is From: Isaac.Saldana.via.RT with no email address. And
then I get emails bounced to isaac,saldana,via. This only happens when I
reply from the web interface and not from isaacsys’s account using an
email client such as pine. This is kinda weird cause in
lib/rt/support/mail.pm there is the command:
print MAIL “Subject: [$rt::rtname #”. $in_serial_num . "] ($in_queue_id) $in_subjectReply-To: $friendly_name <$temp_mail_alias>
From: $friendly_name <$temp_mail_alias>
To: $in_recipient
Cc: $in_cc
Bcc: $in_bcc
X-Request-ID: $in_serial_num
X-RT-Loop-Prevention: $rt::rtname
X-Sender: $in_current_user
X-Managed-By: Request Tracker $rt::rtversion (http://www.fsck.com/projects/rt)
Precedence: bulk

$template
-------------------------------------------- Managed by Request Tracker\n";

which sets Reply-To: and From: to be the same. I am using sendmail with
the default options that came with rt. Has anyone had this problem? I
also tried setting $mailprog="(cat ->/tmp/foo;cat /tmp/foo)|/usr/lib/sendmail"
to see what was the email being sent and the From: and Reply-To: fields
were the same and correct. Rt was working fine and then started doing
this. Thanks for any help.

Isaac Saldana


#2

I am having problems with rt 1.0.7 delivering mail from the web
interface when replying to a message. The mail gets delivered to the
requestor and to the members of the queue. In addition, it seems to parse
the address of whoever is replying wrong and tries to email to each token
of the address (space delimited). For example the Reply-To field when
replying from the web is “Isaac Saldana via RT systems@ee.ucr.edu” but
the From: field is From: Isaac.Saldana.via.RT with no email address. And
then I get emails bounced to isaac,saldana,via. This only happens when I
reply from the web interface and not from isaacsys’s account using an
email client such as pine. This is kinda weird cause in
lib/rt/support/mail.pm there is the command:


print MAIL “Subject: [$rt::rtname #”. $in_serial_num . "] ($in_queue_id) $in_subject
Reply-To: $friendly_name <$temp_mail_alias>
From: $friendly_name <$temp_mail_alias>
To: $in_recipient
Cc: $in_cc
Bcc: $in_bcc
X-Request-ID: $in_serial_num
X-RT-Loop-Prevention: $rt::rtname
X-Sender: $in_current_user
X-Managed-By: Request Tracker $rt::rtversion (http://www.fsck.com/projects/rt)
Precedence: bulk

$template
-------------------------------------------- Managed by Request Tracker\n";


which sets Reply-To: and From: to be the same. I am using sendmail with
the default options that came with rt. Has anyone had this problem? I

We have got similar problem (RT 1.0.7 & postfix):

original
was tried to be delivered as
Zdenek@hyper.zcu.cz, Ing.@hyper.zcu.cz,
“Ph.D.” via operator@zcu.cz"" operator@zcu.cz

also tried setting $mailprog="(cat ->/tmp/foo;cat /tmp/foo)|/usr/lib/sendmail"
to see what was the email being sent and the From: and Reply-To: fields
were the same and correct. Rt was working fine and then started doing
this. Thanks for any help.

When did it started (after upgrade from 1.0.6?)? It could help to find out
what changed wrong in the code… I’m actually too busy to look closer at
the problem/bug ;-(.


Isaac Saldana


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

Jan Okrouhly
-----------------------------------------±----okrouhly@civ.zcu.cz—
Laboratory for Computer Science | phone: (420 19) 7491588
University of West Bohemia | location: Univerzitni 22
Americka 42, 306 14 Pilsen, Czech Republic | room: UI404
------------------------------------------73!-de-OK1INC@OK0PPL.#BOH.CZE.EU-


#3

Actually I was running 1.0.6. It started doing that and tried
upgrading to 1.0.7 to see if that would fix it but it didnt.On Fri, 18 May 2001, Jan Okrouhly wrote:

On Wed, 16 May 2001, Systems Group (Isaac) wrote:

I am having problems with rt 1.0.7 delivering mail from the web

interface when replying to a message. The mail gets delivered to the
requestor and to the members of the queue. In addition, it seems to parse
the address of whoever is replying wrong and tries to email to each token
of the address (space delimited). For example the Reply-To field when
replying from the web is “Isaac Saldana via RT systems@ee.ucr.edu” but
the From: field is From: Isaac.Saldana.via.RT with no email address. And
then I get emails bounced to isaac,saldana,via. This only happens when I
reply from the web interface and not from isaacsys’s account using an
email client such as pine. This is kinda weird cause in
lib/rt/support/mail.pm there is the command:


print MAIL “Subject: [$rt::rtname #”. $in_serial_num . "] ($in_queue_id) $in_subject
Reply-To: $friendly_name <$temp_mail_alias>
From: $friendly_name <$temp_mail_alias>
To: $in_recipient
Cc: $in_cc
Bcc: $in_bcc
X-Request-ID: $in_serial_num
X-RT-Loop-Prevention: $rt::rtname
X-Sender: $in_current_user
X-Managed-By: Request Tracker $rt::rtversion (http://www.fsck.com/projects/rt)
Precedence: bulk

$template
-------------------------------------------- Managed by Request Tracker\n";


which sets Reply-To: and From: to be the same. I am using sendmail with
the default options that came with rt. Has anyone had this problem? I

We have got similar problem (RT 1.0.7 & postfix):

original
From: “Michal Zdenek,Ing.,Ph.D.” pospech@kxx.zcu.cz
was tried to be delivered as
From: “RT:”@hyper.zcu.cz, Michal@hyper.zcu.cz,
Zdenek@hyper.zcu.cz, Ing.@hyper.zcu.cz,
“Ph.D.” via operator@zcu.cz"" operator@zcu.cz

also tried setting $mailprog="(cat ->/tmp/foo;cat /tmp/foo)|/usr/lib/sendmail"
to see what was the email being sent and the From: and Reply-To: fields
were the same and correct. Rt was working fine and then started doing
this. Thanks for any help.

When did it started (after upgrade from 1.0.6?)? It could help to find out
what changed wrong in the code… I’m actually too busy to look closer at
the problem/bug ;-(.


Isaac Saldana


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

Jan Okrouhly
-----------------------------------------±----okrouhly@civ.zcu.cz—
Laboratory for Computer Science | phone: (420 19) 7491588
University of West Bohemia | location: Univerzitni 22
Americka 42, 306 14 Pilsen, Czech Republic | room: UI404
------------------------------------------73!-de-OK1INC@OK0PPL.#BOH.CZE.EU-

                                    |

Isaac Saldana | Office: Bourns Hall B213
Systems Administrator | Phone: (909) 787-2452
College of Engineering | Fax: (909) 787-2425
Department of Electrical Engineering | Email: isaldana@ee.ucr.edu
University of California, Riverside | http://www.ee.ucr.edu/~isaldana
|