Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Hi all. I have been trying for almost a week now to get my email system up and running. I have decided to install qmail because i read that the configuation was preatty easy, and it's secure. My problem is that i don't really understand how all of these programs are working together.
My main problem right now is as follows:
I wrote the start-up script and linked to it from /etc/rc.d/init.d
in the file it calls for "svc /service/qmail-smptd" and what not a bunch of times. these files are in /var/qmail/supervise, so i created the directory /service and linked it to /var/qmail/supervise
when i run /etc/rc.d/init.d/qmail start, I get this message:
qmail-send supervise not running
qmail-smtpd supervise not running
I have installed fcron ucspi-tcp and daemon tools, but I don't understand to make it all work the way i want.
I have a small network in my house behind a lynksys router going to a dsl connection. I at least want to be able to check my email accounts with mutt. I don't know how the hell i ended up playing around w/ the server stuff, but now i have to finish the job so i can get rid of redhat. Any help would be a lot of help. thanks for your time
I am still having trouble w/ the log stuff though, when i do stat, it says they've been up for either 1 or 0 seconds, but no more:
[/usr/sbin][03:28:14]> qmailctl stat
/etc/service/qmail-send: up (pid 1323) 1020 seconds
/etc/service/qmail-send/log: up (pid 3548) 1 seconds
/etc/service/qmail-smtpd: up (pid 1329) 1020 seconds
/etc/service/qmail-smtpd/log: up (pid 3549) 1 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Sounds like either your log service scripts are broken or the log dir doesn't exist or is unwriteable. Stop qmail (qmailctl stop) and then post your log/run scripts and the output of running the log/run scripts manually.
Yeah, thanks i checked out the files and they needed to point to /usr/sbin rather than /usr/bin. Thanks for the tip.
What i really want to know (sorry if it's a dumb question, but i need an overall picture of what is going on), is how it all runs together.
I figure i have to configure mutt to check the correct format of mailboxes (right now, it says "/var/mail/root is not a mailbox" . Anywase, i got qmail-send and qmail-smpt working ... now what? where does ucspi-tcp and daemontools come in? can i configure so that users on my network send all mail through my isp's mail server (linux box is not a gateway). Do i still need something like fetchmail, or is that included with qmail?
Well, i'll be working away at this, so any help you guys could give me would be appreciated very much.
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Not sure what you mean by overall picture. Most mail clients will need to be configured to use Maildirs. From the daemontools site - "daemontools is a collection of tools for managing UNIX services". ucspi-tcp contains tcpserver which qmail uses to accept incoming tcpconnections.
After applying my n00bish skillz on the problem, and with the help of that link, I concluded that the problem lies in the program "svscanboot" not being run at boot. When run from the commandline, qmail came up like a boner in the morning!
So the subsequent question is, why dosent it start at boot? How do I make it happen? I did install daemontools, latest edition with source, twice, but still no go.
There is no problem with the startupscript qmailctl. Its linked to all the nice rc.d directories and if I start svscanboot and then use the script, qmail pops up and down at my command with logs and all. I followed the "life with qmail" thing first, however it gave an error on the qmail-smtpd/run file (missing ']') in the script. Then I took the run scripts from the link that RKris gave me and those worked fine. BUT the svscanboot dosent load at boot!
I have these entries in the inittab file:
and at the last line:
The problem is that the files the first two lines refer to do not exist at all in my computer. However, the last line should start it up shouldnt it? Also in rc.d the last line is :
csh -cf '/command/svscanboot &'
And that should also start it up! (I think)
How do I start it up? And why are those files missing? How do I uninstall daemontools and install it again?
Huhu, after reading my own post I thought something was fishy in suburbia. Those mysterious first two lines in inittab were from my first attempt to install qmail and it was with some "supervise-scripts" wich I subsequently removed. So I just deleted those lines, moved up the /svscanboot to take their places, deleted the rc.d reference and voila! It runs smoothly as a river with no water!
Hi there !!!
i successfully installed net-qmail on fedora core1 and i didn't get any of your problems guys i got what you can call a CATASTROFE !!!
everything went fine untill i rebooted !! now smtp isn't working !!!!
i tried telnet on port 25 and i typed helo i got the response after ! MINUTE !!! the logs show no error !!!
someone told me maybe coz i didn't setup my DNS "although i did edit /etc/hosts" so, i configured bind "dig and dig - x work just fine"
BUT STILL THE PROBLEM REMAINS