LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-03-2004, 01:03 AM   #1
dm0nkz
LQ Newbie
 
Registered: Feb 2003
Posts: 8

Rep: Reputation: 0
restricting an email account to receive mails from local users only


BACKGROUND
I recently setup an email server (using postfix) for a 160 email users.
I created an alias all_user@mycompany.com to all users.


PROBLEM
Unfortunately, external email users from yahoo, hotmail, etc can send email to that alias all_user.

I want to restrict only local users can send email to the alias all_user@mycompany.com



can anyone help me out in solving this problem? thanks and god bless! im currently looking at smtpd_recipient_restrictions .

Thanks in advanced and god bless!

- dm0nkz
 
Old 09-03-2004, 02:03 AM   #2
zedmelon
Member
 
Registered: Jun 2004
Location: colorado, USA
Distribution: slack, oBSD
Posts: 119

Rep: Reputation: 24
Sorry if this workaround doesn't suit your needs, but if this machine is only to serve local mail (this is the assumption I'm not sure is applicable), why not just block traffic from external sources?

-----------------
edit: I've never used postfix, so cheating was the only idea I had. But if you want a SOLID answer, refer to the post by r0b0 below.

PS: dm0nkz, I want to point out that your question is VERY well set up and formatted. Maybe that's why I felt the need to reply in the first place, because your question is phrased so well I almost felt like I knew what I was doing.
;)

Last edited by zedmelon; 09-03-2004 at 11:58 AM.
 
Old 09-03-2004, 03:08 AM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Check out the excelent tips from Ralf Hildebrandt especially Postfix smtpd_restriction_classes for Dummies and Part 2 and Part 3.
R.
 
  


Reply


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
My email server sends mails but does not receive hubergeek Linux - Networking 2 07-14-2010 09:27 AM
Fedora COre 3 : Some users cannot receive email alphaque Linux - Networking 3 01-19-2005 05:40 AM
can't receive local email? jimzipper Linux - Software 0 05-24-2004 06:58 PM
Im cant receive mails!!!! emilioestevezz Linux - Networking 6 05-11-2004 04:34 AM
not able to receive mails ssrikant Linux - Networking 4 05-05-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:08 PM.

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