Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

how to restrict selected users in /etc/postfix/valias to send mail to distribution id

Reply to Post Add a New Topic
UserPost

1:19 am
June 11, 2010


shanmugasundaram s

Member

posts 45

Hi Consultant

                  Can you guide me how to restrict the users in ditribution list should not send mail to the distribution id . I want to allow only certain users in mailiing list to send mail to distribution id others should not send mail to DL id.

                   I have followed postfix aliases and mailling list topic and created the mailing list in /etc/postfix/valias file.

ex: The file /etc/postfix/valias contains entry like this

group@localhost.com one@localhost.com two@localhost.com three@localhost.com

i want one@localhost.com to send mail to group@localhost.com and other two users should not able to send  mail to group@localhost.com

                  How to make like this pls reply for this soon.

                  Thanks in advanceConfusedConfused

5:54 am
June 11, 2010


consultant

Admin

posts 341

3:22 am
June 14, 2010


shanmugasundaram s

Member

posts 45

Hi,

    postfix restrict senders or recipients topic deals with full restriction to the users but i want for particular mail id the user should not sent mail and for remaining mail ids in the domain he should able to sent mail. Actually i am using dirstribution list, so the users should get mail from the dirstibution id but they should not able to send mail to that id.only some users can able to send mail to distibution id .

  How to do like this,pls reply me soon.since i am running out of time.

9:33 am
June 14, 2010


consultant

Admin

posts 341

The topic is about configuring your restrictions, whatever it may be. Just define the rule you need. Something like

 

/etc/postfix/sender_access

johndoe@acme.local disallow_list

acme.local OK

 

/etc/postfix/disallow_list

list@acme.local REJECT

acme.local OK

4:01 am
June 15, 2010


shanmugasundaram s

Member

posts 45

Hi Consultant,

               Thanks for your help . It works fine.

 

2:43 am
June 23, 2010


shanmugasundaram s

Member

posts 45

Hi consultant,

                    By doing the above step, i can able to restrict the user to send mail to some addresses.But now, what happened is when i login as that user i cant able to send mail to gmail.com, yahoo.com and other outside domains. if i give explicitly in disallow_list file gmail.com OK then only its going. how to make the user to send mail to other domains other than the restricted email id of local distribution list.please guide me.

Reply to Post

Reply to Topic:
how to restrict selected users in /etc/postfix/valias to send mail to distribution id

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
5 + 3
   


About the Linux Mail Server Setup and Howto Guide Forum

Forum Timezone: America/New_York

Most Users Ever Online: 60

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 5
Topics: 326
Posts: 1012

Membership:

There are 928 Members
There have been 84 Guests

There is 1 Admin

Top Posters:

shanmugasundaram s – 45
Kendermin – 15
Ginger – 14
bighorn – 14
iron_michael86 – 12
Raminda – 11

Recent New Members: RaHuL, bikesh, pappy_says, geos, boudi7, dara.hr

Administrators: consultant (341 Posts)