sendmail over simple network
Hi
I have two computers set up. one as a linux server the other as a linux workstation. My problem is with sendmail. when i ping the computers there is clearly a connection. i edited the sendmail.mc file on the server machine. i changed entry below DAEMON OPTIONS (`Port=smtp, Addr=192.168.0.1, Name=MTA) to dnl DAEMON OPTIONS (`Port=smtp, Addr=192.168.0.1, Name=MTA) then on the command terminal i entered m4 /etc/mail/sedmail.mc > /etc/sendmail.cf now i have users A and B on the server. sending mail to each other works fine. but when i try to send mail from user C on the workstation to user A on the server the email fails to go through and vice-versa. Q.1 DO i need to configure sendmail on the workstation. Q.2. on the server the following files below what information do they need and will i need to replicate this on the workstation. local-host-names virtusertable mailertable domaintable access Any suggestions please before i seek help with a sendmail book any good one please recommend. rgds.....clk777 |
need to setup local-host-names to your domain
need to have your domain resolvable (/etc/hosts or dns) then check your log files (/var/log/maillog) to see what sendmail is saying about email It should be quite easy try putting computer names into your /etc/hosts like 192.168.0.1 rh1 192.168.0.2 rh2 and then you can just mail a@rh1 or b@rh2 .. |
All times are GMT -5. The time now is 10:25 PM. |