Rt-mailgate problem rt3.0.2.6/debian/exim

hi
i try to setup rt3 on debian and want to use the exim-hack for short aliases
which is working fine on our rt2 system.

is there a way to use a simulare hack on rt3 because it dosn’t work out
mfg michael pilz

failure message below

This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

www-data_general+correspond@requesttracker3.maurer-it.com
Child process of local_delivery_rt transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command:
/usr/bin/rt-mailgate

The following text was generated during the delivery attempt:

------ www-data_general+correspond@requesttracker3.maurer-it.com ------

/usr/bin/rt-mailgate invoked improperly

No url provided to mail gateway!
Michael Pilz Maurer IT Systemlösungen KEG
Projektleiter

Kohlgasse 51/9 Tel: +43 1 545 449 711
A - 1050 WIEN Fax: +43 1 545 449 722
Mobil: +43 699 1104 3539
michael@maurer-it.com http://www.maurer-it.com

In your /etc/aliases file your aliases for rt should be
sysadmin: “|/export/www/rt3.telecom1.com/bin/rt-mailgate --queue sysadmin
–action correspond --url http://urlofyourrthere/

Note the url part at the endOn Wed, 16 Jul 2003, Michael Pilz wrote:

hi
i try to setup rt3 on debian and want to use the exim-hack for short aliases
which is working fine on our rt2 system.

is there a way to use a simulare hack on rt3 because it dosn’t work out
mfg michael pilz

failure message below


This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

www-data_general+correspond@requesttracker3.maurer-it.com
Child process of local_delivery_rt transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command:
/usr/bin/rt-mailgate

The following text was generated during the delivery attempt:

------ www-data_general+correspond@requesttracker3.maurer-it.com ------

/usr/bin/rt-mailgate invoked improperly

No url provided to mail gateway!



Michael Pilz Maurer IT Systemlösungen KEG
Projektleiter

Kohlgasse 51/9 Tel: +43 1 545 449 711
A - 1050 WIEN Fax: +43 1 545 449 722
Mobil: +43 699 1104 3539
michael@maurer-it.com http://www.maurer-it.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

Regards,

Brent /"
\ /
Linux Registered X ASCII Ribbon Campaign
User #309941 / \ Against HTML Mail

Hi
Right I think I see your problem.
IN your director you are passing the command to exim

