Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


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

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


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, 08:24 AM   #2
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, 09:54 AM   #3
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.


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 10: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 08:38 PM
Sending mails sanjibgupta Linux - General 1 06-08-2006 06:40 PM

All times are GMT -5. The time now is 07:54 AM.

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