From: Steven Moix (no email)
Date: Wed Oct 01 2003 - 07:12:02 EDT
Peter H. Coffin wrote:
>On Sun, Sep 28, 2003 at 11:48:31PM +0200, Ralf Hildebrandt wrote:
>
>
>>* Peter H. Coffin <>:
>>
>>
>>>On Sat, Sep 27, 2003 at 03:18:46PM +0200, Steven Moix wrote:
>>>
>>>
>>>>Hello!
>>>>I have ŕ webserver + mailserver (Postfix 1.1.12). I have separated the users
>>>>as follow on the server:
>>>>- UID 500 to 1000: ftp users to update their website
>>>>- UID 1000 to infinite: mail users
>>>>
>>>>I would like to restrict the access to postfix to the users between UID 500
>>>>and 1000, is this possible (no access)?
>>>>
>>>>
>>>Make a list of the user IDs in the 500-999 range. Tack "\tREJECT" onto
>>>the back end of each line in the list. Postmap the results and add a
>>>recipient check.
>>>
>>>
>>How does one check for the UID as RECIPIENTS?
>>
>>
>
>the list Steven makes contains the localpart of the email address.
>passwd.name, not passwd.uid.
>
>
>
Ok, sorry for the late responding, I was away a couple of days.
I finaly used "local_recipient_maps = $alias_maps unix:passwd.byname"
and it works for what I wanted. I'm just unsure what
"unix:passwd.byname" is for...could someone explain?
Steven
|
|
|