New York Finance

Sep 30 2017

SOLVED Sendmail: block specific sender to specific recipient #sendmail,block,specific,sender,specific,recipient,how,[solved sendmail: block specific sender to specific recipient, how?, linux,how to,tutorial,operating system,linux,red hat,mandrake,security,linux help,installation,question,forum]


#

Welcome to LinuxQuestions.org. a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here .

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux – A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author’s experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Click Here to receive this Complete Guide absolutely free.

Sendmail: block specific sender to specific recipient – How?

I’m trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a ‘stalker’, how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email – simply block it before it consumes server resources.

The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

Any and all help appreciated!

Last edited by thekillerbean; 10-04-2009 at 06:28 PM.

Originally Posted by thekillerbean

I read the Sendmail, 3rd Edition book and resolved the issue.

Mainly, I had to add
FEATURE(`check_compat’)
in the /etc/mail/sendmail.mc file

Easy as pie; well, after a bit of reading.

After doing that its not working can you tell me step by step

10-14-2009, 06:21 AM

Registered: Jun 2008

Originally Posted by jmahto

After doing that its not working can you tell me step by step

Take a look the FEATURE(`check_compat’) part.

10-15-2009, 02:00 AM

Registered: Aug 2009

Originally Posted by okcomputer44

Take a look the FEATURE(`check_compat’) part.

Thanking you for your post. but we need something diffrent from this
basically we need to block any entire domain and realy some email IDs of such domain like

Emails should not relay to xyz domain except some ids of such domain

other Ids should not

Thanks and Regards,


Written by admin


Leave a Reply

Your email address will not be published. Required fields are marked *