AW: 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

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

hi
thx now it works just fine
mfg michael