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 - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2006, 02:46 PM   #1
Vasili
LQ Newbie
 
Registered: Feb 2006
Location: At Home
Distribution: RHEL 4 AS
Posts: 23

Rep: Reputation: 15
Exclamation settin up a mail server on RHEL_AS but...


i have setup a mail server on red hat nine successfully and on whitebox EL too the users are without home directory and .../sbin/false{in /etc/passwd} problem is that with RHEL_AS i can send mail from console but the ppl cant send mail! it sez connection to server2 failed......maybe it is a problem with the smtp but i dunno...i dont even know wat services to launch--help please with the other distros it work fine
 
Old 05-05-2006, 07:01 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Sorry, you lost me there. Try adding some "." to separate sentences.

Check if I got you right:
you have 2 mail servers (I suppose you're referring to MTAs like sendmail, postfix, etc). On one of the machines, you have a bunch of users that can't login (something like disabled accounts).
Then you say that you can send out mail (I suppose via /bin/mail), but the others can't.

But I don't really understand what "connection to server2" has to do with it. Do you mean that the others try
to send out mail from one machine and the mail is then routed to a mail server (MTA) on the second one?
If so, did you remember to open the SMTP port on server2's firewall?

Try (on server1):
Code:
telnet server2 25
This will try to connect to server2 on the SMTP port (25). If it succeeds, then you can send mails to the sendmail/postfix/... on server2. If it fails, most likely causes would be an intervening firewall or
the fact that server2's MTA isn't configured to listen to port 25 on it's external network interface (ie maybe just listening to it's "localhost" loopback interface, which is unreachable from server1).
 
Old 05-06-2006, 02:21 AM   #3
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
Hello Vasili,

Did you enable mail forwarding in your mail server? Sendmail, by default, only forward mail which are sent from the localhost. Also since your users don't have shell access to the server, the mails won't get relayed.

Thanks,,,
 
  


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
messanger settin in suse vikas04522 SUSE / openSUSE 1 02-19-2006 03:38 PM
Settin up Qmail Gaurav Wadhwa Linux - Networking 4 02-10-2005 07:54 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
settin up webserver xone Linux - Software 1 04-25-2004 04:17 PM
settin up wep thor291 Linux - Wireless Networking 0 07-09-2003 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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