Miscellaneous > Programming & Networking

Sendmail relaying....

(1/1)

Agent007:
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?

Stryker:
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.

Navigation

[0] Message Index

Go to full version