From owner-freebsd-isp@FreeBSD.ORG Thu Apr 21 17:39:42 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 8CE5316A4CE for ; Thu, 21 Apr 2005 17:39:42 +0000 (GMT) Received: from materva.diewebmaster.at (materva.diewebmaster.at [80.66.42.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9F4043D2D for ; Thu, 21 Apr 2005 17:39:41 +0000 (GMT) (envelope-from christian.damm@diewebmaster.at) Received: from localhost (localhost.diewebmaster.at [127.0.0.1]) by materva.diewebmaster.at (Postfix) with ESMTP id C74012180E1; Thu, 21 Apr 2005 19:39:40 +0200 (CEST) Received: from materva.diewebmaster.at ([127.0.0.1]) by localhost (materva.diewebmaster.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03751-02; Thu, 21 Apr 2005 19:39:40 +0200 (CEST) Received: from [192.168.1.14] (da.diewebmaster.at [192.168.1.14]) by materva.diewebmaster.at (Postfix) with ESMTP id 159272180E0; Thu, 21 Apr 2005 19:39:40 +0200 (CEST) Message-ID: <4267E451.1040201@diewebmaster.at> Date: Thu, 21 Apr 2005 19:35:13 +0200 From: Christian Damm User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: Odhiambo Washington References: <20050420145207.GC60384@ns2.wananchi.com> <4266C4BA.1010205@diewebmaster.at> <20050421054035.GA82393@ns2.wananchi.com> <42676862.5040605@diewebmaster.at> <20050421101626.GE23284@ns2.wananchi.com> In-Reply-To: <20050421101626.GE23284@ns2.wananchi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at diewebmaster.at 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 17:39:42 -0000 Odhiambo Washington schrieb: > * 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. manpage > > > > >>>>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. > sorry, no i have not used 'couriertcpd'`s config options in the past (even in big complex setups there is mostly no need to tweak it). > > > 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 > > > > !DSPAM:42677d8a102471219324213! > -- mfg. christian damm technische leitung phone: dw 42 email: christian.damm@diewebmaster.at icq at work: 124464652 die webmaster - flötzerweg 156 - 4030 linz - austria phone: +43-732-381242, fax: +43-732-381242-22, isdn (leonardo): +43-732-381242-33 homepage: www.diewebmaster.at, public email: office@diewebmaster.at