Testing the ability for RT to sendmail

Hi,

I need to test to make sure RT can sendmail to our exchange SMTP.

So I use mutt on the RT system to send mail.

The user on exchange receives the mail although the address of the
sender is :

root@nelsoncentos.domain.org when it should be
root@nelsoncentos.domain.com

What do I need to change ?

The boxes hostname is nelsoncentos.domain.com

Thanks.

nelson

Ok, I need to take a step back from here…

The RT system will only be used for internal users. So no emails coming
from the internet or going to the internet for that matter.
RT needs to send his emails/replies directly to the exchange server
(exchange2.protus.org).

The email I setup in the RT queue is rt3test1@protusrt.com
Because supposedly, the Exchange tech said he cannot use @protus.com as
all emails are going to be sent to RT, which we don’t want…

In RT_SiteConfig.pm I have this setup:

Set($rtname , “protusrt.com”);
Set($Organization , “protusrt.com”);
Set($OwnerEmail , ‘npereira@protus.com’);
Set($RTAddressRegexp , ‘^rt@protusrt.com$’);
Set($CanonicalizeEmailAddressMatch , ‘@rt.protusrt.com$’);
Set($CanonicalizeEmailAddressReplace , ‘@protusrt.com’);

Apart from this, what other configuration should be changed in Sendmail
or RT so this works…?

Nelson,
I am not a guru on this so bear with me in my explanations. I don’t
know your network makeup. I will explain my setup and maybe this will
help.

When RT creates a ticket via email it will try and send the creator the
reply that it got the ticket, here is your ticket number. At my place
this will work to only people in our Groupwise System. if they aren’t in
there our network firewalls will see this as a relay attempt and since
my RT server doesn’t have rights to send email the mail is bounced or
dropped. The smtp mailer will get the denied message.

I think you are trying to send email through netsup10.protus.org and it
is not in the list of servers that are allowed to send mail to your main
email system.

If you aren’t the keeper of the rule set in your organization contact
your admin that handles that and tell them your rt server needs to send
email back to users. If you show him/her this message they should be
able to open it up.

I went through this for a long time and I finally found out what was
going on.

Hope this helps.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:04:39 PM >>>
Ok thanks,

But when RT send the email (like the response), what email will it use
to send that email to the user that opened a ticket by sending an
email
to RT?

Also, when users (echange or anyone else) sends email to my RT, I get
a
denied in the /var/log/maillog of :

Mar 27 13:43:54 nelsoncentos sendmail[3476]: m2RHhNiD003476:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=netsup10.protus.org [10.98.4.145], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied

If I understand correctly:
rt3test1 = the email setup in the Queue of RT ?
protusrt.com = the conical name in the RT_SiteConfig.pm ?

Or am I completely out to lunch here…

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.comFrom: John BORIS [mailto:jboris@adphila.org]
Sent: Thursday, March 27, 2008 1:35 PM
To: Nelson Pereira
Subject: Re: [rt-users] testing the ability for RT to sendmail

Nelson,
I use Mutt on a SCO box to send automated emails and there is a
variable called REPLYTO that has to be set in the users profile so
Mutt
knows how to address it. I had to do this so when one of my users
sends
an email to RT the RT system will create the ticket for the correct
user.

Also to answer your other question about SiteConfig.pm. I believe you
have to restart the web server. I may be wrong but here where I am at
it
is a trivial thing to restart it when needed.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 1:30:57 PM >>>
Hi,

I need to test to make sure RT can sendmail to our exchange SMTP.

So I use mutt on the RT system to send mail.

The user on exchange receives the mail although the address of the
sender is :

root@nelsoncentos.domain.org when it should be
root@nelsoncentos.domain.com

What do I need to change ?

The boxes hostname is nelsoncentos.domain.com

Thanks.

nelson

Same thing for us, nothing is seen from the outside.

But the exchange tech is saying that my RT is refusing the exchange
system when exchange tries to send and email to RT…

A user sends an email to rt3test1@protusrt.com

RT’s /var/log/maillog shows:

Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=exchange2.protus.org [10.98.4.31], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied
Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
from=npereira@protus.com, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=exchange2.protus.org [10.98.4.31]

User that sent the email gets:

Your message did not reach some or all of the intended recipients.

The following recipient(s) could not be reached:

  rt3 test1 on 3/27/2008 2:46 PM
        You do not have permission to send to this recipient.  For

assistance, contact your system administrator.
<exmail.protus.com #5.7.1 smtp;550 5.7.1
rt3test1@protusrt.com… Relaying denied>

The exchange tech says RT is refusing the email… Why is that?
How can I make RT take this damn email already !

Thanks

Nelson

It looks fine. Your admin will have to place a DNS MX record for your
server that points to your RT instance so when mail is originated the
originating mailer knows where to find your RT’s mail system.

Here is my working config:

Set( $rtname, ‘EFS’);
Set($Organization,‘rt.adphila.org’);
Set($Timezone, ‘US/Eastern’);
Set($WebBaseURL, ‘http://rt.adphila.org’);
Set($WebPath, ‘’);
Set($WebImagesURL, $WebPath . ‘/NoAuth/images/’);
Set($CorrespondAddress, ‘correspond@rt.adphila.org’);
Set($CommentAddress, ‘comment@rt.adphila.org’);
Set($SendmailPath, ‘/usr/sbin/sendmail’);
Set($LogToSyslog, ‘’);
Set($LogToFile, ‘debug’);
Set($LogDir, ‘/opt/rt3/var/log’);
Set($LogToFileNamed, ‘rt.log’);
Set($OwnerEmail, ‘jboris@adphila.org’);
Set($MyTicketsLength, 20);

All of this is in our private network and not seen to the outside.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:32:17 PM >>>
Ok, I need to take a step back from here…

The RT system will only be used for internal users. So no emails
coming
from the internet or going to the internet for that matter.
RT needs to send his emails/replies directly to the exchange server
(exchange2.protus.org).

The email I setup in the RT queue is rt3test1@protusrt.com
Because supposedly, the Exchange tech said he cannot use @protus.com
as
all emails are going to be sent to RT, which we don’t want…

In RT_SiteConfig.pm I have this setup:

Set($rtname , “protusrt.com”);
Set($Organization , “protusrt.com”);
Set($OwnerEmail , ‘npereira@protus.com’);
Set($RTAddressRegexp , ‘^rt@protusrt.com$’);
Set($CanonicalizeEmailAddressMatch , ‘@rt.protusrt.com$’);
Set($CanonicalizeEmailAddressReplace , ‘@protusrt.com’);

Apart from this, what other configuration should be changed in
Sendmail
or RT so this works…?

Nelson,
I am not a guru on this so bear with me in my explanations. I don’t
know your network makeup. I will explain my setup and maybe this will
help.

When RT creates a ticket via email it will try and send the creator
the
reply that it got the ticket, here is your ticket number. At my place
this will work to only people in our Groupwise System. if they aren’t
in
there our network firewalls will see this as a relay attempt and since
my RT server doesn’t have rights to send email the mail is bounced or
dropped. The smtp mailer will get the denied message.

I think you are trying to send email through netsup10.protus.org and
it
is not in the list of servers that are allowed to send mail to your
main
email system.

If you aren’t the keeper of the rule set in your organization contact
your admin that handles that and tell them your rt server needs to
send
email back to users. If you show him/her this message they should be
able to open it up.

I went through this for a long time and I finally found out what was
going on.

Hope this helps.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:04:39 PM >>>
Ok thanks,

But when RT send the email (like the response), what email will it use
to send that email to the user that opened a ticket by sending an
email
to RT?

Also, when users (echange or anyone else) sends email to my RT, I get
a
denied in the /var/log/maillog of :

Mar 27 13:43:54 nelsoncentos sendmail[3476]: m2RHhNiD003476:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=netsup10.protus.org [10.98.4.145], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied

If I understand correctly:
rt3test1 = the email setup in the Queue of RT ?
protusrt.com = the conical name in the RT_SiteConfig.pm ?

Or am I completely out to lunch here…

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.comFrom: John BORIS [mailto:jboris@adphila.org]
Sent: Thursday, March 27, 2008 1:35 PM
To: Nelson Pereira
Subject: Re: [rt-users] testing the ability for RT to sendmail

Nelson,
I use Mutt on a SCO box to send automated emails and there is a
variable called REPLYTO that has to be set in the users profile so
Mutt
knows how to address it. I had to do this so when one of my users
sends
an email to RT the RT system will create the ticket for the correct
user.

Also to answer your other question about SiteConfig.pm. I believe you
have to restart the web server. I may be wrong but here where I am at
it
is a trivial thing to restart it when needed.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 1:30:57 PM >>>
Hi,

I need to test to make sure RT can sendmail to our exchange SMTP.

So I use mutt on the RT system to send mail.

The user on exchange receives the mail although the address of the
sender is :

root@nelsoncentos.domain.org when it should be
root@nelsoncentos.domain.com

What do I need to change ?

The boxes hostname is nelsoncentos.domain.com

Thanks.

nelson

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Hi Nelson,
I’m not going to try to explain why your setup isn’t working (because
I don’t know), but here is what we do here:

-User sends e-mail to our support group (support@example.com)

-Support@example.com is a Contact within AD, which forwards the message
to support@myrtbox.domain

-Our RT box is running Postfix mail server for the sole purpose of
accepting incoming messages, it uses our Exchange server as a Smarthost
to relay off of.

-Within RT, ‘reply to’ address is set to support@example.com

-When you reply to a ticket, it ‘comes from’ support@example.com so the
requestor always e-mails an internal e-mail address and doesn’t need to
know anything about the actual RT box or some oddball address.

This has worked well in our environment.

Hope that helps you some.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Nelson
Pereira
Sent: Thursday, March 27, 2008 2:51 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] testing the ability for RT to sendmail

