LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-07-2007, 04:55 AM   #1
shawnbishop
Member
 
Registered: Dec 2005
Location: South Africa
Distribution: CentOS,Ubuntu,Fedora
Posts: 249

Rep: Reputation: 30
Postfix and Multiple Network Cards


Good Day

I am setting up a server with Mailscanner etc which will have two NICS for the postfix

Therefore a customer can connect on either IP address

X.X.X.X

or

Y.Y.Y.Y

to collect mail...firstly how do I tell Postfix that it must look at both NICS ( as this machine will relay mail as well.)

The secondly I get a strange error, if I test the SMTP connection by doing the following and using telnet

[root@relay ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 COMPUCLEARING
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@relay ~]# telnet 10.20.7.160 25
Trying 10.20.7.160...
telnet: connect to address 10.20.7.160: Connection refused
telnet: Unable to connect to remote host: Connection refused
[root@relay ~]#


Therefore it works if I connect via localhost, but when i enter the localhost IP address it wont allow me to connect, why is that...??
 
Old 09-07-2007, 10:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Depends on how your distro sets postfix up, I guess. Have a look
at your postfix' main.cf, namely the line
inet_interfaces =



Cheers,
Tink
 
  


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
Multiple Network Cards Configuration icna Linux - Networking 12 09-06-2006 04:11 AM
Multiple Network Cards ryanroler Slackware 11 01-14-2005 07:18 AM
Unable to forward with multiple network cards dcgva Linux - Networking 2 06-22-2004 01:38 PM
multiple network cards in router Smerk Linux - Networking 4 03-06-2003 06:40 PM
VMWare and multiple network cards Syd Nicholson Linux - Networking 0 06-26-2001 06:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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