[Exim] WebRT and rt-mailgate exim problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Diye
Date:  
À: exim-users
Sujet: [Exim] WebRT and rt-mailgate exim problem
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Can anyone help me out with this. I am running webrt ( the original version ) and exim3.34 on RH7.1
I am getting a problem trying to send mail to the RT system mailqueue. The bounced message say's:
  pipe to |/usr/local/rt/bin/rt-mailgate --queue general --action = correspond
    generated by rt@???
    Child process of address_pipe transport returned 9 from command:
    /usr/local/rt/bin/rt-mailgate


The following text was generated during the delivery attempt:

------ pipe to |/usr/local/rt/bin/rt-mailgate --queue general --action = correspond
       generated by rt@??? ------


Could not send mail :( Bad file descriptor at /usr/local/rt/lib/rt/support/mail.pm line 122.

The exim mainlog file say's:
2002-01-21 15:29:59 16SgOV-00056Q-00 ** |/usr/local/rt/bin/rt-mailgate --queue general --action = correspond <rt@???> D=system_aliases T=address_pipe: Child process of address_pipe transport returned 9 from command: /usr/local/rt/bin/rt-mailgate
2002-01-21 15:29:59 16SgOV-00056X-00 <= <> R=16SgOV-00056Q-00 U=exim P=local S=6144
2002-01-21 15:29:59 16SgOV-00056Q-00 Error message sent to slm@???

Two of us have been trawling through the Exim site and RT to try and get a resolution, several different transport directors have been put in the Exim configure file, ( the current one we are trying was from the RT website ), of which the latest is:

##############
Transport Config#
##############

# my rt hack
local_delivery_rt:
driver = pipe
command = "/usr/local/rt/bin/rt-mailgate --queue ${quote:$local_part} --action ${quote:${substr_1:$local_part_suffix}}"
prefix = ""
suffix = ""

##############
Directors Config #
##############

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


The alias file we are using is descibed in system_aliases: as
file = /usr/local/exim/virtual/source/aliases.rt-domain    rather than /etc/aliases


RT is run as a user and group of rt with Exim running as exim

Regards
dw@???





--