[rt-users] testing the ability for RT to sendmail

Nelson Pereira npereira at protus.com
Thu Mar 27 14:32:17 EDT 2008


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 at 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 at 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 at 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 at protusrt.com,
relay=netsup10.protus.org [10.98.4.145], reject=550 5.7.1
rt3test1 at 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 	

-----Original Message-----
From: John BORIS [mailto:jboris at 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 at 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 at nelsoncentos.domain.org when it should be
root at nelsoncentos.domain.com 

 

What do I need to change ?

 

The boxes hostname is nelsoncentos.domain.com

 

Thanks.

 

nelson




More information about the rt-users mailing list