LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-13-2003, 12:57 PM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
sending mail between two mail server !!


Hi

I have setup one mail using sendmail.

now i want to send one mail to another sendmail server. how can send it ???

help me

Thanks in adv
Hitesh
 
Old 12-13-2003, 11:04 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Hi,

You need to be a bit more specific. What exactly are you trying to do here? Are both sendmail MTA's on the same box, same network, different network, or what? What distrobution are you using?

You stated: "I have setup one mail using sendmail."
Ok, so I'm assuming that you have an smtp server setup and you want your 2nd "sendmail" MTA as a relay right? At this point, I really do not know what you are trying to achieve so please be more clear so we can help you.

-twantrd
 
Old 12-14-2003, 06:46 AM   #3
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Hi,

I am using RHL 9.0 and i have setup sendmail(MTA) on this box.with requier packages.

and same configration i have done in another RHl 9.0 with sendmail.with same requier packages.

it's in same network.but when i try to send a one mail from one to another
it's give error like "connection refused"

i have stoped iptables service and sarted portamp service.
so tell me to send succefully mail from one to another what else things i need to setup on both machine.

also it's pinging perfectly.


Thanks

Hitesh
 
Old 12-14-2003, 12:53 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
Ahh yes, ok, now I see what you are trying to do. Well, have you tested that both your sendmail MTA's are working? For example:

sendmail #1 = 192.168.1.10 (of course you replace these with your own IP)
sendmail #2 = 192.168.1.20

from any machine on your same network type: "telnet 192.168.1.10 25" and check to see if you actually established a connection to your smtp server. Try that again with your 2nd sendmail server. If you can get an established connection, that's great. If not, probably either your Iptables is rejecting the connection or sendmail is not really running.

Now if everything is good, you need to setup DNS so that you can send mail from one local machine to the next because as you know, you cannot send mail using ip address (twantrd@192.168.1.10) it has to be a domain name.


-twantrd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
Sending mail through mail server. TheRealDeal Linux - Networking 17 09-11-2004 11:31 PM
Sending mail through mail server. TheRealDeal Linux - Networking 0 09-06-2004 11:43 PM
Mail Server not sending mail baye Linux - Software 1 05-28-2004 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration