RT-Postfix

anybody here using Postfix as a local delivery agent? Is there any specific
setting in the main.cf that I need to check. I have already setup the
aliases as shown in the “draft manual”.
I have gone through the “draft manual”, looked through the Perldoc writeup,
and searched online. Found nothing.
I am unable to get my mail gate way to work. When I turn on debugging and
look in my log, I get:

Oct 21 11:19:18 iwapps4 postfix/local[12828]: 550FB3F75:
to=rt@iwapps4.iwapps.com, relay=local, delay=5, status=deferred
(temporary failure. Command output: Connecting to
IwaPps.com is for sale | HugeDomains at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT server
error. The RT server which handled your email did not behave as expected.
It said: temporary failure )

Most anything is easy after you’ve done it successfully a few times

Leon Sonntag
Innovative Web Applications
leon at iwa-solutions dot com

Leon Sonntag wrote:

anybody here using Postfix as a local delivery agent? Is there any
specific setting in the main.cf that I need to check. I have already
setup the aliases as shown in the “draft manual”.
I have gone through the “draft manual”, looked through the Perldoc
writeup, and searched online. Found nothing.
I am unable to get my mail gate way to work. When I turn on debugging
and look in my log, I get:

Oct 21 11:19:18 iwapps4 postfix/local[12828]: 550FB3F75:
to=rt@iwapps4.iwapps.com, relay=local, delay=5, status=deferred
(temporary failure. Command output: Connecting to
http://rt.iwapps.com//REST/1.0/NoAuth/mail-gateway at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT
server error. The RT server which handled your email did not behave as
expected. It said: temporary failure )

For inbound messages, I have the following:

aliases:

tickets: “| /etc/smrsh/rt-mailgate --action correspond”
tickets-comments: “| /etc/smrsh/rt-mailgate --action comment”

copy rt-mailgate to the /etc/smrsh directory, with the following
permissions:

[root@xxx postfix]# ls -l /etc/smrsh/
total 12
-rwxr-xr-x 1 postfix postfix 9134 Mar 4 2003 rt-mailgate

and the smrsh directory has permissions:

drwxr-xr-x 2 postfix postfix 4096 Mar 3 2003 smrsh

And in my RT 2 config.pm:

$CorrespondAddress=‘tickets@xxxx.com’;
$CommentAddress=‘tickets-comments@xxxx.com’;
$MailCommand = ‘sendmailpipe’;
$SendmailArguments=“-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;

I think that’s all I did…

HTH
Tom

Have you ran the “newaliases” command ?

Also, you are missing the --url http://your.rt.com part in the aliases…From: Tom Lichti [mailto:tom@redpepperracing.com]
Sent: Martes, 21 de Octubre de 2003 03:06 p.m.
To: Leon Sonntag
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT-Postfix

Leon Sonntag wrote:

anybody here using Postfix as a local delivery agent? Is there any
specific setting in the main.cf that I need to check. I have already
setup the aliases as shown in the “draft manual”.
I have gone through the “draft manual”, looked through the Perldoc
writeup, and searched online. Found nothing.
I am unable to get my mail gate way to work. When I turn on debugging
and look in my log, I get:

Oct 21 11:19:18 iwapps4 postfix/local[12828]: 550FB3F75:
to=rt@iwapps4.iwapps.com, relay=local, delay=5, status=deferred
(temporary failure. Command output: Connecting to
http://rt.iwapps.com//REST/1.0/NoAuth/mail-gateway at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT
server error. The RT server which handled your email did not behave as
expected. It said: temporary failure )

For inbound messages, I have the following:

aliases:

tickets: “| /etc/smrsh/rt-mailgate --action correspond”
tickets-comments: “| /etc/smrsh/rt-mailgate --action comment”

copy rt-mailgate to the /etc/smrsh directory, with the following
permissions:

[root@xxx postfix]# ls -l /etc/smrsh/
total 12
-rwxr-xr-x 1 postfix postfix 9134 Mar 4 2003 rt-mailgate

and the smrsh directory has permissions:

drwxr-xr-x 2 postfix postfix 4096 Mar 3 2003 smrsh

And in my RT 2 config.pm:

$CorrespondAddress=‘tickets@xxxx.com’;
$CommentAddress=‘tickets-comments@xxxx.com’;
$MailCommand = ‘sendmailpipe’;
$SendmailArguments=“-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;

I think that’s all I did…

HTH
Tom

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

Oh well…

At 03:12 PM 10/21/2003 -0300, Jaime Diaz wrote:

Have you ran the “newaliases” command ?

Yes, I run that each time I make a change to the aliases file.

Also, you are missing the --url http://your.rt.com part in the aliases…

-----Original Message-----
From: Tom Lichti [mailto:tom@redpepperracing.com]
Sent: Martes, 21 de Octubre de 2003 03:06 p.m.
To: Leon Sonntag
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT-Postfix

