how to stop using *telnet <domain> 25*
Bill Campbell
linux-sxs
Mon May 17 11:58:35 PDT 2004
On Fri, Jan 23, 2004, Swapana Ghosh wrote:
...
> Someone is using one of our domain and sending mail from one valid user to
>another valid user under the same domain with the help of some of his own
>written script..
>
>Our server is not *open relay* but i want to stop to send mail by telneting
>with port 25.
I don't think there's any way to do this as there's no way to tell the
difference between a telnet client connecting on port 25 and an MTA (Mail
Transport Agent) such as postfix or sendmail.
The SMTP protocol is pretty simple (after all it's Simple Mail Transport
Protocol :-). It's trivial to enter any commands manually with a telnet
client, and a pretty common way to debug mail transport problems. There
might be some way to detect mail allegedly coming from local users based on
the IP address of the connection, but (a) I don't know of a standard MTA
that would handle this, and (b) it would prevent your own roaming users
from sending mail from outside your network.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
``Perhaps, when committing your first federal crime, it would be unwise to
slap your name and address on it and mail it to 10,000 people.'' --Dogbert
More information about the Linux-users
mailing list