From owner-freebsd-isp@FreeBSD.ORG Thu Apr 21 10:16:31 2005 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 83DA716A4CE for ; Thu, 21 Apr 2005 10:16:31 +0000 (GMT) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9788443D4C for ; Thu, 21 Apr 2005 10:16:30 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.44 #0 (FreeBSD 4.11-STABLE)) id 1DOYjT-000OBc-79 by authid ; Thu, 21 Apr 2005 13:16:27 +0300 Date: Thu, 21 Apr 2005 13:16:26 +0300 From: Odhiambo Washington To: Christian Damm Message-ID: <20050421101626.GE23284@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , Christian Damm , freebsd-isp@freebsd.org References: <20050420145207.GC60384@ns2.wananchi.com> <4266C4BA.1010205@diewebmaster.at> <20050421054035.GA82393@ns2.wananchi.com> <42676862.5040605@diewebmaster.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42676862.5040605@diewebmaster.at> X-Disclaimer: Any views expressed in this message,where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.9i (2005-03-13) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.9i cc: freebsd-isp@freebsd.org Subject: Re: courier-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: Thu, 21 Apr 2005 10:16:31 -0000 * Christian Damm [20050421 11:51]: wrote: > > > Odhiambo Washington schrieb: > >* Christian Damm [20050421 00:08]: wrote: > > > >> > >>Odhiambo Washington schrieb: > >> > >>>Hello Sysadmins, > >>> > >>>Does anyone have any clues as to how I can easily limit access to my > >>>imapd daemon to just a few hosts? > >>>I am running courier-imap but looking at /etc/inetd.conf, I don't > >>>see how I could put it in there and hence use hosts.allow to control > >>>access. Google has not helped much, but again I may be searching using > >>>wrong keyword. > >> > >>1.) you can use the courier-suites own tcp server (quite similar to the > >>DJB tcp server), 'couriertcpd' - look into the manpage, it is able to do > >>ip restrictions and much more. > > > > > >This assumes that I use courier as the MTA, yes? > > > >In my case I only use the IMAP daemon. I use other MTA. > > > > no, if you look at your PS output you`ll see 'couriertcpd' running - > regardless which part of the courier suite you are using ('couriertcpd' > is the courier suites generic tcp server) You are damn right!! Now I just need to give it ACLs, you mean?? I need to find out HOW it is invoked and how I can pass it the arguments that will lead to the access control. > >>2.) dont know if it is possible to compile courier imap aginst libwrap > >>and use the tcp wrapper (hosts.allow). > > > > > > > >Perhaps this one might be better. I will look into this. > > > > method 1 is the best in any case imho. Have you used it before, by any chance? I could move quickly with some practical experience. Best regards, Odhiambo Washington Systems Admin, Wananchi Online Ltd. Are you hosting your domain name with the leaders??: See http://webhosting.info/webhosts/tophosts/Country/KE DISCLAIMER : http://ns2.wananchi.com/~wash/Email/disclaimer.txt ----------------------------------+----------------------------------------- Odhiambo WASHINGTON . WANANCHI ONLINE LTD (Nairobi, KE) http://www.wananchi.com/email/ . 1ere Etage, Loita Hse, Loita St., Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI ----------------------------------+----------------------------------------- "It is a tremendous feeling to have a customer ask for you by name or tell you that a customer referred him/her to you because of the level of customer service you provided inspired that much confidence." ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ He who finds a wife finds what is good and receives favor from the Lord. Proverbs 18:22