Leon Sonntag wrote:

anybody here using Postfix as a local delivery agent? Is there any
specific setting in the main.cf that I need to check. I have already
setup the aliases as shown in the “draft manual”.
I have gone through the “draft manual”, looked through the Perldoc
writeup, and searched online. Found nothing.
I am unable to get my mail gate way to work. When I turn on debugging
and look in my log, I get:

Oct 21 11:19:18 iwapps4 postfix/local[12828]: 550FB3F75:
to=rt@iwapps4.iwapps.com, relay=local, delay=5, status=deferred
(temporary failure. Command output: Connecting to
http://rt.iwapps.com//REST/1.0/NoAuth/mail-gateway at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT
server error. The RT server which handled your email did not behave as
expected. It said: temporary failure )

For inbound messages, I have the following:

aliases:

tickets: “| /etc/smrsh/rt-mailgate --action correspond”
tickets-comments: “| /etc/smrsh/rt-mailgate --action comment”

copy rt-mailgate to the /etc/smrsh directory, with the following
permissions:

[root@xxx postfix]# ls -l /etc/smrsh/
total 12
-rwxr-xr-x 1 postfix postfix 9134 Mar 4 2003 rt-mailgate

and the smrsh directory has permissions:

drwxr-xr-x 2 postfix postfix 4096 Mar 3 2003 smrsh

And in my RT 2 config.pm:

$CorrespondAddress=‘tickets@xxxx.com’;
$CommentAddress=‘tickets-comments@xxxx.com’;
$MailCommand = ‘sendmailpipe’;
$SendmailArguments=“-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;

I think that’s all I did…

HTH
Tom


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

All done, (including the -url Tom) the error changed to reflect the change
in path but still fails. My RT_Config.pm (not RT_SiteConfig.pm?) entries
look like this

Set($CorrespondAddress , ‘rt@rt.iwapps.com’);
Set($CommentAddress , ‘rt-comments@rt.iwapps.com’);

If it matters, rt.iwapps.com is an alias for iwapps4.iwapps.com

Most anything is easy after you’ve done it successfully a few times

Leon Sonntag
Innovative Web Applications
leon at iwa-solutions dot com

You should be changing RT_SiteConfig.pm instead of RT_Config. Copy one over
the other if you were changing the wrong one.

Do you have an error log from your webserver? Look there if everything is
fine.From: Leon Sonntag [mailto:leon@iwa-solutions.com]
Sent: Martes, 21 de Octubre de 2003 03:45 p.m.
To: Jaime Diaz; Tom Lichti
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] RT-Postfix

Oh well…

At 03:12 PM 10/21/2003 -0300, Jaime Diaz wrote:

Have you ran the “newaliases” command ?

Yes, I run that each time I make a change to the aliases file.

Also, you are missing the --url http://your.rt.com part in the aliases…

-----Original Message-----
From: Tom Lichti [mailto:tom@redpepperracing.com]
Sent: Martes, 21 de Octubre de 2003 03:06 p.m.
To: Leon Sonntag
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT-Postfix

Leon Sonntag wrote:

anybody here using Postfix as a local delivery agent? Is there any
specific setting in the main.cf that I need to check. I have already
setup the aliases as shown in the “draft manual”.
I have gone through the “draft manual”, looked through the Perldoc
writeup, and searched online. Found nothing.
I am unable to get my mail gate way to work. When I turn on debugging
and look in my log, I get:

Oct 21 11:19:18 iwapps4 postfix/local[12828]: 550FB3F75:
to=rt@iwapps4.iwapps.com, relay=local, delay=5, status=deferred
(temporary failure. Command output: Connecting to
http://rt.iwapps.com//REST/1.0/NoAuth/mail-gateway at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT
server error. The RT server which handled your email did not behave as
expected. It said: temporary failure )

For inbound messages, I have the following:

aliases:

tickets: “| /etc/smrsh/rt-mailgate --action correspond”
tickets-comments: “| /etc/smrsh/rt-mailgate --action comment”

copy rt-mailgate to the /etc/smrsh directory, with the following
permissions:

[root@xxx postfix]# ls -l /etc/smrsh/
total 12
-rwxr-xr-x 1 postfix postfix 9134 Mar 4 2003 rt-mailgate

and the smrsh directory has permissions:

drwxr-xr-x 2 postfix postfix 4096 Mar 3 2003 smrsh

And in my RT 2 config.pm:

$CorrespondAddress=‘tickets@xxxx.com’;
$CommentAddress=‘tickets-comments@xxxx.com’;
$MailCommand = ‘sendmailpipe’;
$SendmailArguments=“-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;

I think that’s all I did…

HTH
Tom


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

All done, (including the -url Tom) the error changed to reflect the change
in path but still fails. My RT_Config.pm (not RT_SiteConfig.pm?) entries
look like this

