Outgoing email - using external smtp

I’ve read the article in the documentation for using fetchmail to
retrieve email from an external pop3 account to import tickets. I was
wondering if there was a way to setup RT to use an outgoing smtp
server to send notification emails? Basically, I’d like RT to work
just like an email client program; using a separate ISP’s email
servers to handle incoming and outgoing mail. While I could set up an
internal mail server, my company really has no need for one and
setting one up just for our ticketing software something I’m trying to
avoid.

Thanks!

Keith

We are an Exchange shop and RT has its own e-mail server running on it
(Postfix). We found this to be the easiest solution. Postfix uses our
Exchange as a Smarthost. We don’t use it for anything else and it is
very little overhead. Just a thought.-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Keith
Sent: Friday, November 16, 2007 11:06 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Outgoing email - using external smtp

I’ve read the article in the documentation for using fetchmail to
retrieve email from an external pop3 account to import tickets. I was
wondering if there was a way to setup RT to use an outgoing smtp
server to send notification emails? Basically, I’d like RT to work
just like an email client program; using a separate ISP’s email
servers to handle incoming and outgoing mail. While I could set up an
internal mail server, my company really has no need for one and
setting one up just for our ticketing software something I’m trying to
avoid.

Thanks!

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

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we’ll
take
up to 20 percent off the price. This sale won’t last long, so get in
touch today.
Email us at sales@bestpractical.com or call us at +1 617 812 0745.

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

Yeah, I’ve got postfix running on the test server I have right now and
I think I’ve figured out how to have RT using it. I’m just trying to
see if the other solution is possible. Don’t want to have a program
running on a publicly accessible server if I really don’t have to.
Just trying to make my own job easier. :slight_smile:

KeithOn Nov 16, 2007 11:15 AM, Helmuth Ramirez HelmuthRamirez@compupay.com wrote:

We are an Exchange shop and RT has its own e-mail server running on it
(Postfix). We found this to be the easiest solution. Postfix uses our
Exchange as a Smarthost. We don’t use it for anything else and it is
very little overhead. Just a thought.

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Keith
Sent: Friday, November 16, 2007 11:06 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Outgoing email - using external smtp

I’ve read the article in the documentation for using fetchmail to
retrieve email from an external pop3 account to import tickets. I was
wondering if there was a way to setup RT to use an outgoing smtp
server to send notification emails? Basically, I’d like RT to work
just like an email client program; using a separate ISP’s email
servers to handle incoming and outgoing mail. While I could set up an
internal mail server, my company really has no need for one and
setting one up just for our ticketing software something I’m trying to
avoid.

Thanks!

Keith


The rt-users Archives

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we’ll
take
up to 20 percent off the price. This sale won’t last long, so get in
touch today.
Email us at sales@bestpractical.com or call us at +1 617 812 0745.

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

Yeah, I’ve got postfix running on the test server I have right now and
I think I’ve figured out how to have RT using it. I’m just trying to
see if the other solution is possible. Don’t want to have a program
running on a publicly accessible server if I really don’t have to.
Just trying to make my own job easier. :slight_smile:

So, RT has the ability to send mail via SMTP directly, however we
strongly recommend against the use of this feature because of something
RT doesn’t have. – an outgoing mail queue. Whcih means that if
something goes wrong, the message may be dropped. Setting up sendmail,
postfix or qmail to “smart host” to your ISP’s mailserver doesn’t
require running a daemon listening for connections from the outside
world, just a local queue running daemon, which should cut down on
potential security issues.

Best,
Jesse

Yeah, I’ve got postfix running on the test server I have right now and
I think I’ve figured out how to have RT using it. I’m just trying to
see if the other solution is possible. Don’t want to have a program
running on a publicly accessible server if I really don’t have to.
Just trying to make my own job easier. :slight_smile:

So, RT has the ability to send mail via SMTP directly, however we
strongly recommend against the use of this feature because of something
RT doesn’t have. – an outgoing mail queue. Whcih means that if
something goes wrong, the message may be dropped. Setting up sendmail,
postfix or qmail to “smart host” to your ISP’s mailserver doesn’t
require running a daemon listening for connections from the outside
world, just a local queue running daemon, which should cut down on
potential security issues.

Best,
Jesse

Ahhh ok. While I’ve gotten postfix up and running myself a few times,
i’m still fairly new to it, which is why I was asking if there was
this other way to do this. Thanks for your reply!

Keith

Keith wrote:

So, RT has the ability to send mail via SMTP directly, however we
strongly recommend against the use of this feature because of something
RT doesn’t have. – an outgoing mail queue. Whcih means that if
something goes wrong, the message may be dropped. Setting up sendmail,
postfix or qmail to “smart host” to your ISP’s mailserver doesn’t
require running a daemon listening for connections from the outside
world, just a local queue running daemon, which should cut down on
potential security issues.

Ahhh ok. While I’ve gotten postfix up and running myself a few times,
i’m still fairly new to it, which is why I was asking if there was
this other way to do this. Thanks for your reply!

Redhat-style distros (RHEL, fedora, CentOS, etc.) come with a default
sendmail setup that only accepts connections from the local host. If
you are using one of those you should only have to set SMART_HOST in
sendmail.mc and restart sendmail - although in most situations you would
probably want the ability get inbound replies back to RT unless another
box is doing that.


Les Mikesell
lesmikesell@gmail.com

I’m actually running Ubuntu LTS 6.06. We were looking to replace our
existing ticketing software and so far RT is the winner. Looking to
deploy it next year when the new LTS comes out (8.04). I’ve not done
anything with sendmail before, just postfix. Right now I have RT using
postfix’s sendmail replacement on my test server and it looks to be
working ok. Can’t actually receive any mail notifications because the
test server does not have a valid domain and our external mail
provider is just bouncing it. Outside of the bounce error in mail.log,
it looks to be working fine so far, though.

Keith wrote:

So, RT has the ability to send mail via SMTP directly, however we
strongly recommend against the use of this feature because of something
RT doesn’t have. – an outgoing mail queue. Whcih means that if
something goes wrong, the message may be dropped. Setting up sendmail,
postfix or qmail to “smart host” to your ISP’s mailserver doesn’t
require running a daemon listening for connections from the outside
world, just a local queue running daemon, which should cut down on
potential security issues.

Ahhh ok. While I’ve gotten postfix up and running myself a few times,
i’m still fairly new to it, which is why I was asking if there was
this other way to do this. Thanks for your reply!

Redhat-style distros (RHEL, fedora, CentOS, etc.) come with a default
sendmail setup that only accepts connections from the local host. If
you are using one of those you should only have to set SMART_HOST in
sendmail.mc and restart sendmail - although in most situations you would
probably want the ability get inbound replies back to RT unless another
box is doing that.

Les Mikesell
lesmikesell@gmail.com