kemas henry wrote:
> Hi All,
> 
> I'm building a postfix mailserver
>
Why not use courier? It has quite a nice SMTP-server :)

> with Courier pop3 and imap with ldap
> backend, everything runs ok.
> but now I like to separate several user so they can only use imap not pop3
> 
I did something like this with the mysql auth-backend.
There you can define your own SQL-query-string, so you'll
put sth. like
... AND allowedservices LIKE '%$(service)%'
there, then set the "allowedservices" column in your database to
imap:smtp

(I did this a few years ago, so take this as just a hint, you'll
 figure out how to do it yourself, I might be wrong about e.g. $(service),
 maybe that variable has some other name...)

hth,
-- 
Martin Schuster
Infineon Technologies IT-Services GmbH
Tel: +43 5 1777 3517
<[EMAIL PROTECTED]>

Lakeside B05
9020 Klagenfurt, Austria

FB: LG Klagenfurt, FN 246787y

VISIT US AT http://www.infineon.com/austria

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to