Problems with mailgateway

I have some problems with the mailgateway and I have not been able to
find a solution in the archived mailinglists.

I have configured RequestTracker and the CLI and Web-interface works well,
but the mailgateway won’t work. Here are some details:

In /etc/aliases I have the following lines:

Aliases for RequestTracker

rt: |“/home/disk05/rt/bin/rt-mailgate general correspond”
rt-action: |“/home/disk05/rt/bin/rt-mailgate general action”

The user ‘rt’ exists and owns all files in /home/disk05/rt.

I use ‘postfix’ as MTA and whenever I try to send mail to user ‘rt’ I get
the following error in my syslog:

Mar 3 16:09:29 ra local[23956]: fatal: execvp
/home/disk05/rt/bin/rt-mailgate: Permission denied

Mar 3 16:09:30 ra postfix/local[23955]: E1D75381C2: to=rt@ra.e-lab.dk,
relay=local, delay=2, status=bounced (Com mand died with status 1:
“/home/disk05/rt/bin/rt-mailgate general correspond”)

The permissions on ‘suidwrapper’ are:

-rwsr-xr-x 3 rt rt 7740 Mar 2 14:55 suid_wrapper

which should allow for any user to submit new requests.

If you could give me a hint, or possibly mail me your configuration so I
can compare.

Jesper Holm Olsen, Department of Computer Science and Department of
Film and Media studies, University of Copenhagen
Email: dunkel@diku.dk * Homepage: http://www.diku.dk/students/dunkel

Well, I’m also running RT with postfix. and it works great.
Make sure that the user postfix is running as can actually get to rt/bin.

JesseOn Fri, Mar 03, 2000 at 04:22:23PM +0100, Jesper Holm Olsen wrote:

I have some problems with the mailgateway and I have not been able to
find a solution in the archived mailinglists.

I have configured RequestTracker and the CLI and Web-interface works well,
but the mailgateway won’t work. Here are some details:

In /etc/aliases I have the following lines:

Aliases for RequestTracker

rt: |“/home/disk05/rt/bin/rt-mailgate general correspond”
rt-action: |“/home/disk05/rt/bin/rt-mailgate general action”

The user ‘rt’ exists and owns all files in /home/disk05/rt.

I use ‘postfix’ as MTA and whenever I try to send mail to user ‘rt’ I get
the following error in my syslog:


Mar 3 16:09:29 ra local[23956]: fatal: execvp
/home/disk05/rt/bin/rt-mailgate: Permission denied

Mar 3 16:09:30 ra postfix/local[23955]: E1D75381C2: to=rt@ra.e-lab.dk,
relay=local, delay=2, status=bounced (Com mand died with status 1:
“/home/disk05/rt/bin/rt-mailgate general correspond”)

The permissions on ‘suidwrapper’ are:

-rwsr-xr-x 3 rt rt 7740 Mar 2 14:55 suid_wrapper

which should allow for any user to submit new requests.

If you could give me a hint, or possibly mail me your configuration so I
can compare.


Jesper Holm Olsen, Department of Computer Science and Department of
Film and Media studies, University of Copenhagen
Email: dunkel@diku.dk * Homepage: http://www.diku.dk/students/dunkel


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

jesse reed vincent – jrvincent@wesleyan.edu – jesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
I’m reasonably sure that at least two of the electric blue kangeroos
I saw were real.

Well, I’m also running RT with postfix. and it works great.
Make sure that the user postfix is running as can actually get to rt/bin.

Ok. I set the global execute bit on the /rt/bin dir and now I can
recieve mail :slight_smile:

Unfortunatly I cannot send mail (unless its adressed to the local
server). When I watch the syslog it seems like postfix never gets invoked,
if the email adress is something other than the local servers domain.

How have you set up the mailconfiguration in /rt/etc/config.pm?

Jesper Holm Olsen, Department of Computer Science and Department of
Film and Media studies, University of Copenhagen
Email: dunkel@diku.dk * Homepage: http://www.diku.dk/students/dunkel

Hi All,
I’m new to the list and would like to ask the following ( I would
look through the arichieves but it seems the search is broken). Anwyay has
anyone devoloped/implemented a way of saving the queue filter criteria
between sessions. I have half implemented one that works but is based on
files stored on the server and there are bugs/the code is a mess. Has
anyone managed to implement it in cookies or similar. TIA

Rus

#set this to whatever program you want to send the mail that RT generates
#be aware, however, that RT expects to be able to set the From: line
#with sendmail’s command line syntax
$mailprog = “/usr/sbin/sendmail”;
$mail_options = "-oi -t ";On Mon, Mar 06, 2000 at 04:06:36PM +0100, Jesper Holm Olsen wrote:

