Martin Schuster (IFKL IT OS DSM CD) wrote:
> 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
>
>
yes, something like that. I search the mail archive and found similar
topic on 2008-02-15.
The "options" field can hold something like "disableimap=1" or
"disablepop3=1".
but the talk is short and I just can't figure out how he did it ;-(
> (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,
>
--
==============================================================================
That's life.
What's life?
A magazine.
How much does it cost?
Two-fifty.
I only have a dollar.
That's life.
==============================================================================
-------------------------------------------------------------------------
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