Same thing for us, nothing is seen from the outside.

But the exchange tech is saying that my RT is refusing the exchange
system when exchange tries to send and email to RT…

A user sends an email to rt3test1@protusrt.com

RT’s /var/log/maillog shows:

Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=exchange2.protus.org [10.98.4.31], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied
Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
from=npereira@protus.com, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=exchange2.protus.org [10.98.4.31]

User that sent the email gets:

Your message did not reach some or all of the intended recipients.

  Subject:	testin
  Sent:	3/27/2008 2:46 PM

The following recipient(s) could not be reached:

  rt3 test1 on 3/27/2008 2:46 PM
        You do not have permission to send to this recipient.  For

assistance, contact your system administrator.
<exmail.protus.com #5.7.1 smtp;550 5.7.1
rt3test1@protusrt.com… Relaying denied>

The exchange tech says RT is refusing the email… Why is that?
How can I make RT take this damn email already !

Thanks

Nelson

It looks fine. Your admin will have to place a DNS MX record for your
server that points to your RT instance so when mail is originated the
originating mailer knows where to find your RT’s mail system.

Here is my working config:

Set( $rtname, ‘EFS’);
Set($Organization,‘rt.adphila.org’);
Set($Timezone, ‘US/Eastern’);
Set($WebBaseURL, ‘http://rt.adphila.org’);
Set($WebPath, ‘’);
Set($WebImagesURL, $WebPath . ‘/NoAuth/images/’);
Set($CorrespondAddress, ‘correspond@rt.adphila.org’);
Set($CommentAddress, ‘comment@rt.adphila.org’);
Set($SendmailPath, ‘/usr/sbin/sendmail’);
Set($LogToSyslog, ‘’);
Set($LogToFile, ‘debug’);
Set($LogDir, ‘/opt/rt3/var/log’);
Set($LogToFileNamed, ‘rt.log’);
Set($OwnerEmail, ‘jboris@adphila.org’);
Set($MyTicketsLength, 20);

All of this is in our private network and not seen to the outside.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:32:17 PM >>>
Ok, I need to take a step back from here…

The RT system will only be used for internal users. So no emails
coming
from the internet or going to the internet for that matter.
RT needs to send his emails/replies directly to the exchange server
(exchange2.protus.org).

The email I setup in the RT queue is rt3test1@protusrt.com
Because supposedly, the Exchange tech said he cannot use @protus.com
as
all emails are going to be sent to RT, which we don’t want…

In RT_SiteConfig.pm I have this setup:

Set($rtname , “protusrt.com”);
Set($Organization , “protusrt.com”);
Set($OwnerEmail , ‘npereira@protus.com’);
Set($RTAddressRegexp , ‘^rt@protusrt.com$’);
Set($CanonicalizeEmailAddressMatch , ‘@rt.protusrt.com$’);
Set($CanonicalizeEmailAddressReplace , ‘@protusrt.com’);

Apart from this, what other configuration should be changed in
Sendmail
or RT so this works…?

Nelson,
I am not a guru on this so bear with me in my explanations. I don’t
know your network makeup. I will explain my setup and maybe this will
help.

When RT creates a ticket via email it will try and send the creator
the
reply that it got the ticket, here is your ticket number. At my place
this will work to only people in our Groupwise System. if they aren’t
in
there our network firewalls will see this as a relay attempt and since
my RT server doesn’t have rights to send email the mail is bounced or
dropped. The smtp mailer will get the denied message.

I think you are trying to send email through netsup10.protus.org and
it
is not in the list of servers that are allowed to send mail to your
main
email system.

If you aren’t the keeper of the rule set in your organization contact
your admin that handles that and tell them your rt server needs to
send
email back to users. If you show him/her this message they should be
able to open it up.

I went through this for a long time and I finally found out what was
going on.

Hope this helps.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:04:39 PM >>>
Ok thanks,

But when RT send the email (like the response), what email will it use
to send that email to the user that opened a ticket by sending an
email
to RT?

Also, when users (echange or anyone else) sends email to my RT, I get
a
denied in the /var/log/maillog of :

Mar 27 13:43:54 nelsoncentos sendmail[3476]: m2RHhNiD003476:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=netsup10.protus.org [10.98.4.145], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied

If I understand correctly:
rt3test1 = the email setup in the Queue of RT ?
protusrt.com = the conical name in the RT_SiteConfig.pm ?

Or am I completely out to lunch here…

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.com

From: John BORIS [mailto:jboris@adphila.org]
Sent: Thursday, March 27, 2008 1:35 PM
To: Nelson Pereira
Subject: Re: [rt-users] testing the ability for RT to sendmail

Nelson,
I use Mutt on a SCO box to send automated emails and there is a
variable called REPLYTO that has to be set in the users profile so
Mutt
knows how to address it. I had to do this so when one of my users
sends
an email to RT the RT system will create the ticket for the correct
user.

Also to answer your other question about SiteConfig.pm. I believe you
have to restart the web server. I may be wrong but here where I am at
it
is a trivial thing to restart it when needed.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 1:30:57 PM >>>
Hi,

I need to test to make sure RT can sendmail to our exchange SMTP.

So I use mutt on the RT system to send mail.

The user on exchange receives the mail although the address of the
sender is :

root@nelsoncentos.domain.org when it should be
root@nelsoncentos.domain.com

What do I need to change ?

The boxes hostname is nelsoncentos.domain.com

Thanks.

nelson

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Nelson,
I am not sure if I can help you past this. Can you send mail normally to
or from the rt box to anybody? That might give you a clue to the
problem. If you are running Red Hat then SELinux might be enabled and
then you have to deal with that.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia
222 North 17th Street
Philadelphia, Pa. 19103
Tel: 215-965-1714
Fax: 215-587-3525
“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 03/27/08 1:50 PM >>>
Same thing for us, nothing is seen from the outside.

But the exchange tech is saying that my RT is refusing the exchange
system when exchange tries to send and email to RT…

A user sends an email to rt3test1@protusrt.com

RT’s /var/log/maillog shows:

Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=exchange2.protus.org [10.98.4.31], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied
Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
from=npereira@protus.com, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=exchange2.protus.org [10.98.4.31]

User that sent the email gets:

Your message did not reach some or all of the intended recipients.

The following recipient(s) could not be reached:

  rt3 test1 on 3/27/2008 2:46 PM
        You do not have permission to send to this recipient.  For

assistance, contact your system administrator.
<exmail.protus.com #5.7.1 smtp;550 5.7.1
rt3test1@protusrt.com… Relaying denied>

The exchange tech says RT is refusing the email… Why is that?
How can I make RT take this damn email already !

Thanks

Nelson

It looks fine. Your admin will have to place a DNS MX record for your
server that points to your RT instance so when mail is originated the
originating mailer knows where to find your RT’s mail system.

Here is my working config:

Set( $rtname, ‘EFS’);
Set($Organization,‘rt.adphila.org’);
Set($Timezone, ‘US/Eastern’);
Set($WebBaseURL, ‘http://rt.adphila.org’);
Set($WebPath, ‘’);
Set($WebImagesURL, $WebPath . ‘/NoAuth/images/’);
Set($CorrespondAddress, ‘correspond@rt.adphila.org’);
Set($CommentAddress, ‘comment@rt.adphila.org’);
Set($SendmailPath, ‘/usr/sbin/sendmail’);
Set($LogToSyslog, ‘’);
Set($LogToFile, ‘debug’);
Set($LogDir, ‘/opt/rt3/var/log’);
Set($LogToFileNamed, ‘rt.log’);
Set($OwnerEmail, ‘jboris@adphila.org’);
Set($MyTicketsLength, 20);

All of this is in our private network and not seen to the outside.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:32:17 PM >>>
Ok, I need to take a step back from here…

The RT system will only be used for internal users. So no emails
coming
from the internet or going to the internet for that matter.
RT needs to send his emails/replies directly to the exchange server
(exchange2.protus.org).

The email I setup in the RT queue is rt3test1@protusrt.com
Because supposedly, the Exchange tech said he cannot use @protus.com
as
all emails are going to be sent to RT, which we don’t want…

In RT_SiteConfig.pm I have this setup:

Set($rtname , “protusrt.com”);
Set($Organization , “protusrt.com”);
Set($OwnerEmail , ‘npereira@protus.com’);
Set($RTAddressRegexp , ‘^rt@protusrt.com$’);
Set($CanonicalizeEmailAddressMatch , ‘@rt.protusrt.com$’);
Set($CanonicalizeEmailAddressReplace , ‘@protusrt.com’);

Apart from this, what other configuration should be changed in
Sendmail
or RT so this works…?

Nelson,
I am not a guru on this so bear with me in my explanations. I don’t
know your network makeup. I will explain my setup and maybe this will
help.

When RT creates a ticket via email it will try and send the creator
the
reply that it got the ticket, here is your ticket number. At my place
this will work to only people in our Groupwise System. if they aren’t
in
there our network firewalls will see this as a relay attempt and since
my RT server doesn’t have rights to send email the mail is bounced or
dropped. The smtp mailer will get the denied message.

I think you are trying to send email through netsup10.protus.org and
it
is not in the list of servers that are allowed to send mail to your
main
email system.

If you aren’t the keeper of the rule set in your organization contact
your admin that handles that and tell them your rt server needs to
send
email back to users. If you show him/her this message they should be
able to open it up.

I went through this for a long time and I finally found out what was
going on.

Hope this helps.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:04:39 PM >>>
Ok thanks,

But when RT send the email (like the response), what email will it use
to send that email to the user that opened a ticket by sending an
email
to RT?

Also, when users (echange or anyone else) sends email to my RT, I get
a
denied in the /var/log/maillog of :

Mar 27 13:43:54 nelsoncentos sendmail[3476]: m2RHhNiD003476:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=netsup10.protus.org [10.98.4.145], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied

If I understand correctly:
rt3test1 = the email setup in the Queue of RT ?
protusrt.com = the conical name in the RT_SiteConfig.pm ?

Or am I completely out to lunch here…

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.comFrom: John BORIS [mailto:jboris@adphila.org]
Sent: Thursday, March 27, 2008 1:35 PM
To: Nelson Pereira
Subject: Re: [rt-users] testing the ability for RT to sendmail

Nelson,
I use Mutt on a SCO box to send automated emails and there is a
variable called REPLYTO that has to be set in the users profile so
Mutt
knows how to address it. I had to do this so when one of my users
sends
an email to RT the RT system will create the ticket for the correct
user.

Also to answer your other question about SiteConfig.pm. I believe you
have to restart the web server. I may be wrong but here where I am at
it
is a trivial thing to restart it when needed.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 1:30:57 PM >>>
Hi,

I need to test to make sure RT can sendmail to our exchange SMTP.

So I use mutt on the RT system to send mail.

The user on exchange receives the mail although the address of the
sender is :

root@nelsoncentos.domain.org when it should be
root@nelsoncentos.domain.com

What do I need to change ?

The boxes hostname is nelsoncentos.domain.com

Thanks.

nelson

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I know for a fact that SElinux is disabled…

Yes, using mutt, I can send emails from the RT box to any exchange user
without issues… The issue arises when the user replies…

Nelson Pereira
Senior Network Administrator

Protus IP Solutions Inc.
npereira@protus.com
phone: 613.733.0000 ext.528
MyFax: 613.822.5083

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.comFrom: John BORIS [mailto:jboris@adphila.org]
Sent: Thursday, March 27, 2008 3:49 PM
To: rt-users@lists.bestpractical.com; Nelson Pereira
Subject: Re: [rt-users] testing the ability for RT to sendmail

Nelson,
I am not sure if I can help you past this. Can you send mail normally to
or from the rt box to anybody? That might give you a clue to the
problem. If you are running Red Hat then SELinux might be enabled and
then you have to deal with that.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia
222 North 17th Street
Philadelphia, Pa. 19103
Tel: 215-965-1714
Fax: 215-587-3525
“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 03/27/08 1:50 PM >>>
Same thing for us, nothing is seen from the outside.

But the exchange tech is saying that my RT is refusing the exchange
system when exchange tries to send and email to RT…

A user sends an email to rt3test1@protusrt.com

RT’s /var/log/maillog shows:

Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=exchange2.protus.org [10.98.4.31], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied
Mar 27 14:45:53 nelsoncentos sendmail[3339]: m2RIjrCU003339:
from=npereira@protus.com, size=0, class=0, nrcpts=0, proto=ESMTP,
daemon=MTA, relay=exchange2.protus.org [10.98.4.31]

User that sent the email gets:

Your message did not reach some or all of the intended recipients.

  Subject:        testin
  Sent:        3/27/2008 2:46 PM

The following recipient(s) could not be reached:

  rt3 test1 on 3/27/2008 2:46 PM
        You do not have permission to send to this recipient.  For

assistance, contact your system administrator.
<exmail.protus.com #5.7.1 smtp;550 5.7.1
rt3test1@protusrt.com… Relaying denied>

The exchange tech says RT is refusing the email… Why is that?
How can I make RT take this damn email already !

Thanks

Nelson

It looks fine. Your admin will have to place a DNS MX record for your
server that points to your RT instance so when mail is originated the
originating mailer knows where to find your RT’s mail system.

Here is my working config:

Set( $rtname, ‘EFS’);
Set($Organization,‘rt.adphila.org’);
Set($Timezone, ‘US/Eastern’);
Set($WebBaseURL, ‘http://rt.adphila.org’);
Set($WebPath, ‘’);
Set($WebImagesURL, $WebPath . ‘/NoAuth/images/’);
Set($CorrespondAddress, ‘correspond@rt.adphila.org’);
Set($CommentAddress, ‘comment@rt.adphila.org’);
Set($SendmailPath, ‘/usr/sbin/sendmail’);
Set($LogToSyslog, ‘’);
Set($LogToFile, ‘debug’);
Set($LogDir, ‘/opt/rt3/var/log’);
Set($LogToFileNamed, ‘rt.log’);
Set($OwnerEmail, ‘jboris@adphila.org’);
Set($MyTicketsLength, 20);

All of this is in our private network and not seen to the outside.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:32:17 PM >>>
Ok, I need to take a step back from here…

The RT system will only be used for internal users. So no emails
coming
from the internet or going to the internet for that matter.
RT needs to send his emails/replies directly to the exchange server
(exchange2.protus.org).

The email I setup in the RT queue is rt3test1@protusrt.com
Because supposedly, the Exchange tech said he cannot use @protus.com
as
all emails are going to be sent to RT, which we don’t want…

In RT_SiteConfig.pm I have this setup:

Set($rtname , “protusrt.com”);
Set($Organization , “protusrt.com”);
Set($OwnerEmail , ‘npereira@protus.com’);
Set($RTAddressRegexp , ‘^rt@protusrt.com$’);
Set($CanonicalizeEmailAddressMatch , ‘@rt.protusrt.com$’);
Set($CanonicalizeEmailAddressReplace , ‘@protusrt.com’);

Apart from this, what other configuration should be changed in
Sendmail
or RT so this works…?

Nelson,
I am not a guru on this so bear with me in my explanations. I don’t
know your network makeup. I will explain my setup and maybe this will
help.

When RT creates a ticket via email it will try and send the creator
the
reply that it got the ticket, here is your ticket number. At my place
this will work to only people in our Groupwise System. if they aren’t
in
there our network firewalls will see this as a relay attempt and since
my RT server doesn’t have rights to send email the mail is bounced or
dropped. The smtp mailer will get the denied message.

I think you are trying to send email through netsup10.protus.org and
it
is not in the list of servers that are allowed to send mail to your
main
email system.

If you aren’t the keeper of the rule set in your organization contact
your admin that handles that and tell them your rt server needs to
send
email back to users. If you show him/her this message they should be
able to open it up.

I went through this for a long time and I finally found out what was
going on.

Hope this helps.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 2:04:39 PM >>>
Ok thanks,

But when RT send the email (like the response), what email will it use
to send that email to the user that opened a ticket by sending an
email
to RT?

Also, when users (echange or anyone else) sends email to my RT, I get
a
denied in the /var/log/maillog of :

Mar 27 13:43:54 nelsoncentos sendmail[3476]: m2RHhNiD003476:
ruleset=check_rcpt, arg1=rt3test1@protusrt.com,
relay=netsup10.protus.org [10.98.4.145], reject=550 5.7.1
rt3test1@protusrt.com… Relaying denied

If I understand correctly:
rt3test1 = the email setup in the Queue of RT ?
protusrt.com = the conical name in the RT_SiteConfig.pm ?

Or am I completely out to lunch here…

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.com

From: John BORIS [mailto:jboris@adphila.org]
Sent: Thursday, March 27, 2008 1:35 PM
To: Nelson Pereira
Subject: Re: [rt-users] testing the ability for RT to sendmail

Nelson,
I use Mutt on a SCO box to send automated emails and there is a
variable called REPLYTO that has to be set in the users profile so
Mutt
knows how to address it. I had to do this so when one of my users
sends
an email to RT the RT system will create the ticket for the correct
user.

Also to answer your other question about SiteConfig.pm. I believe you
have to restart the web server. I may be wrong but here where I am at
it
is a trivial thing to restart it when needed.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/27/2008 1:30:57 PM >>>
Hi,

I need to test to make sure RT can sendmail to our exchange SMTP.

So I use mutt on the RT system to send mail.

The user on exchange receives the mail although the address of the
sender is :

root@nelsoncentos.domain.org when it should be
root@nelsoncentos.domain.com

What do I need to change ?

The boxes hostname is nelsoncentos.domain.com

Thanks.

nelson

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Ok, almost there…

I added “ALL:127.0.0.1” to the /etc/hosts.allow file,
Added “@protusrt.com rt3test1” to the /etc/mail/virtusertable file.

Sent email from user to rt3test1@protusrt.com

Maillog shows:

Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
from=npereira@protus.com, size=10773, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE830@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond --url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
stat=Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
m2SCbUvh003270: DSN: Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
to=npereira@protus.com, delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)

So there’s something wrong, for some reason it’s not sending the email
to RT yet I can access RT with http://localhost

/etc/aliases has:
rt3test1: “|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond
–url http://localhost

I also tried changing the http:// with the actual IP address of the box
and still getting the same error about stat failed:
Mar 28 08:45:16 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://10.98.7.206” (stat
failed)

Any idea?

How come this is so hard to get setup? This is a virgin Centos5
install…?!?

Nelson,
In the Rt book it states that
“Modern Versions of Sendmail require all programs called from the
/etc/aliases file to be symlinked into the /etc/smrsh/ directory. You
will receive DSN:Service unavailable erros if you haven’t done this.”

Here is what they say to use to setup the link:

ln -s /opt/rt3/bin/rt-mailgate /etc/smrsh

I only say tis since you show an error message from smrsh and in that
there is a Service unavailable message.

As for being hard to setup best Practical can answer that. It is an
Open Source package and although the setup can be frustrating the end
result is a very good product. If you haven’t done so the book RT
Essentials is a reccommended resource to have on the desk. At least you
have something you can just grab and look through to give you an idea of
what went wrong.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/28/2008 8:46 AM >>>
Ok, almost there…

I added “ALL:127.0.0.1” to the /etc/hosts.allow file,
Added “@protusrt.com rt3test1” to the /etc/mail/virtusertable file.

Sent email from user to rt3test1@protusrt.com

Maillog shows:

Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
from=npereira@protus.com, size=10773, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE830@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond
–url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
stat=Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
m2SCbUvh003270: DSN: Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
to=npereira@protus.com, delay=00:00:00, xdelay=00:00:00,
mailer=relay,
pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)

