From owner-freebsd-isp@FreeBSD.ORG Sat Nov 29 08:04:40 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2AE016A4CE for ; Sat, 29 Nov 2003 08:04:40 -0800 (PST) Received: from cobra.acceleratedweb.net (cobra-gw.acceleratedweb.net [207.99.79.37]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C8F443F75 for ; Sat, 29 Nov 2003 08:04:37 -0800 (PST) (envelope-from simon@optinet.com) Received: (qmail 94461 invoked by uid 110); 29 Nov 2003 16:05:24 -0000 Received: from ool-18baaf5c.dyn.optonline.net (HELO win2kpc1) (24.186.175.92) by cobra.acceleratedweb.net with SMTP; 29 Nov 2003 16:05:24 -0000 From: "Simon" To: "freebsd-isp@freebsd.org" , "Odhiambo Washington" Date: Sat, 29 Nov 2003 11:04:26 -0500 Priority: Normal X-Mailer: PMMail 2000 Professional (2.20.2661) For Windows 2000 (5.0.2195;4) In-Reply-To: <20031129121911.GA41923@ns2.wananchi.com> MIME-Version: 1.0 Message-Id: <20031129160437.1C8F443F75@mx1.FreeBSD.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: POP3 but not IMAP X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 16:04:41 -0000 Yes, this is doable and has nothing to do with FreeBSD :-) You just need a custom authentication script which would only authenticate those few :-) Good luck, it works. -Simon On Sat, 29 Nov 2003 15:19:11 +0300, Odhiambo Washington wrote: >Hi Admins, > >I was reading an article on PAM and something interesting crossed my mind. >I am now thinking about giving services by discrimination;-) > >In our setup, everyone can do POP3. There are system users (no shells) >who can do both POP3 and IMAP. Now I want a situation where POP3 is >available to everyone while IMAP is only available to a few specified >individuals. This has been discussed in the following article (though >Linux-centric): > >http://www.samag.com/documents/s=1161/sam0009a/0009a.htm > >I believe it's doable with FreeBSD also. > >I could do this using that suggested method but I am putting all my >users in MYSQL db, but I still would like to achieve the same. I could >add a column for imap_enable for each user to achieve the effect of enable/ >disable IMAP access. > >Has anyone successfully done something akin to this? Perhaps using the >pam_mysql module or other app? > > > >-Wash > >http://www.netmeister.org/news/learn2quote.html > >-- >+======================================================================+ > |\ _,,,---,,_ | Odhiambo Washington >Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com > |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 > '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 >+======================================================================+ >