Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-14-2006, 01:23 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Restricting local users from sending external mail (except for one domain)

I have followed some config from and it works fine.
However, my problem is I have one domain (but in different server) that I want my internal/restricted users able to send emails. How can I do this?

I have searched the internet for months now regarding this but no chance of getting it right. I hope you can help me with this. Thanks
Old 03-15-2006, 09:57 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
I'm no sendmail expert. With postfix, this is done easily via the transport rules.

However, I found the following page:
Under the "access" file section, you get some tips on denying access based on the (internal) domain.
Maybe you can use it to deny access to all domains, except for the one you mentioned.


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
qmail server, local users sending mail with incorrect email addresses HoundDog Linux - Networking 2 01-04-2006 02:40 AM
how to authenticate external users but bypass prompt on local LAN users? taiwf Linux - Security 5 07-13-2005 09:01 AM
restricting an email account to receive mails from local users only dm0nkz Linux - Security 2 09-03-2004 02:08 AM
sending mail from my new domain name BU5T4 Linux - Newbie 1 12-12-2003 05:22 PM
postfix : sending local mail without domain iainr Linux - Software 2 12-10-2003 03:05 AM > Forums > Linux Forums > Linux - Newbie

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