command = "/usr/bin/rt-mailgate --queue ${quote:$local_part} --action
${quote:${

Its probably that that is missing the --url part which is why you get the

/usr/bin/rt-mailgate invoked improperly

No url provided to mail gateway!

just try add a --url http://url at the end of it and give it a quick goOn Fri, 18 Jul 2003, Michael Pilz wrote:

hi
my exim version is 3.3.6
my /etc/aliases
webmaster: root

the 1 part of the failure-message says:


www-data_general+correspond@requesttracker3.maurer-it.com
Child process of local_delivery_rt transport returned 255 (could mean shell command ended by signal 127 (Unknown signal 127)) from command:
/usr/bin/rt-mailgate


and this is the Exim Transport Configuration for rt


#This Transport is used for Request-Tracker3, to allow Aliases like:

#abuse: rt_abuse+correspond@RequestTracker3.maurer-it.com

rt_queue+action @host

local_delivery_rt:
driver = pipe
command = “/usr/bin/rt-mailgate --queue ${quote:$local_part} --action ${quote:${
substr_1:$local_part_suffix}}”

return_path_add
return_output
prefix = ""
suffix = ""
user = www-data


and the Directors Configuration for rt


#This allows Request-Tracker short Aliases
localuser_rt:
driver = smartuser
suffix = +*
prefix = *_
new_address = ${quote:${lc:${local_part}}}@${domain}
transport = local_delivery_rt


-----Ursprüngliche Nachricht-----
Von: Brent Geach [mailto:brent@telecom1.com]
Gesendet: Freitag, 18. Juli 2003 12:03
An: Michael Pilz
Betreff: Re: [rt-users] rt-mailgate problem rt3.0.2.6/debian/exim

What version of exim you using?
Im using version 4x on redhat (shouldnt make too much
difference really)
Do you have anything in /etc/aliases that might be breaking it?

On Fri, 18 Jul 2003, Michael Pilz wrote:

hi
my alias file looks pretty simular to your’s

my /etc/request-tracker3/aliases file

rt: "|/usr/bin/rt-mailgate --queue General --action
correspond --url http://myurl/"
rt-comment: “|usr/bin/rt-mailgate --queue General --action
comment --url http://myurl/

and my /etc/exim/exim.conf file, like recommended in the
INSTALL.Debian.gz

rt_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/request-tracker3/aliases
search_type = lsearch
user = www-data

i could’t find anything helpfull for my problem in the
rtfm-faq section

-----Ursprüngliche Nachricht-----
Von: Brent Geach [mailto:brent@telecom1.com]
Gesendet: Mittwoch, 16. Juli 2003 12:34
An: Michael Pilz
Cc: rt-users@lists.fsck.com
Betreff: Re: [rt-users] rt-mailgate problem rt3.0.2.6/debian/exim

In your /etc/aliases file your aliases for rt should be
sysadmin: “|/export/www/rt3.telecom1.com/bin/rt-mailgate
–queue sysadmin
–action correspond --url http://urlofyourrthere/

Note the url part at the end

On Wed, 16 Jul 2003, Michael Pilz wrote:

hi
i try to setup rt3 on debian and want to use the exim-hack
for short aliases
which is working fine on our rt2 system.

is there a way to use a simulare hack on rt3 because it
dosn’t work out
mfg michael pilz

failure message below



This message was created automatically by mail delivery
software (Exim).

A message that you sent could not be delivered to one or
more of its

recipients. This is a permanent error. The following
address(es) failed:

www-data_general+correspond@requesttracker3.maurer-it.com
Child process of local_delivery_rt transport returned
255 (could mean shell command ended by signal 127 (Unknown
signal 127)) from command:
/usr/bin/rt-mailgate

The following text was generated during the delivery attempt:


www-data_general+correspond@requesttracker3.maurer-it.com ------

/usr/bin/rt-mailgate invoked improperly

No url provided to mail gateway!




Michael Pilz Maurer IT Systemlösungen KEG
Projektleiter

Kohlgasse 51/9 Tel: +43 1 545 449 711
A - 1050 WIEN Fax: +43 1 545 449 722
Mobil: +43 699 1104 3539
michael@maurer-it.com http://www.maurer-it.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


Regards,

Brent /"
\ /
Linux Registered X ASCII Ribbon Campaign
User #309941 / \ Against HTML Mail

Regards,

Brent /"
\ /
Linux Registered X ASCII Ribbon Campaign
User #309941 / \ Against HTML Mail

Regards,

Brent /"
\ /
Linux Registered X ASCII Ribbon Campaign
User #309941 / \ Against HTML Mail

Here are the settings we’re using with debian/exim and RT 3.0.2:

Note: We made no modifications to the /etc/alias file. All settings are in /etc/exim/exim.conf.

In the TRANSPORTS CONFIGURATION:

my rt hack

local_delivery_rt:
driver = pipe
command = "/usr/local/rt3/bin/rt-mailgate --queue ${quote:$local_part} --action ${quote:${substr_1:$local_part_suffix}} --url http://help.iti-infotech.com"
return_path_add
return_output
prefix = ""
suffix = ""
user = www-data

In the DIRECTORS CONFIGURATION:

localuser_rt:
driver = smartuser
suffix = +*
prefix = *-
new_address = ${quote:${lc:${local_part}}}@${domain}
transport = local_delivery_rt

Note: We also list www-data as a trusted user. This is probably not a good idea. I don’t remember if it is necessary for this setup or something else we where doing.

David Fletcher InfoTech International, LLC.
(904)338-9234 (904)721-1253 fax
http://www.ITI-InfoTech.com

Junk: stuff we throw away. Stuff: junk we keep.From: Michael Pilz [mailto:michael@maurer-it.com]
Sent: Friday, July 18, 2003 3:57 AM
To: Brent Geach
Cc: rt-users@lists.fsck.com
Subject: AW: [rt-users] rt-mailgate problem rt3.0.2.6/debian/exim

hi
my alias file looks pretty simular to your’s

my /etc/request-tracker3/aliases file

rt: "|/usr/bin/rt-mailgate --queue General --action correspond --url http://myurl/"
rt-comment: “|usr/bin/rt-mailgate --queue General --action comment --url http://myurl/

and my /etc/exim/exim.conf file, like recommended in the INSTALL.Debian.gz

rt_aliases:
driver = aliasfile
file_transport = address_file
pipe_transport = address_pipe
file = /etc/request-tracker3/aliases
search_type = lsearch
user = www-data

i could’t find anything helpfull for my problem in the rtfm-faq section

-----Ursprüngliche Nachricht-----
Von: Brent Geach [mailto:brent@telecom1.com]
Gesendet: Mittwoch, 16. Juli 2003 12:34
An: Michael Pilz
Cc: rt-users@lists.fsck.com
Betreff: Re: [rt-users] rt-mailgate problem rt3.0.2.6/debian/exim

In your /etc/aliases file your aliases for rt should be
sysadmin: “|/export/www/rt3.telecom1.com/bin/rt-mailgate
–queue sysadmin
–action correspond --url http://urlofyourrthere/

Note the url part at the end

hi
i try to setup rt3 on debian and want to use the exim-hack
for short aliases
which is working fine on our rt2 system.

is there a way to use a simulare hack on rt3 because it
dosn’t work out
mfg michael pilz

failure message below



This message was created automatically by mail delivery
software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following
address(es) failed:

www-data_general+correspond@requesttracker3.maurer-it.com
Child process of local_delivery_rt transport returned
255 (could mean shell command ended by signal 127 (Unknown
signal 127)) from command:
/usr/bin/rt-mailgate

The following text was generated during the delivery attempt:


www-data_general+correspond@requesttracker3.maurer-it.com ------

/usr/bin/rt-mailgate invoked improperly

No url provided to mail gateway!




Michael Pilz Maurer IT Systemlösungen KEG
Projektleiter

Kohlgasse 51/9 Tel: +43 1 545 449 711
A - 1050 WIEN Fax: +43 1 545 449 722
Mobil: +43 699 1104 3539
michael@maurer-it.com http://www.maurer-it.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

Regards,

Brent /"
\ /
Linux Registered X ASCII Ribbon Campaign
User #309941 / \ Against HTML Mail

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