Tom Collins wrote:
On Mar 2, 2008, at 11:39 PM, Alessio Cecchi wrote:
Il Friday 29 February 2008 18:46:37 Tom Collins ha scritto:
There is someone who is able to disable access IMAP except for
webmail (login
via localhost) ?

Recent versions (like the past year, at least) include a list of IPs
for which IMAP connections are considered "webmail" and don't get
rejected for users who don't have IMAP access.

Look in vchkpw.c for a 127.0.0.1 -- that's where the list is.

Thanks Tom,

my webmail already uses 127.0.0.1 (localhost) as IMAP host. In my vchkpw.c 127.0.0.1 is already included this address, but vmoduser -i has no effect.

Someone using this option with success?

Thanks


Ah, I think I know what the problem is.  Courier-IMAP doesn't use vchkpw.

Switch to dovecot (what many have switched to) or binc-imap.

--
Tom Collins  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/







I am not restricting imap access to web client only but my understanding is courier CAN use vchkpw.

Look for this part in courier's authdaemonrc

##NAME: authmodulelist:2
#
# The authentication modules that are linked into authdaemond.  The
# default list is installed.  You may selectively disable modules simply
# by removing them from the following list.  The available modules you
# can use are: authuserdb authpam authshadow authcustom authvchkpw authpipe

I have mine set to authmodulelist="authvchkpw" as described here http://www.gentoo.org/doc/en/qmail-howto.xml Section 4.2

Read more at http://www.inter7.com/courierimap/INSTALL.html#authmods



!DSPAM:47cf5dfa120501763192180!

Reply via email to