LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2004, 01:48 PM   #1
bradyc
LQ Newbie
 
Registered: Oct 2003
Location: Erda, Utah
Distribution: linux 9
Posts: 26

Rep: Reputation: 15
Send mail listening address?


I know this has probably been answered but I need to figure this out asap and I couldn't find it.

I need to configure my sendmail server to listen to two Ip addresses. My Isp is changing ip's on me and I'm trying to make all the changes ahead of it so that I don't have any days that email won't come through. I thought the best way to do this was to run the old address and the new address on the server together for a couple days until the dns addresses are finalized if that makes sense. but I can't find any documentation on configuring sendmail to listen on two addresses could some ont tell me how I can do this... thanks
 
Old 02-04-2004, 01:51 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Look in your sendmail.cf for DaemonPortOptions.
 
Old 02-04-2004, 02:03 PM   #3
bradyc
LQ Newbie
 
Registered: Oct 2003
Location: Erda, Utah
Distribution: linux 9
Posts: 26

Original Poster
Rep: Reputation: 15
I've been there and I have it configured now like this

Daemon_Options('Port=smtp, Addr=63.x.x.x, Name=MTA') in the m4
or
DaemonPortOption=Port=smtp, Addr=63.x.x.x, Name=MTA in the cf

is this the right do I just append the other ip address after the first?
 
Old 02-04-2004, 04:51 PM   #4
bradyc
LQ Newbie
 
Registered: Oct 2003
Location: Erda, Utah
Distribution: linux 9
Posts: 26

Original Poster
Rep: Reputation: 15
Okay the sendmail.cf now looks like this

DaemonPortOption=Port=smtp, Addr=63.x.x.x 24.x.x.x, Name=MTA in the cf

and it's working but is this right or is it going to blow up on me later?
 
Old 02-06-2004, 08:49 AM   #5
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You could always remove the Addr arguements completely so that it binds to all available.
 
  


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
Force sendmail to send mail on an ip address sdave1284 Linux - Software 8 11-23-2005 11:26 PM
Shel script mail send ("/" in mail address) problem anaid Linux - Networking 3 08-23-2005 07:41 AM
Send root mail to email address GUIPenguin Linux - General 1 03-01-2005 07:16 PM
send mail to external email address hamish Linux - Networking 8 12-10-2004 09:17 AM
security breach: send mail to unknown address? graffitici Linux - Security 4 01-29-2004 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:17 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