>> > I patched my squirrelmail with global mysql address book. >> > I can now add addresses to both local/personal and global address >> book. >> > >> > But still I want the ability to search / lookup for addresses/accounts > in >> > the global address book based on my logged domain. >> > >> > Thanks and Best Regards >> > Samir Noshy. >> >> abook_per_domain_rw-1.4.2.diff >> >> patch might fail to apply to read only install, but it modifies >> functions/addressbook.php only in three places and changes can be >> understood from diff. >> >> a) add $domain global. >> >> b) use ereg to extract domain from username. If user name does not have >> domain - use default domain. >> >> c) use domain name as owner field. > > Thanks Tomas, > > Now there is an abook per each domain, that's very good. > But I asked for was a little bit different , consider the following > scenario > : > > * I logged in as [EMAIL PROTECTED] > * I can go to the addresses and make a lookup or search for users based on > any criteria like fistname, email address or anything else. > * the search process contact my mysql DB. And lookup in it for my search > criteria AND my logged in domain " domain1.com". > *the search result may return something like that : > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > Is there any patch or plugin can do this ?
Do you mean that by searching in global address book you are able to get other domains. Domain field is used as owner field. Address book should list only records with same owner. Only one domain. There is no existing official plugins that use vpopmail database for global address book. I don't have information about the code that you are using. Have you tried to find a black cat in dark room? Have you tried debugging program on user's computer in phone conversation? -- Tomas ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