Set($CorrespondAddress , ‘rt@rt.iwapps.com’);
Set($CommentAddress , ‘rt-comments@rt.iwapps.com’);

If it matters, rt.iwapps.com is an alias for iwapps4.iwapps.com

Most anything is easy after you’ve done it successfully a few times

Leon Sonntag
Innovative Web Applications
leon at iwa-solutions dot com

At 12:52 PM 10/21/2003, Jaime Diaz wrote:

You should be changing RT_SiteConfig.pm instead of RT_Config. Copy one over
the other if you were changing the wrong one.

Did that.

Do you have an error log from your webserver? Look there if everything is
fine.

The Apache log for that virtual just shows normal access using libperl -
exit code 200

-----Original Message-----
From: Leon Sonntag [mailto:leon@iwa-solutions.com]
Sent: Martes, 21 de Octubre de 2003 03:45 p.m.
To: Jaime Diaz; Tom Lichti
Cc: rt-users@lists.fsck.com
Subject: RE: [rt-users] RT-Postfix

Oh well…

At 03:12 PM 10/21/2003 -0300, Jaime Diaz wrote:

Have you ran the “newaliases” command ?

Yes, I run that each time I make a change to the aliases file.

Also, you are missing the --url http://your.rt.com part in the aliases…

-----Original Message-----
From: Tom Lichti [mailto:tom@redpepperracing.com]
Sent: Martes, 21 de Octubre de 2003 03:06 p.m.
To: Leon Sonntag
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] RT-Postfix

Leon Sonntag wrote:

anybody here using Postfix as a local delivery agent? Is there any
specific setting in the main.cf that I need to check. I have already
setup the aliases as shown in the “draft manual”.
I have gone through the “draft manual”, looked through the Perldoc
writeup, and searched online. Found nothing.
I am unable to get my mail gate way to work. When I turn on debugging
and look in my log, I get:

Oct 21 11:19:18 iwapps4 postfix/local[12828]: 550FB3F75:
to=rt@iwapps4.iwapps.com, relay=local, delay=5, status=deferred
(temporary failure. Command output: Connecting to
http://rt.iwapps.com//REST/1.0/NoAuth/mail-gateway at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT
server error. The RT server which handled your email did not behave as
expected. It said: temporary failure )

For inbound messages, I have the following:

aliases:

tickets: “| /etc/smrsh/rt-mailgate --action correspond”
tickets-comments: “| /etc/smrsh/rt-mailgate --action comment”

copy rt-mailgate to the /etc/smrsh directory, with the following
permissions:

[root@xxx postfix]# ls -l /etc/smrsh/
total 12
-rwxr-xr-x 1 postfix postfix 9134 Mar 4 2003 rt-mailgate

and the smrsh directory has permissions:

drwxr-xr-x 2 postfix postfix 4096 Mar 3 2003 smrsh

And in my RT 2 config.pm:

$CorrespondAddress=‘tickets@xxxx.com’;
$CommentAddress=‘tickets-comments@xxxx.com’;
$MailCommand = ‘sendmailpipe’;
$SendmailArguments=“-oi -t”;
$SendmailPath = “/usr/sbin/sendmail”;

I think that’s all I did…

HTH
Tom


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

All done, (including the -url Tom) the error changed to reflect the change
in path but still fails. My RT_Config.pm (not RT_SiteConfig.pm?) entries
look like this

Set($CorrespondAddress , ‘rt@rt.iwapps.com’);
Set($CommentAddress , ‘rt-comments@rt.iwapps.com’);

If it matters, rt.iwapps.com is an alias for iwapps4.iwapps.com

Most anything is easy after you’ve done it successfully a few times

Leon Sonntag
Innovative Web Applications
leon at iwa-solutions dot com


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

Most anything is easy after you’ve done it successfully a few times

Leon Sonntag
Innovative Web Applications
leon at iwa-solutions dot com

Leon Sonntag wrote:

/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT server
error. The RT server which handled your email did not behave as expected.
It said: temporary failure )

That happens if the “–queue” or “–action” parameter in your
mail alias is bogus.
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

At 04:26 PM 10/21/2003, Phil Homewood wrote:

Leon Sonntag wrote:

/opt/rt3/bin/rt-mailgate line 444, <> chunk 1. temporary failure RT server
error. The RT server which handled your email did not behave as expected.
It said: temporary failure )

That happens if the “–queue” or “–action” parameter in your
mail alias is bogus.

THANK YOU, Thank You, thank you…FINALLY something that makes a
difference. The queue I was sending them to existed in an earlier build of
RT but was not recreated in this build. Still doesn’t work but at least
I’m onto the next problem.


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


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

Most anything is easy after you’ve done it successfully a few times

Leon Sonntag
Innovative Web Applications
leon at iwa-solutions dot com