LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with sendmail. (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-sendmail-832737/)

sumit1203 09-17-2010 12:34 AM

Problem with sendmail.
 
Hi friends,
Iam facing problem with sendmail. I want to send mails to anyone in my local network. I have 20 machines with domain example.com.
I have installed sendmail in my machine with name server1.example.com.
in /etc/sendmail.mc i had comment the DAEMON_OPTION line
i redirect it to sendmail.cf
restart the service.
I had mentioned the hostname entry in the host file of each pc.Iam able to send mail to all users in my pc.
But I want to send mail from server1.example.com to station2.example.com,station3 etc.
When I send the mail, it wont reach at the client side.
Please help me.
Tell me what else configuration I need to de.

prayag_pjs 09-17-2010 01:32 AM

Hi,

first try sending mail on the server it self from one user to other...

and get you concepts clear regarding on any email server works....

normally there is only one mail server and the email clients get connected to server to send mail (all users on server itself not on different systems)

also use this method to trouble shoot or test mail server :

Quote:

telnet localhost 25
HELO localhost.localdomain
MAIL FROM: from_who@domain.com
RCPT TO: to_who@domain.com
DATA
.
QUIT


All times are GMT -5. The time now is 11:00 AM.