Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
For qmail aliases you need to do something like this. For incoming mail to forward to a local user (we'll call him "foo") you need to build a .qmail alias in the /var/qmail/alias directory. The files are named .qmail-(aliasname) and contain the local username of the person the mail is to forwareded to. So if you want mail for 'firstname.lastname@example.org' to forward to user 'foo' then you need to create a file called /var/qmail/alias/.qmail-webmaster, which will contain the local username to deliver the mail to.
Quick and dirty example
echo foo > /var/qmail/alias/.qmail-webmaster
then tell qmail to reload. If you're using a handy script like 'qmailctl' then it's as simple as 'qmailctl reload'
<edit> Killer linkage there, david_ross! Straight to the page section as well. Thanks for the extra effort.
Last edited by mcleodnine; 06-04-2003 at 04:43 PM.
I don't know how you have qmail set up, but on my servers (running qmail and vpopmail) I am using vqadmin and qmailadmin to add domains and users to the domains, this really works great and is really easy, (You can do anything from the web browser) You might want to check out setting that up.
If you are only setting up a couple of users, I probably wouldn't do the above setup, but if you will be adding domains and users regularly you might want to look at doing that.
I have setup vpopmail which was asked by qmaiadmin for compiling, so i did the compilation here it is.
I created a Database : vpopmail
User : vpop
and added the settings in vmysql.h file for MySQL UPDATE SERVER and MYSQL READ SERVER bit has the same settings
it compiles successfully but when i add the user from the command prompt
/home/vpopmail/bin/vadduser email@example.com "pass" it says:
Could not connect to MYSQL with root (Using Pass YES) but i am not using root users any where i am using vpop user.
I had that same problem, what the problem ended up being is that I didn't have the mysql lib and include files installed. If you installed mysql from rpm you need to install the mysql devel rpm, if you did it from source then you just need when you compile vpopmail to tell it where the lib and include files are, I think is was something like this:
check that statement, I am not in from of a machine with vpopmail to tell you for sure, but make sure your database is set up with the user vpop, make sure you can log into that database from the command line:
mysql -u vpop -p
if that doesn't give you any errors your database is probably right.