So there’s something wrong, for some reason it’s not sending the email
to RT yet I can access RT with http://localhost

/etc/aliases has:
rt3test1: “|/opt/rt3/bin/rt-mailgate --queue Desktop --action
correspond
–url http://localhost

I also tried changing the http:// with the actual IP address of the
box
and still getting the same error about stat failed:
Mar 28 08:45:16 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://10.98.7.206” (stat
failed)

Any idea?

How come this is so hard to get setup? This is a virgin Centos5
install…?!?
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf
Of Nelson Pereira

Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
from=npereira@protus.com, size=10773, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE830@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action
correspond --url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
stat=Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
m2SCbUvh003270: DSN: Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
to=npereira@protus.com, delay=00:00:00, xdelay=00:00:00,
mailer=relay,
pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Nelson:

I don’t use Centos or Redhat - but this looks like sendmail is configured to
use smrsh.

You’ll need to create a symbolic link to the rt-mailgate program in the
smrsh directory, which is probably /etc/smrsh.

Then alter the alias line to use this file:

Something like:

ln -s /opt/rt3/bin/rt-mailgate /etc/smrsh/rt-mailgate

Then in your aliases file:

rt3test1: “|rt-mailgate --queue Desktop --action correspond --url
http://localhost

Run newaliases

Then you should be set.

  • barry

