LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-16-2011, 05:57 AM   #1
amratta
LQ Newbie
 
Registered: May 2010
Posts: 4

Rep: Reputation: 0
How to Block sending mails via telent in postfix


Hi,

I implemented postfix as mail gateway but i need to block the ability to send
mails via telnet

How can i achive this????Please help me
 
Old 06-16-2011, 07:24 AM   #2
droyden
Member
 
Registered: Feb 2007
Location: UK
Posts: 150

Rep: Reputation: 19
You can't, the mta has no way of knowing what is being used to send the email ie telnet .in this case.
 
Old 03-10-2012, 08:54 AM   #3
tarek_elnozahy
LQ Newbie
 
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
Reject mails on Postfix via telnet session

I think you can develop a cleanup filter (header_checks for example) that checks if the message-id contains @myhostname.mydomain .
This hasn't been tested and also it will reject some of the NDRs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Thunderbird SMTP error while sending mails in Windows7 to Postfix rytec General 8 01-28-2011 09:24 AM
To restrict a user to send mails only to 3 e-mails IDs using postfix mail server sharath41 Linux - Newbie 2 07-21-2008 07:38 PM
Sending mails sanjibgupta Linux - General 1 06-08-2006 05:40 PM


All times are GMT -5. The time now is 02:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration