• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 736
  • Last Modified:

smtp relay setup

Hi Expert,

I have a linux box with version:
Linux itv10.usa.hp.com 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

I want to setup a mail relay in my box to allow an application to send out email by using  smpt server which is in another box.   I know smtp server's IP and hostname.  How do I set it up?

Thank you very much in advance.

ER
0
EnjoyNet
Asked:
EnjoyNet
  • 2
  • 2
  • 2
2 Solutions
 
savoneCommented:
Why do you need a relay?  Why not just send the email directly to the SMTP server?

If you still want to set up a relay:
http://cri.ch/linux/docs/sk0009.html
0
 
EnjoyNetAuthor Commented:
Sorry, maybe I use the wrong word.  It is sending directly to smtp server.  How to set it up?
Where is the location or file I need to input smtp server ip address or hostname?

Thanks
0
 
savoneCommented:
Your missing what I am trying to say.  What kind of application is it?  Most applications will allow you to use an SMTP directly.  Why do you think you need a local relay?

Also what Linux are you using?
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
arnoldCommented:
This seems a redhat/centos system.
Install postfix. Add relay_host and point it to your smtp server.
The local relay avoids the issues of an smtp session.
0
 
EnjoyNetAuthor Commented:
It is RH linux.  Users want to use Wiki application to send out email.  Do you know how to run this application and set smtp server?

Thanks
0
 
arnoldCommented:
Yum install postfix
Make sure to remove sendmail before hand, on personal preference, postfix is more preferred.
/etc/postfix
Main.cf relayhost point to your internal smtp server.

If you have sendmail install and wish to stick with it look at the smart host entry and point it to your internal smtp server that will be performing the delivery to the remote recipient.

You should be all set.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now