LinuxQuestions.org
Help answer threads with 0 replies.
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 03-20-2006, 04:27 AM   #1
mcsmit
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Unhappy Need to block certain mail user on Fedora 2


I'm using Redhat Linux Fedora 2. We have our own domain. The users at head office can send mail anywhere and receive from anywhere,taht's fine. But I wan't set up mail for the branches, I already set up their e-mail addresses and users but haven't installed at the branches yet. I want to block them them from sending mail anywhere else than out own domain, basically head office. eg: they must only be able to send mail to user@mydomain.com no where else. Please help. I'm using Sendmail.

Last edited by mcsmit; 03-20-2006 at 06:27 AM.
 
Old 03-20-2006, 06:01 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
What mail server are you using?
If it's Postfix, just set up some transport rules to limit outgoing mails.

I also replied to a post similar to yours, quite recently. Search around on the forum and you will find it.
 
Old 03-20-2006, 06:27 AM   #3
mcsmit
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I'm using sendmail.

Excuse my silly questions. I know Unix and am new to Linux especially the GUI. How do you set up transport rules?

Last edited by mcsmit; 03-20-2006 at 06:29 AM.
 
Old 03-20-2006, 09:43 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
A little forum searchin' on the Newbie forum showed revealed my earlier post, that contained the
following URL. Maybe that site can help you too.

http://www.skillreactor.org/tutortxt...tm#send_mta_cf

As for sendmail configuration, I'm no expert either, so I can't help you with that.
 
Old 03-24-2006, 02:51 AM   #5
mcsmit
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Did'nt help.

I'm not sure if I am putting clearly what I want.

Let's say I have two users: User1 and User2

User1@mydomain.com can send e-mail anywhere but I want user2@mydomain.com to only be able to sendmail to anyone@mydomain.com and nowhere else. How do I do that.

I hace got a total of 22 User whom I want to set up to only send mail to anyone@mydomain.com

the rest of the user can send anywhere.
 
  


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
POSTFIX how to block/delete mail from sender... hct224 Linux - Newbie 5 12-29-2009 10:11 PM
Undelivered Mail Returned to Sender - Block Email henryvl Linux - Networking 1 02-15-2006 04:31 AM
how do I block mail sent to my .net address as opposed to my .com addr? BrianK Linux - General 2 12-01-2003 02:31 AM
deleted user accont in sendmail how do i block incoming mail slack66 Linux - Security 2 11-18-2003 01:16 AM
Sendmail. Any way to block people from sending mail as me ForumKid Linux - Software 1 08-28-2003 12:32 PM

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

All times are GMT -5. The time now is 09:04 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