From: Stephen L. <sp...@pl...> - 2002-08-12 19:05:54
|
On Mon, 2002-08-12 at 11:53, Jordan Dahlke wrote: > On 12 Aug 2002, Stephen Lee wrote: > > > On Mon, 2002-08-12 at 10:31, Jordan Dahlke wrote: > > > My webserver and imap server are running on the same machine. The > > > suggestion to reduce overhead in the faq was that SM could use regular > > > imap over the localhost without causing a security problem instead of > > > stunnel. I want users to be able to use imaps from anywhere though. > > > Since imap and imaps both call the imapd server I don't know how to > > > configure inetd to only accept imap connections from the localhost while > > > still accepting imaps connections from the world. Your > > > help is greatly appreciated. > > > > > > > Why not use /etc/hosts.allow to do your work. Simply specify imap access > > from 127.0.0.1 only. > > > > Stephen > > > > > The problem with that is that it blocks imaps also since to my knowledge > it blocks based on the daemon that is run by the port. Since imapd is run > by both imap and imaps they both are blocked unless I am missing > something. > But IMAP runs on port 143 and IMAPS should run on 993. At least that's how it works with my copy of Courier imap. Try "lsof -i | grep imap" and see what ports Courier is listening on. Stephen Stephen |