Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-15 Thread Zhang Huangbin

On Dec 14, 2009, at 4:14 PM, Timo Sirainen wrote:

 On Dec 14, 2009, at 3:08 AM, Zhang Huangbin wrote:
 
 With LDAP, i simiplily add two more values:
 
 
 enabledService: sieve
 enabledService: sievesecured
 
 
 Is the sievesecured intentional? %s expands only to sieve, but %s%c could 
 also expands to sievesecured.

Yes, i use '%s%c' in dovecot-ldap.conf. :)

-- 
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
  CentOS, Debian, Ubuntu: http://www.iredmail.org/



Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-14 Thread Zhang Huangbin

On Dec 12, 2009, at 9:57 AM, Timo Sirainen wrote:

 On Dec 11, 2009, at 8:26 PM, Zhang Huangbin wrote:
 
 In dovecot-1.2, managesieve is identified as 'sieve' service while use 
 '%s'[1] in dovecot. Is it possible to change it? Because we store it in 
 SQL/LDAP as 'managesieve' service name, we don't want to change this.
 
 No. Also sieve is the official name for it, so it's not going to be 
 changed. http://www.iana.org/assignments/gssapi-service-names

OK.

 With SQL you could of course use some replace function in the SQL query. With 
 LDAP .. is it possible to do *%s?

With LDAP, i simiplily add two more values:


enabledService: sieve
enabledService: sievesecured


-- 
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
  CentOS, Debian, Ubuntu: http://www.iredmail.org/



Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-14 Thread Timo Sirainen
On Dec 14, 2009, at 3:08 AM, Zhang Huangbin wrote:

 With SQL you could of course use some replace function in the SQL query. 
 With LDAP .. is it possible to do *%s?
 
 With LDAP, i simiplily add two more values:
 
 
 enabledService: sieve
 enabledService: sievesecured
 

Is the sievesecured intentional? %s expands only to sieve, but %s%c could also 
expands to sievesecured.



[Dovecot] Is it possible to change service name of managesieve service?

2009-12-11 Thread Zhang Huangbin
Hi, list.

In dovecot-1.2, managesieve is identified as 'sieve' service while use '%s'[1] 
in dovecot. Is it possible to change it? Because we store it in SQL/LDAP as 
'managesieve' service name, we don't want to change this.

Thanks

[1] http://wiki.dovecot.org/Variables

-- 
Best Regards.

Zhang Huangbin

- Open Source Mail Server Solution for Red Hat(R) Enterprise Linux,
  CentOS, Debian, Ubuntu: http://www.iredmail.org/



Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-11 Thread Timo Sirainen
On Dec 11, 2009, at 8:26 PM, Zhang Huangbin wrote:

 In dovecot-1.2, managesieve is identified as 'sieve' service while use 
 '%s'[1] in dovecot. Is it possible to change it? Because we store it in 
 SQL/LDAP as 'managesieve' service name, we don't want to change this.

No. Also sieve is the official name for it, so it's not going to be changed. 
http://www.iana.org/assignments/gssapi-service-names

With SQL you could of course use some replace function in the SQL query. With 
LDAP .. is it possible to do *%s?