On Fri, 3 Mar 2000, Jesse wrote:

Well, I’m also running RT with postfix. and it works great.
Make sure that the user postfix is running as can actually get to rt/bin.

Ok. I set the global execute bit on the /rt/bin dir and now I can
recieve mail :slight_smile:

Unfortunatly I cannot send mail (unless its adressed to the local
server). When I watch the syslog it seems like postfix never gets invoked,
if the email adress is something other than the local servers domain.

How have you set up the mailconfiguration in /rt/etc/config.pm?


Jesper Holm Olsen, Department of Computer Science and Department of
Film and Media studies, University of Copenhagen
Email: dunkel@diku.dk * Homepage: http://www.diku.dk/students/dunkel

jesse reed vincent – jrvincent@wesleyan.edu – jesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
Gur SOV jnagf gb znxr guvf fvt vyyrtny.

Ok. I found the error. Postfix’ replacement copy of sendmail had been
overwritten by a Solaris update patch, so I was invoking the original
sendmail :expressionless:

BUT all my problems are still not solved! If I choose ‘reply’ to an entry,
the ‘TO’ field is set to the requester as it should. If I choose ‘send
response’, it seems (from the syslog) that ‘sendmail’ never gets invoked.
If I however fill out the ‘CC’ field (with the same adress as in the ‘TO’
field), ‘sendmail’ gets called and sends the message ok.

Could it be a bug in rt?On Mon, 6 Mar 2000, Jesse wrote:

#set this to whatever program you want to send the mail that RT generates
#be aware, however, that RT expects to be able to set the From: line
#with sendmail's command line syntax
$mailprog = "/usr/sbin/sendmail";
$mail_options = "-oi -t ";

On Mon, Mar 06, 2000 at 04:06:36PM +0100, Jesper Holm Olsen wrote:

On Fri, 3 Mar 2000, Jesse wrote:

Well, I’m also running RT with postfix. and it works great.
Make sure that the user postfix is running as can actually get to rt/bin.

Ok. I set the global execute bit on the /rt/bin dir and now I can
recieve mail :slight_smile:

Unfortunatly I cannot send mail (unless its adressed to the local
server). When I watch the syslog it seems like postfix never gets invoked,
if the email adress is something other than the local servers domain.

How have you set up the mailconfiguration in /rt/etc/config.pm?

Jesper Holm Olsen, Department of Computer Science and Department of
Film and Media studies, University of Copenhagen
Email: dunkel@diku.dk * Homepage: http://www.diku.dk/students/dunkel

RT is smart enough not to send mail to the requestor if the requestor is
also the person who sent the message.On Tue, Mar 07, 2000 at 04:24:50PM +0100, Jesper Holm Olsen wrote:

Ok. I found the error. Postfix’ replacement copy of sendmail had been
overwritten by a Solaris update patch, so I was invoking the original
sendmail :expressionless:

BUT all my problems are still not solved! If I choose ‘reply’ to an entry,
the ‘TO’ field is set to the requester as it should. If I choose ‘send
response’, it seems (from the syslog) that ‘sendmail’ never gets invoked.
If I however fill out the ‘CC’ field (with the same adress as in the ‘TO’
field), ‘sendmail’ gets called and sends the message ok.

Could it be a bug in rt?

On Mon, 6 Mar 2000, Jesse wrote:

#set this to whatever program you want to send the mail that RT generates
#be aware, however, that RT expects to be able to set the From: line
#with sendmail's command line syntax
$mailprog = "/usr/sbin/sendmail";
$mail_options = "-oi -t ";

On Mon, Mar 06, 2000 at 04:06:36PM +0100, Jesper Holm Olsen wrote:

On Fri, 3 Mar 2000, Jesse wrote:

Well, I’m also running RT with postfix. and it works great.
Make sure that the user postfix is running as can actually get to rt/bin.

Ok. I set the global execute bit on the /rt/bin dir and now I can
recieve mail :slight_smile:

Unfortunatly I cannot send mail (unless its adressed to the local
server). When I watch the syslog it seems like postfix never gets invoked,
if the email adress is something other than the local servers domain.

How have you set up the mailconfiguration in /rt/etc/config.pm?


Jesper Holm Olsen, Department of Computer Science and Department of
Film and Media studies, University of Copenhagen
Email: dunkel@diku.dk * Homepage: http://www.diku.dk/students/dunkel


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

jesse reed vincent – jrvincent@wesleyan.edu – jesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
Transporters are so ungodly. if god had wanted us to travel great distances
instantaneously, he would have given us an internal
materialisation/dematerialisation control.
– Shoshe Cole