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.
Ok I'm able to sign in with mutiple users and they can receive their mail but when they send mail it's going out with my domain name rather then their domain name? Please see the above link to help with my question. I can't figure out how to set it up when a user send's mail it's coming from their domain name?
You could either use different Vhost docroot directories or you could have a look at the various virtual users plugins available from the sqiuirrelmail site. it the latter case users would login to their mailbox with email@example.com
MasterC has the easy way out I will go that route considering I have only three domain and four users! Thanks for all the help and advise! Also what would be the best way to back up everyone's mail? I was thinking about buring all the folders under /home directory to CD would this work? And would this save their user contacts they saved inside of Squirrelmail? Or do I have to burn the Squirrelmail directory to CD too?
It's all in Squirrelmail's config. You can choose where the addressbook lives. I personally love the perl script that comes with it. If you enter the squirrelmail directory, then:
It |should| start the config, and you can adjust the settings from there and see whats available. As for backing up the user's email, yes it should be inside their home directories (you can always check to be sure though, likely it's in a maildir .maildir or Maildir within the user's home dir), you'll want to make sure the burn will maintain proper permissions; search the board for info on using tarball backups instead, this is one [better/easier] way to maintain permissions and maybe even save some space if it becomes an issue.
Nice utility!! Ya everyone's home directory has a mail folder with their inbox and subfolders. I ran the *.pl script but I still couldn't see where the address books were being saved? I just *.tar the /home directroy and burnt it to cd hopefully that would be enough? Is there a program out there that will write data at a scheduled time each week to a CD/RW. That would be nice so it would back up data on it's own
Sorry I had to bump myslef But I still can't find out what file to backup for users address books in squirrelmail. I tar'ed the /home directory so I have all their mail backedup but I also want to backup their address books. And is there an automated software to tar directries on a scheduled date?
As for backin up routinely, there are a few options. If you check the forums many people will post up their style of doing routine backups so you can feel free to choose the one that suites you best. Just to let you get a feel for the basic idea:
cron is a tool that allows you to do scheduled tasks at specified intervals:
man cron OR
should give you more info on that. So you can do something along the lines of creating a script that tars the directories in question and place it in say, your cron.weekly directory (if you have one) in /etc And then once a week (to find out the exact day and time login as root and type:
it will execute the script. You will of course want to test your script first to make sure it suffices and actually works.
Now, the addressbook...
In the squirrelmail directory:
Should contain the info for each users addressbook. But that's default. If you have done LDAP or something else non-standard, then it'll be in your addressbook info in the perl script above.
You are the master I shall take a look into cron and try to develop a script to tar the certain directories I need to backup! Do you have any link on how to create the script? I shall man on cron and take a better look into this scheduling service. Thanks again for your help.
As for the cron job script, I'm by far no "scripter" but here's some knowledge for ya:
You don't have to be all fancy and put a bunch of "else, if, and, not" crap in there. You can simply throw up a command (I usually use full path in my scripts) and the arguments I want to add, one line at a time, save it as something easy to remember what it is (Like tarbackup) in the cron.weekly directory, and chmod 750 it (executable) chown it to root, and be done. Here's an example if you wanted to list all files in /tmp and then remove them (although this would be of no use, it's simply for example of how to write a script):
ls -lha /tmp
rm -rf /tmp/*
And that's it. See how it's straight forward. No worries, have fun, and good luck.