Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail from the command line

Status
Not open for further replies.

coch

Technical User
Jul 4, 2002
106
GB
Is there a way to prevent emails being sent from the command line whilst still allowing mail to be sent and received by Outlook?
 
how are the email being sent from the command line?

You could use a group policy on your domain to prevent the application which is sending from running on workstations.

If someone is using Telnet to then you could block port 25 from your network to the exchange server. That would stop SMTP messages being sent.
 
Yes, prevent SMTP access from the clients as Outlook client does not use SMTP to send/receive.
 
Mail is being sent via telnet to server on its IP and then helo to confirm connection then using mail from mail to recpt commands etc
 
Closing off access to the mail server on port 25 will definitely stop that from happening.

If you have a firewall between your mail server and your ceilent machines then block port 25. The Exchange server sends to other email servers using 25, but Outlook uses a different protocol.

If you dont have a firewall between your mail server and your clients, which most people dont, then you can change the configuration of the 'Virtual SMTP Server' in the Exchange System Maanger.

Go to System Manager > Servers > servername > Protocols > SMTP and bring up the properties for default.

Now go to the Access tab and then connection. Here you can block certain IP addresses but allow everything else OR allow some addresses and block all others. What you do here is going to depend on your configuration, what IP address space you are using, and how email finds it way to your exchange server.

The safest thing is probably to set 'all execpt the list below' and just block the offeding subnet from accessing the SMTP server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top