Author Topic: Sendmail relaying....  (Read 2099 times)

Agent007

  • Member
  • **
  • Posts: 120
  • Kudos: 0
Sendmail relaying....
« on: 26 December 2002, 23:53 »
Hi Guys:

I need some help regarding sendmail which is
running on my Linux. When i ran nessus through
the loopback port, I got a result that anyone
can use my sendmail for relaying provided he/she
gives a sender address as <>

I telneted onto sendmail port through the loopback
port and was able to send mails using sender's
address as <>.

But when I tried to do it through another machine
from outside the network, I got the response
that "relaying denied, IP lookup )for the particular
IP from which I telneted) failed.

Can someone give some insight into this?
AMD Athlon processor
256MB SDRAM
Linux Distro - RedHat 9.0

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
Sendmail relaying....
« Reply #1 on: 27 December 2002, 05:51 »
When I set up sendmail this is what I do (should fix your problem)...

as root:
# pico /etc/sendmail.cf
CTRL+w   ->  127.0.0
Commenet that line out

CTRL+w   ->  relaying denied
Comment that line out... repeat until all are commented

This isn't the most secure way of setting things up but it gets you going. dont forget to restart sendmail.