LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-04-2003, 01:59 PM   #1
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Rep: Reputation: 15
Adding squirrelmail users.....


Hello All,

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 ?

Regards,
Tina.
 
Old 06-04-2003, 02:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You don't do it via squirrel - you need to do it however your IMAP server does it.
 
Old 06-04-2003, 02:21 PM   #3
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
I need to create a user webmaster@mydomain.com. How do I create this users?

Thank you
 
Old 06-04-2003, 02:24 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What IMAP server are you using?
 
Old 06-04-2003, 02:31 PM   #5
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
IMAP4rev1 server
 
Old 06-04-2003, 02:50 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Sorry - I misunderstood your question.

You should just be able to create a new user called webmaster.
 
Old 06-04-2003, 02:59 PM   #7
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
I have five different domains on my server.

eg.
mydomain1.com
mydomain2.com
mydomain3.com
mydomain4.com
mydomain5.com

I need to create mail user 'webmaster' for each domain:

webmaster@mydomain1.com
webmaster@mydomain2.com
webmaster@mydomain3.com
webmaster@mydomain4.com
webmaster@mydomain5.com

How do I create this users? Each should have a different mailbox.

 
Old 06-04-2003, 03:03 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.
 
Old 06-04-2003, 03:31 PM   #9
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
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.

Thankx a lot,

Tina....
 
Old 06-04-2003, 03:39 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
For qmail - take a look at:
http://web.infoave.net/~dsill/lwq.html#aliases

This is the best qmail guide I know of.
 
Old 06-04-2003, 03:41 PM   #11
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 06-04-2003, 08:50 PM   #12
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
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.

http://www.pipeline.com.au/staff/mbo...ail-server.htm
 
Old 06-05-2003, 01:28 AM   #13
tinaa
Member
 
Registered: Mar 2003
Posts: 58

Original Poster
Rep: Reputation: 15
Hello All,

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.

What should i do ?
 
Old 06-05-2003, 03:28 AM   #14
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Have you created a database called vpopmail and given permissions to a user called vpop with password vpop?
 
Old 06-05-2003, 07:16 AM   #15
cli_man
Member
 
Registered: Apr 2002
Location: New York, USA
Distribution: Redhat 7.2, 9.0 Slackware 9.1
Posts: 428

Rep: Reputation: 30
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:

./configure --with-mysqllib=/usr/bin --with-mysqlinc=/usr/bin

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding users Joe2003 Linux - Software 1 05-19-2005 10:20 AM
cyrus imap, user adding problem? SquirrelMail okan.yuksel Linux - Newbie 0 07-17-2004 04:51 PM
cyrus imap server & SquirrelMail, user adding problem? virU Linux - Software 0 07-14-2004 12:11 PM
Adding a user in squirrelmail with sendmail mithras Linux - Software 1 08-14-2003 07:22 PM
adding Users hextex Linux - Newbie 5 06-08-2001 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration