Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Sava Chankov
Delian Krustev wrote:
On Thursday 03 February 2005 21:17, Vesselin Kolev wrote:
   qmail.
 . 
 
(  ,  IMAP . 
  ,   ,   
 .  qmail
 /var/qmail/users/assign
,   ,  (sealed) , 
 
 (shell). Cyrus   ( 
http://asg.web.cmu.edu/cyrus/cyrus-overview-TOC.html):

A full Cyrus IMAP implementation allows a seamless mail and bulletin board 
environment to be set up across multiple servers. It differs from other IMAP 
server implementations in that it is run on sealed servers, where users are 
not normally permitted to log in. The mailbox database is stored in parts of the 
filesystem that are private to the Cyrus IMAP system. All user access to mail is 
through software using the IMAP, POP3, or KPOP protocols.

ACL- ( sieve )   
  ,IMAP:)

--
Sava Chankov  
research and development
http://www.blueboard.biz  

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Delian Krustev
On Friday 04 February 2005 11:51, Vesselin Kolev wrote:
 ,
  ,   
 ( 
  ) LDAP  
 . , 
  
 ,( 
  
 ).  
  ,  
LDAP   
 
 ...  
  
   ,
   pam.  
 LDAP,  
   .

M   .  
LDAP.

   ,  
 qmail,
 
  .

, .  ..

, ? 
  
 .  ,  
 qmail,
.   
 , Cyrus, 
 .   

.

   
, 
 :


 .   
   
  

(  , 
 IMAP .
,  
 
UID/GID?   
   
  ?
  
.


   
 
 .

 
  
 . .

, ..




A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Delian Krustev
On Friday 04 February 2005 12:41, Sava Chankov wrote:
 ,   ,   
(sealed) ,


(shell).

  . 
 
 shell/exec
   
web interface-a.qmail .

,


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Danail Petrov
  , 
   ( .?).
  ,.    
  
 500  ?

,
 

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Огнян Кулев
Vesselin Kolev wrote:
  
.
,FedoraRed Hat
 ;-)

,


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Alexander P. Panov
Danail Petrov wrote:
  , 
   ( .?).
  ,.    
  
 500  ?

,
 
  ,.  1251,  
   .   500   !!!  7000  ,  
   .   .

--
Best Regards
Alexander P. Panov
ICQ: 18926904
Tel: ++359 2 8725880
GSM: ++359 887 602185
www.evitatrade.com/alex
www.karatebulgaria.com/alex

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-04 Thread Sava Chankov
Vesselin Kolev wrote:
Sava Chankov wrote:
ldap_servers: ldap://ldap.domain.net ldap://ldap.domain.com
ldap_bind_dn: uid=golemiyat_chitatel,ou=People,dc=%2,dc=%1
ldap_bind_pw: nyakakva_parola
ldap_search_base: ou=People,dc=%2,dc=%1
ldap_auth_method: bind
ldap_filter: uid=%U
ldap_scope: sub
ldap_version: 3
   ,:
uid=golemiyat_chitatel,ou=People,dc=domain,dc=net
uid=golemiyat_chitatel,ou=People,dc=domain,dc=com
  .  , 
  ldaps://   
ldap_start_tls ,   LDAP .


  .. 
   :)  
 .
.
- , ,.
 Cyrus . web  
,  .
   ?
 ... .
 :)
--
Sava Chankov  
research and development
http://www.blueboard.biz  

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vesselin Kolev
,
  -   .   IMAP 
,LDAP   ?   
MTA (
   IMAPMTA, 
Perl)   socket map.


LDAP? LDAP   
DN (test.example.comLDAP 
  ou=People,dn=test,dn=example,dn=com,
mail.domain.net   ou=People,dn=mail,dn=domain,dn=net  ..). 
, IMAP   DN  
  (  )  ( 
   )   LDAP   
