LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-15-2008, 05:39 AM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
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.

Last edited by sachin1361; 03-15-2008 at 05:43 AM.
 
Old 03-15-2008, 08:11 AM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[syslog-ng] logging remote server by IP address noir911 Linux - Server 4 06-22-2018 08:01 AM
command line email client to send mail to remote mail server dhanju Linux - Software 1 03-07-2008 06:37 AM
hostname - for mail server (or any other remote access server) yogaboy Linux - Newbie 4 02-06-2007 08:53 PM
getting mails from remote mail server is slow,so need an intermediate server Sleen Linux - Networking 5 09-30-2006 03:09 PM
knowing a mail server address juanb Linux - General 1 02-06-2003 07:04 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration