[vchkpw] Limit local user's e-mail

2002-08-31 Thread Jeremy Oddo

Does anyone know if there's an easy way to deny SOME users the right to
e-mail outside our organization?  For example, let's say I have three
users:  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]  I would like
user1 and user2 to be able to e-mail anyone over the Internet.  But I'd
like to restrict user3 to ONLY be able to e-mail those people in his
domain, meaning, he can only e-mail user1 and user2.

How does one go about setting this up?


Thanks,
Jer





Re: [vchkpw] Limit local user's e-mail

2002-08-31 Thread Dzuy Nguyen

You might want to take a look at maildrop.  Per user configurable and 
has regex rules for delivery.

Jeremy Oddo wrote:

Does anyone know if there's an easy way to deny SOME users the right to
e-mail outside our organization?  For example, let's say I have three
users:  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]  I would like
user1 and user2 to be able to e-mail anyone over the Internet.  But I'd
like to restrict user3 to ONLY be able to e-mail those people in his
domain, meaning, he can only e-mail user1 and user2.

How does one go about setting this up?


Thanks,
Jer









Re: [vchkpw] Limit local user's e-mail

2002-08-31 Thread Ken Jones

On Saturday 31 August 2002 07:33 pm, Jeremy Oddo wrote:
 Does anyone know if there's an easy way to deny SOME users the right to
 e-mail outside our organization?  For example, let's say I have three
 users:  [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]  I would like
 user1 and user2 to be able to e-mail anyone over the Internet.  But I'd
 like to restrict user3 to ONLY be able to e-mail those people in his
 domain, meaning, he can only e-mail user1 and user2.

 How does one go about setting this up?


 Thanks,
 Jer

Take a look at the NO_RELAY flag that can be set for any user

vmoduser -r email@domain 

It won't set the RELAY flag for the smtp server, so the user can only
send email to domains that are on that server (in the rcpthosts file).

Ken Jones