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.
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.
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.
I managed to configure the SM for all my virtual hosts and they are working fine on SSL now. but now my next problem is how do i configure new mailbox for a particular domain.
I have a domain.com website and a default user called dom1 and pass dom1. Now i want to create one more mailbox let's say webmaster@domain.com how do i do this with SM.
To put all this in a simple question.
How do i create mailboxes for a praticular domain. webmaster@domain.com,admin@domain.com etc ?
Ah - in that case I did understand your question better than I thought.
Create a real user that is to accept the mail and then use your SMTP server configuration to create an alias for the webmaster address and put mail in the real users account.
How you create the alias depends on the SMTP server you are using - eg qmail or sendmail.
Can you please post the a little howto eg. which conf files I edit and modify, in which file do I put the aliase etc. I am using qmail on my server. I am a really a newbie on this and trying to learn.
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 'webmaster@yourdomain.com' 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
Code:
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 03: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
Pass: vpop
Port: 3306
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 adc@domain.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
use vpopmail
if that doesn't give you any errors your database is probably right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.