Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2003 15:19:11 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-isp@freebsd.org
Subject:   POP3 but not IMAP
Message-ID:  <20031129121911.GA41923@ns2.wananchi.com>

next in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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    <wash@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

--6c2NcOVqGQ03X4Wi
Content-Type: application/x-pkcs7-signature
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIIIpQYJKoZIhvcNAQcCoIIIljCCCJICAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BikwggLiMIICS6ADAgECAgMK3KkwDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkExJTAj
BgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
ZXJzb25hbCBGcm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