Re: [ilugd] Virtual users mapped to system users

2011-05-21 Thread Raj Mathur (राज माथुर)
On Saturday 21 May 2011, Varad Gupta wrote: > > I'm trying to set up an IMAP server for virtual users with the > > following characteristics: > > - Server is handling multiple mail domains, say "foo.com" and > > "bar.com". > > > > - Mail for x...@foo.com gets delivered to system user x.foo.com; ma

Re: [ilugd] Virtual users mapped to system users

2011-05-21 Thread Raj Mathur (राज माथुर)
On Sunday 22 May 2011, Abhishek Kumar wrote: > why do you want to use /etc/password. use some enterprise directory > to authenticate against. > > For an enterprise if it is large (or grows to lare enterprise ) > having /etc/password replicated everywhere and in sync would be > calling for trouble.

Re: [ilugd] Virtual users mapped to system users

2011-05-21 Thread Abhishek Kumar
Hi Raj, why do you want to use /etc/password. use some enterprise directory to authenticate against. For an enterprise if it is large (or grows to lare enterprise ) having /etc/password replicated everywhere and in sync would be calling for trouble. use PAM + Openldap for directory and any

Re: [ilugd] Virtual users mapped to system users

2011-05-21 Thread Raj Mathur (राज माथुर)
On Saturday 21 May 2011, Varad Gupta wrote: > Pls see => > http://permalink.gmane.org/gmane.mail.imap.courier.general/27589 > > You can replace the SQL statements with grep/awk on /etc/passwd > > These and other similar lines will need to be replaced => > > SQL=($(dosql "SELECT uid,pw,mpath,mquo