Re: [Dovecot] Can I translate the userid to match the UW-POP3 server?

2008-10-12 Thread Albert E. Whale
Timo Sirainen wrote:
> On Oct 12, 2008, at 7:05 AM, Albert E. Whale wrote:
>
>> Now the Dovecot server is very flexible and currently I have not found
>> how to translate the upper case characters to lowercase.
>>
>> What configuration setting will translate the userids to lowercase?
>
> Easiest way is to use
>
> auth_username_format = %Lu
>
Perfect.  Thank you.

-- 
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network, Risk Assessment and Systems Consultant

ABS Computer Technology, Inc.  - Email,
Internet and Security Consultants
SPAMZapper  - No-JunkMail.com
 - *True Spam Elimination*.


Re: [Dovecot] dovecot 1.2: dict no longer really support DICT_ITERATE_FLAG_RECURSE

2008-10-12 Thread Timo Sirainen
I did several fixes to dict iteration. Now it should work as I intended
(which is also hopefully how you want to use it):
http://hg.dovecot.org/dovecot-1.2/rev/72b7277aefb3



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] Different authentication for pop3 and imap

2008-10-12 Thread sh1ny

Thanks, ill try that :)

Timo Sirainen wrote:

On Oct 12, 2008, at 9:44 AM, sh1ny wrote:

Is it possible to run different authentications for pop3 and imap ? 
What i need is to give access to some clients to pop3 only and to 
other to imap only. I'm using postgres as a backend. What i actually 
need is 2 separate queries for userdb, one to select with "WHERE 
imap_access = 1" and the other one with "WHERE pop3_access = 1" ( 
that's just an example ). I'm using 1.1.2 but i plan on upgrading to 
either 1.1.4 or 1.2.


You could use something like:

password_query = \
  select .. where .. and '%s' = 'pop3' and pop3_access = 1 \
  union select .. where .. and '%s' = 'imap' and imap_access= 1





Re: [Dovecot] Multiple ldap_search_base in dovecot-ldap

2008-10-12 Thread Timo Sirainen

On Oct 11, 2008, at 8:39 AM, dongthao wrote:

Can we use multiple ldap_search_base fields in a dovecot-ldap config  
file?


Not directly, but you can create multiple ldap userdb/passdbs with  
different config files.




PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Can I translate the userid to match the UW-POP3 server?

2008-10-12 Thread Timo Sirainen

On Oct 12, 2008, at 7:05 AM, Albert E. Whale wrote:


Now the Dovecot server is very flexible and currently I have not found
how to translate the upper case characters to lowercase.

What configuration setting will translate the userids to lowercase?


Easiest way is to use

auth_username_format = %Lu



PGP.sig
Description: This is a digitally signed message part


Re: [Dovecot] Different authentication for pop3 and imap

2008-10-12 Thread Timo Sirainen

On Oct 12, 2008, at 9:44 AM, sh1ny wrote:

Is it possible to run different authentications for pop3 and imap ?  
What i need is to give access to some clients to pop3 only and to  
other to imap only. I'm using postgres as a backend. What i actually  
need is 2 separate queries for userdb, one to select with "WHERE  
imap_access = 1" and the other one with "WHERE pop3_access =  
1" ( that's just an example ). I'm using 1.1.2 but i plan on  
upgrading to either 1.1.4 or 1.2.


You could use something like:

password_query = \
  select .. where .. and '%s' = 'pop3' and pop3_access = 1 \
  union select .. where .. and '%s' = 'imap' and imap_access= 1



PGP.sig
Description: This is a digitally signed message part