Rt-mailgate problems

Im using pgsql alias map with postfix and I doesnt execute that
rt-mailgate command when a mail arrives to that alias.

How can I make it working using pgsql alias map ?

Here goes the sql data.

  address       |                                             

goto | domain
| created | modified | active

rt@ibep.net | |/usr/local/rt3/bin/rt-mailgate --queue general
–action correspond --url http://localhost/ | ibep.net | 2005-01-04
11:42:57.176243-02 | 2005-01-04 11:42:57.176243-02 | t
rt-comment@ibep.net | “|/usr/local/rt3/bin/rt-mailgate --queue general
–action correspond --url http://localhost/” | ibep.net | 2005-01-04
11:42:57.176243-02 | 2005-01-04 11:42:57.176243-02 | t

Regards,

[]'s
Luiz Henrique Ozaki luiz@eaprender.com.br

Hi All,

I have had quite a lot of trouble getting rt-mailgate to work properly.
I have looked through the archives for someone who has had a similar
problem, but could not find anyone. Any help/pointers would be
appreciated.

I am running RT 3.0.2. It was fairly easy to get the web interface up
and running
(documentation could be a bit clearer though!).

rt-mailgate has been a bit more challenging. Not being a sendmail
expert,
it took me a while to work out that I needed to add rt-mailgate to my
smrsh
directory. But that is done. Now I can send messages to "rt@localhost"
and
my mail doesn’t bounce, so it looks like it is getting piped into
rt-mailgate.

However, when I check the web interface, there is no ticket in my
"general"
queue. When I try to cat a mail file directly into rt-mailgate I get
the following error:

cat /tmp/m | rt-mailgate --queue general --action correspond --url
http://constitution/
An Error Occurred

404 Not Found
[root@constitution root]#

I have tried variations on the URL, but to no avail.

Any help appreciated. I am trying to get this working so that I can
demo to my
group as a way to save time. T

Thanks,

David.

Hi All,

I have had quite a lot of trouble getting rt-mailgate to work properly.
I have looked through the archives for someone who has had a similar
problem, but could not find anyone. Any help/pointers would be
appreciated.

I am running RT 3.0.2. It was fairly easy to get the web interface up
and running
(documentation could be a bit clearer though!).

Are you referring to the README or the PDF manual available from
http://www.bestpractical.com ?

rt-mailgate has been a bit more challenging. Not being a sendmail expert,
it took me a while to work out that I needed to add rt-mailgate to my smrsh
directory. But that is done. Now I can send messages to “rt@localhost” and
my mail doesn’t bounce, so it looks like it is getting piped into rt-mailgate.

However, when I check the web interface, there is no ticket in my "general"
queue. When I try to cat a mail file directly into rt-mailgate I get
the following error:

cat /tmp/m | rt-mailgate --queue general --action correspond --url
http://constitution/
An Error Occurred

404 Not Found
[root@constitution root]#

From that same shell prompt, what happens if you go to
http://constitution/ ?
The URL you put there needs to be something your server is configured to
respond to with RT’s web interface.

-j

http://www.bestpractical.com/rt – Trouble Ticketing. Free.

Hi Jesse,

Thanks for getting back to me. I was actually following the PDF manual
step-by-step.
The rt-mailgate command I used was directly out of the manual. I tried
using
http://localhost as the URL as well as the full path to REST/NoAuth…

I am sure it is a very simple configuration issue, but I could not find
anywhere
that explained exactly what I am missing. I have tried reading the
code, but
have not had too much luck so far.

Thanks,

David.On Wednesday, Jun 11, 2003, at 16:52 US/Eastern, Jesse Vincent wrote:

On Wed, Jun 11, 2003 at 04:45:34PM -0400, David Lapsley wrote:

Hi All,

I have had quite a lot of trouble getting rt-mailgate to work
properly.
I have looked through the archives for someone who has had a similar
problem, but could not find anyone. Any help/pointers would be
appreciated.

I am running RT 3.0.2. It was fairly easy to get the web interface up
and running
(documentation could be a bit clearer though!).

Are you referring to the README or the PDF manual available from
http://www.bestpractical.com ?

rt-mailgate has been a bit more challenging. Not being a sendmail
expert,
it took me a while to work out that I needed to add rt-mailgate to my
smrsh
directory. But that is done. Now I can send messages to
"rt@localhost" and
my mail doesn’t bounce, so it looks like it is getting piped into
rt-mailgate.

However, when I check the web interface, there is no ticket in my
"general"
queue. When I try to cat a mail file directly into rt-mailgate I get
the following error:

cat /tmp/m | rt-mailgate --queue general --action correspond --url
http://constitution/
An Error Occurred

404 Not Found
[root@constitution root]#

From that same shell prompt, what happens if you go to
http://constitution/ ?
The URL you put there needs to be something your server is configured
to
respond to with RT’s web interface.

-j


http://www.bestpractical.com/rt – Trouble Ticketing. Free.

I am trying to install RT 3.0.2. All my modules are installed except this
one Time:Hires. I tried to compile 2 different version 1.47 and 1.48 with
the same result:

perl Makefile.PL

Configuring Time::HiRes…
Checking for libraries…
Checking for -lposix4… NOT found.
You have no applicable extra libraries.
Looking for gettimeofday()… found.
Looking for setitimer()… found.
Looking for getitimer()… found.
You have interval timers (both setitimer and setitimer).
Looking for ualarm()… found.
Looking for usleep()… found.
Looking for nanosleep()… found.
You can mix subsecond sleeps with signals.
Checking if your kit is complete…
Looks good
Writing Makefile for Time::HiRes
Now you may issue ‘make’. Do not forget also ‘make test’.

make

Makefile:91: *** missing separator. Stop.

I looked at he Make file and there is weird things:

installhtml1dir=’‘
installhtml3dir=’‘
installman1 —> Line 91
INSTALLSITEBIN = /usr
INSTALLVENDORBIN = /usr/bin’ —> one of the missing quotes ?

I am using Perl 8.0 On RH Linux 8

Any Idea?

Thanks,

Pierre

I have had problems like that when building the perl makefiles because of my LANG setting. It comes defaulted (for me) to
LANG=en_US.UTF-8.
If I change it to
LANG=en_US
then I don’t get that problem.

I wish I understood the reason for this, but this seems to work so I ‘just do it’!

I have to change it back to run ‘make menuconfig’ for kernel compiling or the ‘menuconfig’ doesn’t display correctly. So I have them both in my ~/.bash_profile and I go back and forth, back and forth… :o(

And you probably mean Perl 5.8.0, right?

Gregory L. Hering
(256) 722-6420
4807 Bradford Dr
Benchmark Electronics, Inc.
Hunvtsville, Al 35805-----Original Message-----
From: Pierre Carette [mailto:pierre@global-village.net]
Sent: Wednesday, June 11, 2003 5:10 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] RT 3.0.2 installation problem with Time:Hires

I am trying to install RT 3.0.2. All my modules are installed except this
one Time:Hires. I tried to compile 2 different version 1.47 and 1.48 with
the same result:

perl Makefile.PL

Configuring Time::HiRes…
Checking for libraries…
Checking for -lposix4… NOT found.
You have no applicable extra libraries.
Looking for gettimeofday()… found.
Looking for setitimer()… found.
Looking for getitimer()… found.
You have interval timers (both setitimer and setitimer).
Looking for ualarm()… found.
Looking for usleep()… found.
Looking for nanosleep()… found.
You can mix subsecond sleeps with signals.
Checking if your kit is complete…
Looks good
Writing Makefile for Time::HiRes
Now you may issue ‘make’. Do not forget also ‘make test’.

make

Makefile:91: *** missing separator. Stop.

I looked at he Make file and there is weird things:

installhtml1dir=’‘
installhtml3dir=’‘
installman1 —> Line 91
INSTALLSITEBIN = /usr
INSTALLVENDORBIN = /usr/bin’ —> one of the missing quotes ?

I am using Perl 8.0 On RH Linux 8

Any Idea?

Thanks,

Pierre

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

Yes Perl 5.8.0. It is working now.

Thanks for your help,

