Eduardo,
We use a firewall to solve this issue. We only allow IMAP from the
webmail server's IP address. In the event webmail runs on the same
box as IMAP, that would be 127.0.0.1. You could also use an SW
based firewall such as IPF on Solaris or FreeBSD, or Iptables on
Linux.
Probably not the answer you are looking for, but sometimes simple
solutions are missed so I thought I'd mention it.
---Aaron
> Guys, the issue I'm having here is that I want to:
>
> Default -> allow only pop3 for all users
> Exception -> some users will be able to use imap (webmail)
>
> I have tried using MYSQL_WHERE_CLAUSE imapok=1 (created it and set it
> up in mysql) in authmysqlrc (courier-authlib), but I figured it would
> block also pop3 (as I thought). So it means both pop3 and imap logins
> are checked against that same CLAUSE. How could I separate it, so that
> I have a separate flag for imap?
>
> Options I have so far:
> 1) modify webmail's source (better than next option)
> 2) modify courier's source (wouldn't like to but...)
> 3) some other flag/option I missed?? (hopefully)
>
> Best regards,
>
> --
> Eduardo Bacchi Kienetz
> LPI Certified - Level 2
> http://www.noticiaslinux.com.br/eduardo/
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Courier-imap mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap