Qmail - Starting From Scratch
I'm starting this thread to use instead of the "Qmail Error" thread (which I sort of Commandeered) so that those who subscribed to that thread early will not be bothered by all our posts.
I have been attempting to install Qmail and a host of supporting software, using the "how-to" page located here: http://sylvestre.ledru.info/howto/ho...l_vpopmail.php I got this location from the sig of another poster, and he (DonBoy) has been good enough to provide me with a constant supply of advice. Here was one of the last posts on the "Qmail Error" thread: Quote:
|
Sooo... I'm starting over.
I will start by shutting down Qmail. and going through the How-To and deleting all the files and directories I had added. I will also see if there is an easy way to uninstall Qmail as well. Stay tuned! :cry: D. |
have you tried http://www.qmailrocks.org/ ?? =) [EDIT] at the time i posted originally i really didn't understand what this thread was about as i was really sleepy, so my original post was unintentionally quite rude when taken in that context... |
Hey dadepfan, I'm still here with you.
To kill qmail, just go to the /etc/inittab file and comment out that line that says SV:123456:respawn:/command/svscanboot. Now do "kill -HUP 1" and it should stop qmail completely. Do a ps -ef and see if there are any qmail-related processes going. Post the output here if you're in doubt, but there shoudl be none. To delete qmail, you can just do... rm -rf /var/qmail and that will take care of 90% of it. Since you're starting over from scratch, I suggest getting rid of the users and groups you made in the last install, and get rid of ucspi-tcp and daemontools stuff also. Basically just go through the last howto you used and reverse everything you did so that there are no traces of a prior qmail install. Good luck man. *thumbs up* |
Yes, I'm doing all that.
But for now, I going to bed!:o |
Good morning all!
Today I'm going to start installing Qmail (and other stuff) again, using the guide here: http://sylvestre.ledru.info/howto/ho....php#tcpserver First, I'll complete the removing of all the stuff from the last try at installing this. Here are a couple of questions (for anyone) regarding the "how-to" I'm using. 1. The guide is all command-line work, and it does not specifically tell me exactly where I should be located (in Konsole). What directory should I be positioned in? For most things, it does not seem to matter, I usually go the the directory above the one being created by the 'mkdir' command because the following command usually moves me into the new directory. But it is not clear in all the guide sections. 2. This guide installs Qmail 1.03, and then applies patches. Can I substitute the latest netqmail? If I do, should I change the instructions to name directories and files netqmail? If I still run the patches, will it mess anything up? 3. Where can I get perl-suid for step 10 in the guide?? On this install, I'm going to go slower and ask questions whenever I see something wrong. Thanks, D. |
I'm in step 1 (installing QMail) of the http://sylvestre.ledru.info/howto/ho....php#tcpserver guide. I used netqmail-1.05 instead of qmail, and ran the ./collate sh as per the readme. That seemed to apply a patch, but the above guide applies 5 patches in step 1.3. Is the netqmail patch all-inclusive? When I try the "wget" command from the guide for the additional patches, I get the following for some of them:
Quote:
D. |
I decided to go back to just installing qmail-1.03 instead of netqmail-1.05. There were too many naming differences in the guide (http://sylvestre.ledru.info/howto/ho....php#tcpserver).
I also got around the "forbidden" problems I posted in my last post, by downloading the files from a different site. Now, I am at step #3 in the guide (TCPserver), and when I get to the next-to-last command in this section (make setup check) I get the following: Quote:
Anyone have an idea about this?? D. |
Sorry - never mind my last post. I found a qmaild process that said something about TCP, so I shut it down, and the command worked.
D. |
>> What directory should I be positioned in?
I think you want to start in /usr/local/src and the guide assumes you are downloading everything into that dir and then unpacking stuff in there. So under /usr/local/src, there should be your qmail-1.03 and so forth. After you begin using the guide, it should tell you to change directories when needed. >> Can I substitute the latest netqmail? Yes, but there are going to be some patches that don't apply. For example, in Netqmail they are taking care of the errno patch and I believe also the 0.0.0.0 patch, so you don't need to apply the pathes in the howto. Generally, you can apply whatever patches and use whatever qmail you want. >> If I do, should I change the instructions to name directories and files netqmail? Yeah, if you decide to use netqmail, you'll want to pay attention to the howto and always substitute "netqmail-1.05" instead of qmail-1.03. >> If I still run the patches, will it mess anything up? If you try to apply the patches from the howto into netqmail, I'm sure they will fail. >> Where can I get perl-suid for step 10 in the guide?? Wish I knew. Sorry. Also remember that you can always come back later and apply new patches afterwards. Even after you get everything up and running, you can always download the source again, apply the patches, and then run "make setup check" and it will overwrite your current setup with the new stuff. So applying patches later is very easy. Looks like you are doing great! Sorry I wasn't here to answer your q's before, but I was out and about running errands today. |
I am in the vpopmail section of the install guide (section 4), and the creation of the mysql vpopmail database seemed to go fine. However, the little test in the guide does not work:
Quote:
Quote:
D. |
OK, I am in the vpopmail section of this guide (http://sylvestre.ledru.info/howto/ho....php#tcpserver), and I may stop for a while because I have too many questions. It appears that this section is not as carefully written.
1. I've run the mysql commands, but I had to go in manually to give the two new users the appropriate permissions. The test still does not work (see my last post). 2. Also in the mysql commands, are we supposed to enter 'pass' and 'pass2k' literally, or are we supposed to enter real passwords? 3. In the actual installation part of the vpopmail section, it appears that I should be in the /home directory when I start, but it does not clearly say that. And finally, what do the following mean: [quote] apt-get install libmysqlclient10-dev If you are under debian, otherwise, you must have the mysql sources available apt-get install zlib1g-dev If you are under debian, otherwise, you must have these sources available [quote] I'm using SuSe 9.1, so where do I find the "source" code and how do I make it available?? Thanks, D. |
from the vpopmail section of the qmailrocks.org guide:
Quote:
|
Thanks Win32Sux...
I've been on that site, but I'll go back and read the vpopmail section. Will it tell how to install vpopmail without the mysql stuff? Maybe all I have to do is skip those commands?? Thanks, D. |
Quote:
=) when clicked, it takes you here: http://www.qmailrocks.org/vpopmail_std.htm |
All times are GMT -5. The time now is 07:54 PM. |