. 
LDAP (digest-MD5).

  Cyrus,  base DN 
   DN (..  
--DN   ,   
   DN. 
: 
 ( 
 ).

CourierDN ,   
 ,SMTP 
   MTA  
(DNS   
   SMTPSendmail,  
, ).

  .
 
   

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Sava Chankov
Vesselin Kolev wrote:
,
  -   .   IMAP 
,LDAP   ?   
MTA (
   IMAPMTA, 
Perl)   socket map.


LDAP? LDAP   
DN (test.example.comLDAP 
  ou=People,dn=test,dn=example,dn=com,
mail.domain.net   ou=People,dn=mail,dn=domain,dn=net  ..). 
dc=test,dc=example,dc=com (dc - domain component, 
   map-  DNS  LDAP)? .. LDAP
,,  
.

, IMAP   DN  
  (  )  ( 
   )   LDAP   
. 
LDAP (digest-MD5).
 (.. )  LDAP  
cyrus   -  auxprop   OpenLDAP  Howard 
Cho  saslauthd  Igor Brezac. .
,
LDAP , (referrals),
.

  Cyrus,  base DN 
   DN (..  
--DN   ,   
   DN. 
: 
 ( 
 ).
cyrus,ldap_
  ptloader , .  ,
   %1, %2, ... %9ldap_base 
-  man   imapd.conf,  
  :) %1-9 = domain tokens (%1 = tld, %2 = domain when %d = 
domain.tld), ..

ldap_base = dc=%3,dc=%2,dc=%1
.
   ,  LDAP-  LDAP ,  
:

root of LDAP
|
+---domain1.tld
||
|+---Group
|| |
|| +---cn=groupname
|| |
||...
||
|+---People
|  |
|  +---uid=username
|  |
| ...
...
+---domainN.tld
 -   
 LDAP 
   , ,   
 organizationalUnit .

   - IMAP:   postfix   
 cyrus  LMTP (Local Mail Transfer Protocol). 
   Diego Rivera, 
   (2.1.5). postfix, 
  : 1)  (  postfix 2.1.5,  
   ) 2)- 
postfix  2.1.,  2.0.x 

 MTA-   
  socket map   .

/ , 
  .

--
Sava Chankov  
research and development
http://www.blueboard.biz  

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vasil Kolev
On , 2005-02-03 at 13:58 +0200, Vesselin Kolev wrote:
 ,
 
   -   .  
  IMAP 
 ,LDAP  
  ?   

  MTA (
IMAPMTA, 
 
 Perl)   socket map.
 

,  postfix-ldap  
courier-imap,  
 LDAP? courier-   
  , 
MTA-  ..,   
  courier-mta,  
courier-imap.


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


Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vesselin Kolev
Sava Chankov wrote:
Vesselin Kolev wrote:
   
 LDAP? LDAP  
 DN (test.example.com  
  LDAP   ou=People,dn=test,dn=example,dn=com,  
  mail.domain.net   
ou=People,dn=mail,dn=domain,dn=net  ..). 

dc=test,dc=example,dc=com (dc - domain component, 
   map-  DNS  LDAP)? .. LDAP 
   ,
,  .

.  LDAP . 
  user
uid=user,ou=People,dc=test,dc=example,dc=com.

 (.. )  
LDAP  cyrus   -  auxprop   
OpenLDAP  Howard Cho  saslauthd  Igor Brezac.
 .,   
 LDAP ,
 (referrals),   
 .

saslauthd , 
 . ,  
saslauthd (  REALM): 
[EMAIL PROTECTED]  [EMAIL PROTECTED]

cyrus,ldap_  
ptloader , 
.  ,
   %1, %2, ... %9
ldap_base -  man   imapd.conf,  
  :) %1-9 = domain tokens (%1 = tld, %2 
= domain when %d = domain.tld), ..

ldap_base = dc=%3,dc=%2,dc=%1
.
   ,  LDAP-  LDAP 
,  :

root of LDAP
|
+---domain1.tld
||
|+---Group
|| |
|| +---cn=groupname
|| |
||...
||
|+---People
|  |
|  +---uid=username
|  |
| ...
...
+---domainN.tld
,  ,  
LDAP root   ,  sub  
.   
saslauthd   [EMAIL PROTECTED]  
domain1.tld?  .

...
,. LDAP 
. , 
:(

 MTA- 
socket map   .
Socket mapembeded USB ,  
  cyrus  lmtp  .  ,  
  (   cyrusv2),   
socket map.   Sendmail  Cyrus   :

http://anfi.homeunix.net/sendmail/rtcyrus-socket.html
 embeded :)   ..
 .
  

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vesselin Kolev
Vasil Kolev wrote:
,  postfix-ldap  courier-imap,  
 LDAP? courier- , 
MTA-  .., courier-mta,  
courier-imap.
 

.   postfix  MTA,
 MDAmaildir-   courier-imap.
 .  LDAP ,  
 IMAP
   LDAP   IMAP ?

  cyrus   -o,   
 Postifix  Sendmail
 socket  IMAP LDAP. IMAP 
,,  
( 
   ).
..
  ,.

 
   

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Sava Chankov
Vesselin Kolev wrote:
Sava Chankov wrote:
Vesselin Kolev wrote:
   
 LDAP? LDAP  
 DN (test.example.com  
  LDAP   ou=People,dn=test,dn=example,dn=com,  
  mail.domain.net   
ou=People,dn=mail,dn=domain,dn=net  ..). 

dc=test,dc=example,dc=com (dc - domain component, 
   map-  DNS  LDAP)? .. LDAP 
   ,
,  .

.  LDAP . 
  user
uid=user,ou=People,dc=test,dc=example,dc=com.

 (.. )  
LDAP  cyrus   -  auxprop   
OpenLDAP  Howard Cho  saslauthd  Igor Brezac.
 .,   
 LDAP ,
 (referrals),   
 .

saslauthd , 
 . ,  
saslauthd (  REALM): 
[EMAIL PROTECTED]  [EMAIL PROTECTED]
ldap_servers: ldap://ldap.domain.net ldap://ldap.domain.com
ldap_bind_dn: uid=golemiyat_chitatel,ou=People,dc=%2,dc=%1
ldap_bind_pw: nyakakva_parola
ldap_search_base: ou=People,dc=%2,dc=%1
ldap_auth_method: bind
ldap_filter: uid=%U
ldap_scope: sub
ldap_version: 3
   ,:
uid=golemiyat_chitatel,ou=People,dc=domain,dc=net
uid=golemiyat_chitatel,ou=People,dc=domain,dc=com
  .  ,   
ldaps://   ldap_start_tls ,   LDAP 
.

--
Sava Chankov  
research and development
http://www.blueboard.biz  

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vesselin Kolev
Sava Chankov wrote:
ldap_servers: ldap://ldap.domain.net ldap://ldap.domain.com
ldap_bind_dn: uid=golemiyat_chitatel,ou=People,dc=%2,dc=%1
ldap_bind_pw: nyakakva_parola
ldap_search_base: ou=People,dc=%2,dc=%1
ldap_auth_method: bind
ldap_filter: uid=%U
ldap_scope: sub
ldap_version: 3
  :),  
   mail.domain.com  domain.net?   
  [EMAIL PROTECTED],  dc=%2,dc=%1   
dc=mail,dc=com..   [EMAIL PROTECTED] dc=%2,dc=%1 ,  
dc=domain,dc=net. dc=mail  
   ?

   ldap_search_base: 
ou=People,dc=%3,dc=%2,dc=%1  [EMAIL PROTECTED], 
dc DN.

 ?
 


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Delian Krustev
On Thursday 03 February 2005 21:17, Vesselin Kolev wrote:

   qmail.

  .   
   
   

 (  , 
  IMAP . 

  ,   ,   

 .  qmail 
   
 /var/qmail/users/assign

   
 , 
  
 UID/GID?   
   
   ?   
   
 .

  
  uid/gid,  
   .  

  .qmail   web interface, 
 
   .qmail 
. 
.. Maildir quotas.

   qmail. DJB 
   
  .

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vasil Kolev
On , 2005-02-03 at 21:17 +0200, Vesselin Kolev wrote:
 Vasil Kolev wrote:
 
  imap 
, 
  .   
  -
 ,  
, 
 .
 
  ,   
   LDAP-
 .
   
 
  .   

   
 
 (  , 
  IMAP .
 , 
   
 UID/GID?   

   ?   

 .
 
  ,  ... 
  
UID-,  
 ,   
 -  
 UID-.

 --  - 
   nss-ldap
   ,  

  LDAP- :) 


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


Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vesselin Kolev
Delian Krustev wrote:
On Thursday 03 February 2005 21:17, Vesselin Kolev wrote:
   qmail.
 

 ...
  ,   ,   
 .  qmail
 /var/qmail/users/assign
 

  ... 
  .LDAP   
 ... ( ).

uid/gid,  
   . 

 
  .qmail   web interface,  
   .qmail . 
.. Maildir quotas.
   qmail. DJB
  .
 

 DJB,  qmail.   
 Cyrus  Courier (),  
 Communicate Gate Pro, 
  Netscape.


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: LDAP based IMAP virtual hosting

2005-02-03 Thread Vesselin Kolev
Sava Chankov wrote:
ldap_servers: ldap://ldap.domain.net ldap://ldap.domain.com
ldap_bind_dn: uid=golemiyat_chitatel,ou=People,dc=%2,dc=%1
ldap_bind_pw: nyakakva_parola
ldap_search_base: ou=People,dc=%2,dc=%1
ldap_auth_method: bind
ldap_filter: uid=%U
ldap_scope: sub
ldap_version: 3
   ,:
uid=golemiyat_chitatel,ou=People,dc=domain,dc=net
uid=golemiyat_chitatel,ou=People,dc=domain,dc=com
  .  , 
  ldaps://   
ldap_start_tls ,   LDAP .


  .. 
   :)  
 .

 Cyrus . web  
,  .

 ... .
 
   

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html