You can make a realm in apache, create a group for all the 'mail users',
give access to the realm only to the 'mail users' group. Then, install
http_auth plugin and you're done

Only allowed users would gain access to SM !

le 10/03/05 2:15, Jason Kearns � [EMAIL PROTECTED] a �crit�:

> Hey everyone,
> 
> I've written about this a couple of times now and I'm starting to narrow
> down my problem.
> 
> Background:  Running Mac OS X Server (10.3.7) and SM works fine for all
> users who should have access to email.  Problem is that (valid) users who
> should NOT have access to email (set in pretty Mac GUI) are still allowed
> to log into SM.  Once they get in, they can send email (connected to SMTP
> server) but cannot recieve (no mail store).
> 
> What I would like to do is modify the SM login routine to check my LDAP to
> see if there is a valid mail store.  If there is, grant access, if not,
> deny access (like the usrname/pwd was incorrect).  Does anyone know:
> 
> 1. What file I should be modifying to change the login routine.
> 2. Any idea how to query LDAP (anything like SQL???) to find out if a user
> has a valid mail store?
> 
> Thanks!
> JK
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> --
> squirrelmail-users mailing list
> Posting Guidelines:
> http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
> List Address: [email protected]
> List Archives: 
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
> List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
> 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to