LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   remote mail server ip address (https://www.linuxquestions.org/questions/linux-enterprise-47/remote-mail-server-ip-address-628207/)

sachin1361 03-15-2008 05:39 AM

remote mail server ip address
 
I am using logrotate feature in RHEL-5 and configure logrotate.conf file and specify the email address which will be send email when rotate file script will be executed. Our mail server is configured on different mail server (ip address 1.1.1.1 port 25 ).How can I configure any application (like logrotate)to use IP address and port no. of mail server, instead of local?

I donot want to configure and open sendmail or SMTP port on local linux node, if i am using sendmail server/SMTP on other system.

carltm 03-15-2008 08:11 AM

You'll need some program to deliver the email on your
local system, such as sendmail. That doesn't mean
that this program has to listen on port 25 of your
network interfaces. You could have it listen only
on the loopback interface, or not listen to any
interface. Either way the program will still be able
to deliver email to the remote server.


All times are GMT -5. The time now is 08:51 AM.