Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-05-2011, 02:02 AM
|
#1
|
Member
Registered: Mar 2011
Posts: 32
Rep:
|
Regarding squirrel mail global address book
I have configured qmaill with mysql database and i am using squirrel mail as a webbase client. I have used qmailadmin to create users email id. user which are create using qmailadmin or vpopadmin are able to login into squirrel mail webbase client. But I am not see those user in squirrel mail global address book. please help and provide me prodedure to create global addres book where i can see all user created using qmailadmin or vpopmail.
|
|
|
04-05-2011, 04:26 AM
|
#2
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
|
Hi,
Since squirrelmail addressbook use a csv file format, accrding to this, you can use phpmyadmin to export your users table from mysql in csv format.
Then you can move this file in the data directory of squirrelmail and run conf.pl to specify that file as global addressbook.
Regards
|
|
|
04-05-2011, 05:39 AM
|
#3
|
Member
Registered: Mar 2011
Posts: 32
Original Poster
Rep:
|
Hi,
currently I am using mysql to store information like addressbook. I am creating user using vqadmin in qmail but that created user not refelecting inm mysql database. I have created rtscmail.mysql in ~vpopadmin/etc/ folder.
please suggest how to use mysql as backend database to store vqadmin user information....
Thanks in advance...
|
|
|
04-05-2011, 06:33 AM
|
#4
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
|
I'm not using mysql to store users data, but if you bother searching, I guess you can find lots of answers.
First hit on google is this. There is also a qmailrocks specific setup (if you use QMR), but currently the site is down.
Or you can have a look here (written for debian), but the configuration is the same regardless distro.
|
|
|
04-05-2011, 09:28 AM
|
#5
|
Member
Registered: Mar 2011
Posts: 32
Original Poster
Rep:
|
hi,
I have followed the procedure as per the giving site. i have created database vpopmail. but when i created user using vqadmin. User information like email address and name are not showing in vpopmail databse.
any thing i need to create table for that.
Help me on this...
|
|
|
04-05-2011, 10:42 AM
|
#6
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
|
Quote from the 1st link above:
Quote:
To add a mailbox:
/home/vpopmail/bin/vadduser someone@yourdomain.com apassword
(Or you can do it via qmailadmin)
|
|
|
|
04-06-2011, 04:59 AM
|
#7
|
Member
Registered: Mar 2011
Posts: 32
Original Poster
Rep:
|
Hi
i have ran above command use are showing in qmailadmin and vqadmin. but not in vpopmail database which i have created during installation. Is there any tables need to be create in vpopmail database so qmailadmin or vqadmin can write info in vpopmail database....
|
|
|
04-06-2011, 05:15 AM
|
#8
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
|
Why don't you read the documentation. Again from the 1st link above:
Quote:
# log into MySQL as the MySQL root user
# and then create the database for vpopmail to use
# and then setup the appropriate permissions on this database
/usr/local/mysql/bin/mysql --password="mysql-root-pwd"
CREATE DATABASE vpopmail;
GRANT select,insert,update,delete,create,drop ON vpopmail.*
TO vpopmailuser@localhost IDENTIFIED BY 'vpoppasswd';
quit
|
|
|
|
All times are GMT -5. The time now is 11:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|