Pierre-----Original Message-----
From: Greg.Hering@bench.com [mailto:Greg.Hering@bench.com]
Sent: Thursday, June 12, 2003 7:16 AM
To: pierre@global-village.net
Subject: RE: [rt-users] RT 3.0.2 installation problem with Time:Hires

I have had problems like that when building the perl makefiles because of my
LANG setting.
It comes defaulted (for me) to
LANG=en_US.UTF-8.
If I change it to
LANG=en_US
then I don’t get that problem.

I wish I understood the reason for this, but this seems to work so I ‘just
do it’!

I have to change it back to run ‘make menuconfig’ for kernel compiling or
the ‘menuconfig’ doesn’t display correctly. So I have them both in my
~/.bash_profile and I go back and forth, back and forth… :o(

And you probably mean Perl 5.8.0, right?

Gregory L. Hering
(256) 722-6420
4807 Bradford Dr
Benchmark Electronics, Inc.
Hunvtsville, Al 35805

-----Original Message-----
From: Pierre Carette [mailto:pierre@global-village.net]
Sent: Wednesday, June 11, 2003 5:10 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] RT 3.0.2 installation problem with Time:Hires

I am trying to install RT 3.0.2. All my modules are installed except this
one Time:Hires. I tried to compile 2 different version 1.47 and 1.48 with
the same result:

perl Makefile.PL

Configuring Time::HiRes…
Checking for libraries…
Checking for -lposix4… NOT found.
You have no applicable extra libraries.
Looking for gettimeofday()… found.
Looking for setitimer()… found.
Looking for getitimer()… found.
You have interval timers (both setitimer and setitimer).
Looking for ualarm()… found.
Looking for usleep()… found.
Looking for nanosleep()… found.
You can mix subsecond sleeps with signals.
Checking if your kit is complete…
Looks good
Writing Makefile for Time::HiRes
Now you may issue ‘make’. Do not forget also ‘make test’.

make

Makefile:91: *** missing separator. Stop.

I looked at he Make file and there is weird things:

installhtml1dir=’‘
installhtml3dir=’‘
installman1 —> Line 91
INSTALLSITEBIN = /usr
INSTALLVENDORBIN = /usr/bin’ —> one of the missing quotes ?

I am using Perl 8.0 On RH Linux 8

Any Idea?

Thanks,

Pierre

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

/I’m running a box with the following:-
Redhat linux 9.0
RT 3.0.9
mysql 5.0.0
perl 5.8.0
apache 1.3.29
modperl 1

//I have setup rt 3.0.9 and it’s up and running. if I create a ticket
via the web interface i get an automatic responds with a ticket number
but what i can’t get is the reply that i send to rt using the same
address and queue number or tickets that I created via email.

i have read through the installation manual and did excatly what they
said but i can’t get this thing . my aliases are the same as in the
manual (April 13 2003)

/

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net

Phillip Leremi wrote:

/I’m running a box with the following:-
Redhat linux 9.0
RT 3.0.9
mysql 5.0.0
perl 5.8.0
apache 1.3.29
modperl 1

//I have setup rt 3.0.9 and it’s up and running. if I create a ticket
via the web interface i get an automatic responds with a ticket number
but what i can’t get is the reply that i send to rt using the same
address and queue number or tickets that I created via email.
Can you create ticket via email?
If yes, then you should configure rights.
no, then you should add ‘–debug’ option to alias and analize mail log.
May be send us a pease of it.
Best regards. Ruslan.

i can’t create ticket via email, I have done aliases in /etc/aliases and
i did smrch, i have tryed to debug but the log is empty.

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

/I’m running a box with the following:-
Redhat linux 9.0
RT 3.0.9
mysql 5.0.0
perl 5.8.0
apache 1.3.29
modperl 1

//I have setup rt 3.0.9 and it’s up and running. if I create a ticket
via the web interface i get an automatic responds with a ticket
number but what i can’t get is the reply that i send to rt using the
same address and queue number or tickets that I created via email.

Can you create ticket via email?
If yes, then you should configure rights.
no, then you should add ‘–debug’ option to alias and analize mail
log. May be send us a pease of it.
Best regards. Ruslan.

i have read through the installation manual and did excatly what they
said but i can’t get this thing . my aliases are the same as in the
manual (April 13 2003)

/


Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net



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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net

Phillip Leremi wrote:

i can’t create ticket via email, I have done aliases in /etc/aliases and
i did smrch, i have tryed to debug but the log is empty.
Did you run newaliases?
maillog empty?

i can’t create ticket via email, I have done aliases in /etc/aliases
and i did smrch, i have tryed to debug but the log is empty.

At least the first several steps are covered group. Could you include
your MTA logs? Have you tried running the mailgate from the command
line?

seph

yes i did run newaliases and now mailog has something which show the
mailog results

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

i can’t create ticket via email, I have done aliases in /etc/aliases
and i did smrch, i have tryed to debug but the log is empty.

Did you run newaliases?
maillog empty?

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

/I’m running a box with the following:-
Redhat linux 9.0
RT 3.0.9
mysql 5.0.0
perl 5.8.0
apache 1.3.29
modperl 1

//I have setup rt 3.0.9 and it’s up and running. if I create a
ticket via the web interface i get an automatic responds with a
ticket number but what i can’t get is the reply that i send to rt
using the same address and queue number or tickets that I created
via email.

Can you create ticket via email?
If yes, then you should configure rights.
no, then you should add ‘–debug’ option to alias and analize mail
log. May be send us a pease of it.
Best regards. Ruslan.

i have read through the installation manual and did excatly what
they said but i can’t get this thing . my aliases are the same as
in the manual (April 13 2003)

/


Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net



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

Have you read the FAQ? The RT FAQ Manager lives at
http://fsck.com/rtfm

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net

Phillip Leremi wrote:

yes i did run newaliases and now mailog has something which show the
mailog results

And?

seph wrote:

i can’t create ticket via email, I have done aliases in /etc/aliases
and i did smrch, i have tryed to debug but the log is empty.

At least the first several steps are covered group. Could you include
your MTA logs?

yes here it is:
Mar 25 16:36:31 phillip sendmail[17164]: user 500 attempted to rebuild
the alias map
Mar 25 16:36:36 phillip sendmail[17166]: alias database /etc/aliases
rebuilt by root
Mar 25 16:36:36 phillip sendmail[17166]: /etc/aliases: 67 aliases,
longest 194 bytes, 1412 bytes total
Mar 25 16:36:48 phillip sendmail[17197]: i2PEamcD017197:
from=<darren@ReportStar.net mailto:darren@ReportStar.net>, size=1829,
class=0, nrcpts=1, msgid=<013b01c41278$f4ca9870$1500a8c0@reportstar
mailto:013b01c41278$f4ca9870$1500a8c0@reportstar>, proto=ESMTP,
daemon=MTA, relay=phillip [127.0.0.1]
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197:
to="/opt/rt3/bin/rt-mailgate --queue support --action correspond --url
http://192.168.0.104/" rt-comment :"/opt/rt3/bin/rt-mailgate --queue
support --action comment --url http://192.168.0.104/",
ctladdr=<rt@localhost mailto:rt@localhost> (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=32001, dsn=5.0.0, stat=Can’t create
output
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197: i2PEamcD017198:
DSN: Can’t create output
Mar 25 16:36:50 phillip sendmail[17198]: i2PEamcD017198:
to=<darren@ReportStar.net mailto:darren@ReportStar.net>,
delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=33025,
relay=fw.reportstar.net. [196.22.194.226], dsn=2.0.0, stat=Sent (Ok:
queued as 54D381251E7)
Mar 26 04:02:04 phillip sendmail[17521]: i2Q224M2017521: from=root,
size=2397, class=0, nrcpts=1,
msgid=<200403260202.i2Q224M2017521@phillip.reportstar.net
mailto:200403260202.i2Q224M2017521@phillip.reportstar.net>,
relay=root@localhost mailto:relay=root@localhost
Mar 26 04:02:04 phillip sendmail[17524]: i2Q224cD017524:
from=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net>,
size=2707, class=0, nrcpts=1,
msgid=<200403260202.i2Q224M2017521@phillip.reportstar.net
mailto:200403260202.i2Q224M2017521@phillip.reportstar.net>,
proto=ESMTP, daemon=MTA, relay=phillip [127.0.0.1]
Mar 26 04:02:04 phillip sendmail[17521]: i2Q224M2017521: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30055, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(i2Q224cD017524 Message accepted for delivery)
Mar 26 04:02:04 phillip sendmail[17525]: i2Q224cD017524:
to=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net>,
ctladdr=<root@phillip.reportstar.net
mailto:root@phillip.reportstar.net> (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=32933, dsn=2.0.0, stat=Sent
Mar 26 11:33:10 phillip sendmail[18522]: alias database /etc/aliases
rebuilt by root
Mar 26 11:33:10 phillip sendmail[18522]: /etc/aliases: 67 aliases,
longest 194 bytes, 1412 bytes total

Have you tried running the mailgate from the command
line?

no i haven’t ?

seph

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

yes i did run newaliases and now mailog has something which show the
mailog results

And?

this is what i get from maillog
Mar 25 16:36:31 phillip sendmail[17164]: user 500 attempted to rebuild
the alias map
Mar 25 16:36:36 phillip sendmail[17166]: alias database /etc/aliases
rebuilt by root
Mar 25 16:36:36 phillip sendmail[17166]: /etc/aliases: 67 aliases,
longest 194 bytes, 1412 bytes total
Mar 25 16:36:48 phillip sendmail[17197]: i2PEamcD017197:
from=<darren@ReportStar.net mailto:darren@ReportStar.net>, size=1829,
class=0, nrcpts=1, msgid=<013b01c41278$f4ca9870$1500a8c0@reportstar
mailto:013b01c41278$f4ca9870$1500a8c0@reportstar>, proto=ESMTP,
daemon=MTA, relay=phillip [127.0.0.1]
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197:
to="/opt/rt3/bin/rt-mailgate --queue support --action correspond --url
http://192.168.0.104/" rt-comment :"/opt/rt3/bin/rt-mailgate --queue
support --action comment --url http://192.168.0.104/",
ctladdr=<rt@localhost mailto:rt@localhost> (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=32001, dsn=5.0.0, stat=Can’t create
output
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197: i2PEamcD017198:
DSN: Can’t create output
Mar 25 16:36:50 phillip sendmail[17198]: i2PEamcD017198:
to=<darren@ReportStar.net mailto:darren@ReportStar.net>,
delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=33025,
relay=fw.reportstar.net. [196.22.194.226], dsn=2.0.0, stat=Sent (Ok:
queued as 54D381251E7)
Mar 26 04:02:04 phillip sendmail[17521]: i2Q224M2017521: from=root,
size=2397, class=0, nrcpts=1,
msgid=<200403260202.i2Q224M2017521@phillip.reportstar.net
mailto:200403260202.i2Q224M2017521@phillip.reportstar.net>,
relay=root@localhost mailto:relay=root@localhost
Mar 26 04:02:04 phillip sendmail[17524]: i2Q224cD017524:
from=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net>,
size=2707, class=0, nrcpts=1,
msgid=<200403260202.i2Q224M2017521@phillip.reportstar.net
mailto:200403260202.i2Q224M2017521@phillip.reportstar.net>,
proto=ESMTP, daemon=MTA, relay=phillip [127.0.0.1]
Mar 26 04:02:04 phillip sendmail[17521]: i2Q224M2017521: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30055, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(i2Q224cD017524 Message accepted for delivery)
Mar 26 04:02:04 phillip sendmail[17525]: i2Q224cD017524:
to=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net>,
ctladdr=<root@phillip.reportstar.net
mailto:root@phillip.reportstar.net> (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=local, pri=32933, dsn=2.0.0, stat=Sent
Mar 26 11:33:10 phillip sendmail[18522]: alias database /etc/aliases
rebuilt by root
Mar 26 11:33:10 phillip sendmail[18522]: /etc/aliases: 67 aliases,
longest 194 bytes, 1412 bytes total

and still i can’t create a ticket through email

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

i can’t create ticket via email, I have done aliases in
/etc/aliases and i did smrch, i have tryed to debug but the log is
empty.

Did you run newaliases?
maillog empty?

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net

Phillip Leremi wrote:

seph wrote:

i can’t create ticket via email, I have done aliases in /etc/aliases
and i did smrch, i have tryed to debug but the log is empty.

At least the first several steps are covered group. Could you include
your MTA logs?

yes here it is:
Mar 25 16:36:31 phillip sendmail[17164]: user 500 attempted to rebuild
the alias map
Mar 25 16:36:36 phillip sendmail[17166]: alias database /etc/aliases
rebuilt by root
Mar 25 16:36:36 phillip sendmail[17166]: /etc/aliases: 67 aliases,
longest 194 bytes, 1412 bytes total
Mar 25 16:36:48 phillip sendmail[17197]: i2PEamcD017197:
from=<darren@ReportStar.net mailto:darren@ReportStar.net>, size=1829,
class=0, nrcpts=1, msgid=<013b01c41278$f4ca9870$1500a8c0@reportstar
mailto:013b01c41278$f4ca9870$1500a8c0@reportstar>, proto=ESMTP,
daemon=MTA, relay=phillip [127.0.0.1]
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197:
to="/opt/rt3/bin/rt-mailgate --queue support --action correspond --url
http://192.168.0.104/" rt-comment :"/opt/rt3/bin/rt-mailgate --queue
support --action comment --url http://192.168.0.104/",
ctladdr=<rt@localhost mailto:rt@localhost> (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=32001, dsn=5.0.0, stat=Can’t create
output

Error: Can’t create output

You have wrong aliases. “rt-comment :”/op…" it’s another aliase no
same as “rt”. You should have two strings in aliases one for rt and one
for rt-comment.

Also you could add ‘–debug’ option of rt-mailgate.

There appears to be a pipe symbol “|” missing from the start of the alias
definition so sendmail is trying to output the mail to a file called
/opt/rt3/bin/mailgate rather than piping it to the program.-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Phillip
Leremi
Sent: 26 March 2004 09:35
To: rt-users@lists.fsck.com
Cc: rt-users@lists.bestpractical.com; Ruslan U. Zakirov
Subject: [rt-users] Re: rt-mailgate problems

seph wrote:

i can’t create ticket via email, I have done aliases in /etc/aliases

and i did smrch, i have tryed to debug but the log is empty.

At least the first several steps are covered group. Could you include

your MTA logs?

yes here it is:
Mar 25 16:36:31 phillip sendmail[17164]: user 500 attempted to rebuild the
alias map
Mar 25 16:36:36 phillip sendmail[17166]: alias database /etc/aliases rebuilt
by root
Mar 25 16:36:36 phillip sendmail[17166]: /etc/aliases: 67 aliases, longest
194 bytes, 1412 bytes total
Mar 25 16:36:48 phillip sendmail[17197]: i2PEamcD017197:
from=<darren@ReportStar.net mailto:darren@ReportStar.net >, size=1829,
class=0, nrcpts=1, msgid=<013b01c41278$f4ca9870$1500a8c0@reportstar
mailto:013b01c41278$f4ca9870$1500a8c0@reportstar >, proto=ESMTP,
daemon=MTA, relay=phillip [127.0.0.1]
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197:
to="/opt/rt3/bin/rt-mailgate --queue support --action correspond --url
http://192.168.0.104/ http://192.168.0.104/ " rt-comment
:"/opt/rt3/bin/rt-mailgate --queue support --action comment --url
http://192.168.0.104/ http://192.168.0.104/ ", ctladdr=<rt@localhost
mailto:rt@localhost > (8/0), delay=00:00:00, xdelay=00:00:00,
mailer=file, pri=32001, dsn=5.0.0, stat=Can’t create output
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197: i2PEamcD017198:
DSN: Can’t create output
Mar 25 16:36:50 phillip sendmail[17198]: i2PEamcD017198:
to=<darren@ReportStar.net mailto:darren@ReportStar.net >, delay=00:00:02,
xdelay=00:00:02, mailer=esmtp, pri=33025, relay=fw.reportstar.net
http://relay=fw.reportstar.net . [196.22.194.226], dsn=2.0.0, stat=Sent
(Ok: queued as 54D381251E7)
Mar 26 04:02:04 phillip sendmail[17521]: i2Q224M2017521: from=root,
size=2397, class=0, nrcpts=1,
msgid=<200403260202.i2Q224M2017521@phillip.reportstar.net
mailto:200403260202.i2Q224M2017521@phillip.reportstar.net >,
relay=root@localhost mailto:relay=root@localhost
Mar 26 04:02:04 phillip sendmail[17524]: i2Q224cD017524:
from=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net >,
size=2707, class=0, nrcpts=1,
msgid=<200403260202.i2Q224M2017521@phillip.reportstar.net
mailto:200403260202.i2Q224M2017521@phillip.reportstar.net >, proto=ESMTP,
daemon=MTA, relay=phillip [127.0.0.1]
Mar 26 04:02:04 phillip sendmail[17521]: i2Q224M2017521: to=root,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=30055, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(i2Q224cD017524 Message accepted for delivery)
Mar 26 04:02:04 phillip sendmail[17525]: i2Q224cD017524:
to=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net >,
ctladdr=<root@phillip.reportstar.net mailto:root@phillip.reportstar.net >
(0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32933, dsn=2.0.0,
stat=Sent
Mar 26 11:33:10 phillip sendmail[18522]: alias database /etc/aliases rebuilt
by root
Mar 26 11:33:10 phillip sendmail[18522]: /etc/aliases: 67 aliases, longest
194 bytes, 1412 bytes total

Have you tried running the mailgate from the command

line?

no i haven’t ?

seph

Kind Regards,

Phillip

Phillip Leremi

Tel: 011 884 7633

Fax: 011 883 5805

phillip@reportstar.net mailto:phillip@reportstar.net

www.reportstar.net http://www.reportstar.net

Ruslan U. Zakirov wrote:

Phillip Leremi wrote:

seph wrote:

i can’t create ticket via email, I have done aliases in /etc/aliases
and i did smrch, i have tryed to debug but the log is empty.

At least the first several steps are covered group. Could you include
your MTA logs?

yes here it is:
Mar 25 16:36:31 phillip sendmail[17164]: user 500 attempted to
rebuild the alias map
Mar 25 16:36:36 phillip sendmail[17166]: alias database /etc/aliases
rebuilt by root
Mar 25 16:36:36 phillip sendmail[17166]: /etc/aliases: 67 aliases,
longest 194 bytes, 1412 bytes total
Mar 25 16:36:48 phillip sendmail[17197]: i2PEamcD017197:
from=<darren@ReportStar.net mailto:darren@ReportStar.net>,
size=1829, class=0, nrcpts=1,
msgid=<013b01c41278$f4ca9870$1500a8c0@reportstar
mailto:013b01c41278$f4ca9870$1500a8c0@reportstar>, proto=ESMTP,
daemon=MTA, relay=phillip [127.0.0.1]
Mar 25 16:36:48 phillip sendmail[17198]: i2PEamcD017197:
to="/opt/rt3/bin/rt-mailgate --queue support --action correspond
–url http://192.168.0.104/" rt-comment :"/opt/rt3/bin/rt-mailgate
–queue support --action comment --url http://192.168.0.104/",
ctladdr=<rt@localhost mailto:rt@localhost> (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=file, pri=32001, dsn=5.0.0, stat=Can’t
create output

Error: Can’t create output

You have wrong aliases. “rt-comment :”/op…" it’s another aliase no
same as “rt”. You should have two strings in aliases one for rt and
one for rt-comment.

i have two strings in aliases for rt on one line. is this ok?
cause it said in the manual that there should all be on 1 line and i
further have two strings each for support,hardware,server and netwoking

Also you could add ‘–debug’ option of rt-mailgate.

Kind Regards,
Phillip
Phillip Leremi
Tel: 011 884 7633
Fax: 011 883 5805
phillip@reportstar.net
www.reportstar.net

At least the first several steps are covered group. Could you include
your MTA logs?

to="/opt/rt3/bin/rt-mailgate --queue support --action correspond --url
http://192.168.0.104/" rt-comment :"/opt/rt3/bin/rt-mailgate --queue
support --action comment --url http://192.168.0.104/",

Does your alias line have a pipe, what is it?

Have you tried running the mailgate from the command
line?

no i haven’t ?

well, then why do you think it’s an rt problem and not just a
misconfigured MTA?

seph