LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-25-2010, 10:40 AM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Exim: Is there away to block command when someone telnets to exim's port?


Exim: Is there away to block command when someone telnets to exim's port?

Email won't send out unless they authenticate, but if there a way to total block them from typing all together, but still allow the server to receive email?

IE, to block this:
Code:
$ telnet mydomain.com 25                                                                                                                                                   
Trying 55.55.55.55...                                                                                                                                                                   
Connected to mydomain.com.                                                                                                                                                             
Escape character is '^]'.                                                                                                                                                               
220-server1.myhost.com ESMTP Exim 4.69 #1 Sat, 25 Sep 2010 10:37:00 -0500                                                                                                      
220-We do not authorize the use of this system to transport unsolicited,                                                                                                                
220 and/or bulk e-mail.                                                                                                                                                                 
ehlo                                                                                                                                                                                    
250-server1.myhost.com Hello  [127.0.0.1]                                                                                                                                      
250-SIZE 52428800                                                                                                                                                                       
250-AUTH PLAIN LOGIN
250 HELP
 
Old 09-26-2010, 08:47 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
You can usually block certain commands, but you can't stop people typing altogether - that's just the way the protocol works. See this link regarding expand, verify and debug. You can only disable commands that are *not* necessary

cheers
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to block Exim access based on resolved domain IP mrtwice Linux - Server 3 07-14-2008 01:35 PM
Exim's bounce messages are not properly displayed iamnotherbert Linux - Server 0 02-09-2007 01:50 PM
Exim : Failt to authorise through command line vikasumit Linux - Software 0 06-06-2006 02:55 AM
Exim - How do I change the smtp sending port? korozion Linux - Software 1 02-13-2006 05:26 PM
How to change Exim port number? ylikone Linux - Software 2 06-26-2005 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration