?
Solved

mail aliases to be restricted to use within internet domain

Posted on 2003-11-21
7
Medium Priority
?
286 Views
Last Modified: 2010-04-21
Hello,
     We have an IBM server with Linux op. System (Redhat ver 8.0). This server has been configured as mail server using sendmail. I have difined the aliases in /etc/aliases (which become part of aliases db in /etc/mail/aliases. These are working ok but the problem is these can be used by OUTSIDERS also.

I am looking at the documentation but if some one knows how to restrict the mail aliases to LOCAL use (use within our mail server or within our internet domain), please let me know, Thanks
0
Comment
Question by:Ramesh Satija
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 9797497
I'm sorry but aliases are global and there's no mechanism that would allow you to restrict alias expansion to local users. Denpenif on what sort of aliases you've created there might be other ways of accomplishing the task that could be restricted to local users. Culd you elaborate?
0
 

Author Comment

by:Ramesh Satija
ID: 9808506
Thanks jlevie for your comment. My only requirement is that I need to define one alias for a group of local users and sending mail to all those users should be possible using this alias (or shortname). It can be done (in say pine)  by a particular user, but I want to define in such a manner that all local users should be able to use it for sending mail to this group of local users and all users don't use pine.
Thanks
 
0
 
LVL 40

Assisted Solution

by:jlevie
jlevie earned 150 total points
ID: 9866962
I figured that was what you wanted to do. It can't be done with a simple alias list unless you are willing to expose that alias to the world, since mail servers don't have the concept of local-only aliases. The only way that I know of to accomplish this at the server level is to create an alias the feeds a "selective remailer" program. That remailer can check the sender and not send the message to the list if if isn't a local user.
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 3

Accepted Solution

by:
Ravi Goru earned 225 total points
ID: 9992031


just create an account .. which will receive all the sort mail .. to forward .. !!

and then try .. using .. 'procmail.rc'  & '.forward'  facilities .. !!


and u should be able to achieve all .. what ever u  r really looking for .. !!

best of luck ..


RaviGoru
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10179771
Split between ravigoru & jlevie
0
 

Author Comment

by:Ramesh Satija
ID: 10181468
Dear jlevie,
          I have accepted the answers which seem to be relevant. Your comment gave the direction of solving the problem, and comment from ravigoru gave the details of exactly what is to be done. I have still not done the full thing but am almost sure that iravigoru's suggestion would work, so I have accepted the answers.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question