I think you need to enable which programs can be piped when you are using
smrsh. Try to disable it, generating a new “sendmail.cf” file (you will need
to comment another line at sendmail.mc). And why are you using “protusrt.com
instead of something like “rt.protus.com”?.Em Friday 28 March 2008 09:46:49 Nelson Pereira escreveu:

Ok, almost there…

I added “ALL:127.0.0.1” to the /etc/hosts.allow file,
Added “@protusrt.com rt3test1” to the /etc/mail/virtusertable file.

Sent email from user to rt3test1@protusrt.com

Maillog shows:

Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
from=npereira@protus.com, size=10773, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE830@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond --url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
stat=Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
m2SCbUvh003270: DSN: Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
to=npereira@protus.com, delay=00:00:00, xdelay=00:00:00, mailer=relay,
pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)

So there’s something wrong, for some reason it’s not sending the email
to RT yet I can access RT with http://localhost

/etc/aliases has:
rt3test1: “|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond
–url http://localhost

I also tried changing the http:// with the actual IP address of the box
and still getting the same error about stat failed:
Mar 28 08:45:16 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://10.98.7.206” (stat
failed)

Any idea?

How come this is so hard to get setup? This is a virgin Centos5
install…?!?


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

 Fernando Frota Machado de Morais
    IR Team - Divisao de Redes de Comunicacao
    Centro de Computacao
    Universidade Federal de Minas Gerais
    Brasil
    Tel. +55(31)3409.4007  Fax. +55(31)3409.4004

As requested from the security tech… don’t ask…

Now it looks like I broke it again…

Mar 28 10:43:31 nelsoncentos sendmail[3608]: m2SEhV3U003608:
from=npereira@protus.com, size=10775, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE876@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 10:43:32 nelsoncentos sendmail[3610]: m2SEhV3U003608:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond --url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=40984, dsn=4.0.0,
stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

Nelson Pereira
Senior Network Administrator

Protus IP Solutions Inc.
npereira@protus.com
phone: 613.733.0000 ext.528
MyFax: 613.822.5083

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.comFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Fernando
Frota Machado de Morais
Sent: Friday, March 28, 2008 10:42 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] testing the ability for RT to sendmail

I think you need to enable which programs can be piped when you are
using
smrsh. Try to disable it, generating a new “sendmail.cf” file (you will
need
to comment another line at sendmail.mc). And why are you using
protusrt.com
instead of something like “rt.protus.com”?.

Ok, almost there…

I added “ALL:127.0.0.1” to the /etc/hosts.allow file,
Added “@protusrt.com rt3test1” to the /etc/mail/virtusertable file.

Sent email from user to rt3test1@protusrt.com

Maillog shows:

Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
from=npereira@protus.com, size=10773, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE830@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond
–url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
stat=Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
m2SCbUvh003270: DSN: Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
to=npereira@protus.com, delay=00:00:00, xdelay=00:00:00,
mailer=relay,
pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)

