[Mimedefang] Limiting delivery by *nix group

Jason Gurtz jason at jasongurtz.com
Thu Sep 30 16:27:13 EDT 2004


On 9/30/2004 15:53, Jeff Rife wrote:

> The need arose because our mail server gets its user list from Active 
> Directory, but not every one of the users listed there should get e-
> mail (a good example is all the "machine" users).  I can easily put all 
> the real e-mail users into a AD group which then maps to a *nix group.
> 
> So, all I need to do is check to see whether the user is in a 
> particular group and, if not, return a "550 User unknown" status.
> 
> How would I do this from within MIMEDefang?

Are you getting your users via LDAP?  Maybe best just to check for
`ou=mailGroup' or whatever?

~Jason

-- 



More information about the MIMEDefang mailing list