Problem with Mailgate from Newbie

Dear All,

I installed RT3.0.5 and now everything seems ok except that my mailgate
doesn’t work properly. I can create ticket from RT web interface, but no
mail can get into RT.
I have tested the mailgate by running it in command line, it runs prefectly
with ticket created.
So my aliases seems right.
What’s wrong with my RT or my mailgate? i’m using sendmail. I see the ticket
just store in the mail box but not delivered to RT, and i got no error
message. Can anyone help me with this? My question may be silly but i have
already sucked here for many days. And i have tried to search the list but
can’t find the exact answer. Thanks in advance.

Best Regards,
Ada Hui

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

Ada Hui wrote:

What’s wrong with my RT or my mailgate? i’m using sendmail. I see the
ticket just store in the mail box but not delivered to RT, and i got no
error message. Can anyone help me with this? My question may be silly but

What mailbox? What’s your aliases entry look like? Have you run
newaliases?
Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

Hi Everyone,
I using RT 3.0.6 on perl 5.8.0, apache 1.27 and postfix.
i configured as what has been told in INSTALL file. while i try to reply a
message to RT, the postfix cant recognize the rt as a virtual user.
Below is the error message from the postfix.

Nov 21 13:52:24 rt postfix/local[3616]: 42305C00C: to=rt@mycompany.com,
relay=local, delay=179397, status=deferred (SOFT BOUNCE - unknown user: “rt”)

my configuration for virtual and alias
rt-comment rt-comment
rtir rtir
rt rt

rt: "|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http:rt.mycompany.com/"
rt-comment: "|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://rt.mycompany.com/"
rtir: “|/opt/rt3/bin/rt-mailgate --queue ‘Incident Reports’
–action correspond --url http://rt.mycompany.com/

any idea why ?
Please help, thanks.
Regards,
hwahing

I’m using sendmail and the following are my aliases entries:

RT mail gateway

rt: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://rt.xxx.net/
"|/opt/rt3/bin/rt-mailgate --queue HKG RI-C --action
correspond --url http://rt.xxx.net/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://rt.xxx.net/
”|/opt/rt3/bin/rt-mailgate --queue HKG RI-C --action comment
–url http://rt.xxx.net/"

And i’m sure i have run newaliases command

The mail address of the general queue is rtadmin at rt.xxx.net
When i send mail to this address, the mail just store in the rtadmin’s
mailbox, not going into RT

But if i run the aliases command directly in terminal, it can create ticket
successfully

What is the problem with my config? What can i do to make it work? Please
help. Thanks a lot.

Best Regards,
Ada Hui

No masks required! Use MSN Messenger to chat with friends and family.
http://go.msnserver.com/HK/25382.asp

            "|/opt/rt3/bin/rt-mailgate --queue HKG RI-C --action 

correspond --url http://rt.xxx.net/"

First, you will want to quote 'HKG RI-C', but that shouldn't
affect the general queue.

Is there anything in the mail log?

-R

When i sent a message to rtadmin@rt.xxx.com, the address of the general
queue, i got the following maillog

44.0311241522190.31011-100000@rt.knric.net>, proto=ESMTP,
relay=root@localhost
Nov 24 15:23:17 rt sendmail[31016]: hAO7NG7T031016:
from=root@rt.knric.net, size=452, class=0, nrcpts=1,
msgid=Pine.LNX.4.44.0311241522190.31011-100000@rt.knric.net, proto=ESMTP,
daemon=MTA, relay=riclinux [127.0.0.1]
Nov 24 15:23:17 rt sendmail[31015]: hAO7NG1x031012:
to=rtadmin@rt.knric.net, ctladdr=root@rt.knric.net (0/0),
delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30259, relay=[127.0.0.1]
[127.0.0.1], dsn=2.0.0, stat=Sent (hAO7NG7T031016 Message accepted for
delivery)
Nov 24 15:23:17 rt sendmail[31017]: hAO7NG7T031016:
to=rtadmin@rt.knric.net, ctladdr=root@rt.knric.net (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30650, dsn=2.0.0,
stat=Sent

Please advise what is wrong. Thanks.

Best Regards,
Ada Hui

From: “Ada Hui” myqu@hotmail.com
To: pdh@snapgear.com, rt-users@lists.fsck.com
Subject: [rt-users]Problem with Mailgate from Newbie
Date: Mon, 24 Nov 2003 01:57:11 +0000

I’m using sendmail and the following are my aliases entries:

RT mail gateway

rt: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://rt.xxx.net/
"|/opt/rt3/bin/rt-mailgate --queue HKG RI-C --action
correspond --url http://rt.xxx.net/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://rt.xxx.net/
”|/opt/rt3/bin/rt-mailgate --queue HKG RI-C --action
comment --url http://rt.xxx.net/"

And i’m sure i have run newaliases command

The mail address of the general queue is rtadmin at rt.xxx.net
When i send mail to this address, the mail just store in the rtadmin’s
mailbox, not going into RT

But if i run the aliases command directly in terminal, it can create ticket
successfully

What is the problem with my config? What can i do to make it work? Please
help. Thanks a lot.

Best Regards,
Ada Hui

Is there a gadget-lover on your gift list? MSN Shopping has lined up some
good bets! http://shopping.msn.com

At Mon, 24 Nov 2003 07:31:58 +0000,
Ada Hui wrote:

When i sent a message to rtadmin@rt.xxx.com, the address of the general
queue, i got the following maillog

The alias entries you showed us earlier don’t have an entry for
rtadmin.

-R