So there’s something wrong, for some reason it’s not sending the email
to RT yet I can access RT with http://localhost

/etc/aliases has:
rt3test1: “|/opt/rt3/bin/rt-mailgate --queue Desktop --action
correspond
–url http://localhost

I also tried changing the http:// with the actual IP address of the
box
and still getting the same error about stat failed:
Mar 28 08:45:16 nelsoncentos smrsh: uid 8: attempt to use “rt-mailgate
–queue Desktop --action correspond --url http://10.98.7.206” (stat
failed)

Any idea?

How come this is so hard to get setup? This is a virgin Centos5
install…?!?


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

 Fernando Frota Machado de Morais
    IR Team - Divisao de Redes de Comunicacao
    Centro de Computacao
    Universidade Federal de Minas Gerais
    Brasil
    Tel. +55(31)3409.4007  Fax. +55(31)3409.4004

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

If it worked before you rebooted then one of actions you did was not
written to a configuration file. This issue also has to do with smrsh
so it probably has to do with the link that was done.
I am not familiar with your flavor of Unix and would never call myself
a guru at this but I have had issues with the ln command on SCO where it
is finicky where it will do a soft link or hard link. If the /opt and
/etc are on different filesystems you might have to use a different
switch than ln -s to accomplish this.

You may have to do a little RTFM’ing of the smrsh docs to see what
might be peculiar on this setup.

