[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: mail delivery on LAN - with Linux

Shiraz Baig wrote:
  This is in continuation of previous discussion on
the subject.
  As mentioned earlier, I am trying to configure mail
on Linux LAN.  I shall use the names of two machines
"dtlaptop" and "unix11". The domain name is
First I installed sendmail on two machines, "dtlaptop"
and "unix11".
I tried to send the mail from one to the other. It did
not go anywhere. It kept sitting on the sender's
machine. Giving a message after expiry time that mail
could not be delivered because of "relaying denied". I
tried a method of enclosing the address in square
brackets. But it still did not work.

On both systems

edit the file /etc/mail/sendmail.cf
find the lines:

dnl This changes sendmail to only listen on the loopback device
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.
DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')

Add the characters "dnl" to the BEGINNING of the line about

Then run "m4 /etc/mail/sendmail.mc > /etc/sendmail.cf"
and then run "service sendmail restart"

Then try your test again.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]