[rt-users] rt-mailgate problem rt3.0.2.6/debian/exim
David Fletcher
dfletcher at iti-infotech.com
Fri Jul 18 08:45:47 EDT 2003
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.
-----Original Message-----
From: Michael Pilz [mailto:michael at maurer-it.com]
Sent: Friday, July 18, 2003 3:57 AM
To: Brent Geach
Cc: rt-users at 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 at telecom1.com]
>Gesendet: Mittwoch, 16. Juli 2003 12:34
>An: Michael Pilz
>Cc: rt-users at 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 at 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 at 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 at maurer-it.com http://www.maurer-it.com
>> --------------------------------------------------
>>
>> _______________________________________________
>> rt-users mailing list
>> rt-users at 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 at 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
More information about the rt-users
mailing list