John J. Boris, Sr.
JEN-A-SyS Administrator
Archdiocese of Philadelphia

“Remember! That light at the end of the tunnel
Just might be the headlight of an oncoming train!”

“Nelson Pereira” npereira@protus.com 3/28/2008 10:46 AM >>>
As requested from the security tech… don’t ask…

Now it looks like I broke it again…

Mar 28 10:43:31 nelsoncentos sendmail[3608]: m2SEhV3U003608:
from=npereira@protus.com, size=10775, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE876@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 10:43:32 nelsoncentos sendmail[3610]: m2SEhV3U003608:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond
–url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=40984, dsn=4.0.0,
stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

Nelson Pereira
Senior Network Administrator

Protus IP Solutions Inc.
npereira@protus.com
phone: 613.733.0000 ext.528
MyFax: 613.822.5083

Refer your friends and colleagues to MyFax!
Click here for more information. www.MyFax.comFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Fernando
Frota Machado de Morais
Sent: Friday, March 28, 2008 10:42 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] testing the ability for RT to sendmail

I think you need to enable which programs can be piped when you are
using
smrsh. Try to disable it, generating a new “sendmail.cf” file (you
will
need
to comment another line at sendmail.mc). And why are you using
protusrt.com
instead of something like “rt.protus.com”?.

Ok, almost there…

I added “ALL:127.0.0.1” to the /etc/hosts.allow file,
Added “@protusrt.com rt3test1” to the /etc/mail/virtusertable file.

Sent email from user to rt3test1@protusrt.com

Maillog shows:

Mar 28 08:37:30 nelsoncentos sendmail[3269]: m2SCbUvh003269:
from=npereira@protus.com, size=10773, class=0, nrcpts=1,
msgid=21044E8C915A7E43B90A1056127160F10CE830@EXMAIL.protus.org,
proto=ESMTP, daemon=MTA, relay=exchange2.protus.org [10.98.4.31]
Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use
“rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
to=“|/opt/rt3/bin/rt-mailgate --queue Desktop --action correspond
–url
http://localhost”, ctladdr=rt3test1@protusrt.com (8/0),
delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=40982, dsn=5.0.0,
stat=Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003269:
m2SCbUvh003270: DSN: Service unavailable
Mar 28 08:37:30 nelsoncentos sendmail[3270]: m2SCbUvh003270:
to=npereira@protus.com, delay=00:00:00, xdelay=00:00:00,
mailer=relay,
pri=42006, relay=qa-dev-mail1-1.protusfax.com. [192.168.2.30],
dsn=2.0.0, stat=Sent (750871 message accepted for delivery)

Mar 28 08:37:30 nelsoncentos smrsh: uid 8: attempt to use
“rt-mailgate
–queue Desktop --action correspond --url http://localhost” (stat
failed)

So there’s something wrong, for some reason it’s not sending the
email
to RT yet I can access RT with http://localhost

/etc/aliases has:
rt3test1: “|/opt/rt3/bin/rt-mailgate --queue Desktop --action
correspond
–url http://localhost

I also tried changing the http:// with the actual IP address of the
box
and still getting the same error about stat failed:
Mar 28 08:45:16 nelsoncentos smrsh: uid 8: attempt to use
“rt-mailgate
–queue Desktop --action correspond --url http://10.98.7.206” (stat
failed)

Any idea?

How come this is so hard to get setup? This is a virgin Centos5
install…?!?


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

 Fernando Frota Machado de Morais
    IR Team - Divisao de Redes de Comunicacao
    Centro de Computacao
    Universidade Federal de Minas Gerais
    Brasil
    Tel. +55(31)3409.4007  Fax. +55(31)3409.4004

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com