On Wednesday, Sep 3, 2003, at 00:25 US/Eastern, Zafar Rizvi wrote:
So my question is that Can i authenticate both virtual domain and defualt user with pop3 and imap. ?

i did this on a machine using userdb. i had to write a script which:

- read ~vpopmail/domains/*/vpasswd.cdb
- read /etc/passwd
- read /etc/shadow
- wrote /etc/userdb
- called "makeuserdb" to rebuild userdb's database files

while reading /etc/passwd i skipped users whose login group-id wasn't one of two specific groups. while reading /etc/shadow i only grabbed the encrypted passwords for those users i had selected from /etc/passwd.

and when writing out the /etc/userdb entries for the system users, i added "@domain.name" to the end of their userid, which meant that when users logged into POP3, IMAP, or webmail, they had to use a full email address just like the virtual users.

-----------------------------------------------
| John Simpson - KG4ZOW - Programmer at Large |
| <[EMAIL PROTECTED]>        http://www.jms1.net/ |
-----------------------------------------------


Attachment: PGP.sig
Description: PGP signature

Reply via email to