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.
The one big problem with qmail is the humongous mess it is. There are god knows how many versions out there, each with its own set of instructions and most of them are very old.
I am trying to install and run the default package in Debian 9. It has installed the following packages:
Now, it's not running. Maybe the bigger problem is that supervise isn't running either. All the instructions I have collected (including a VERY old installation script I made myself in 2004) include a ridiculousy long list of post-installation command lines, which I will never understand why they were not automated/included in the default installation in the first place. I will never understand why qmail has always had to be such an Ikea/Revell kit rather than a finished product.
Now, all the instructions I have often refer to /var/qmail/control/ which doesn't exist in the Debian package installation. And I don't know what else is different about it. I don't know which of all those endless post-installation command lines still have to be run or not, and if they will require any changes. Is that documented somewhere? The official Debian documentation clearly assumes you know qmail inside out and thus is not clear on many steps of the ordeal. Any guidance I can get here will be very appreciated.
I would suggest to start reading the qmail documentation here.
Regards
I am VERY familiar with that. I have read that half a dozen times over the course of many years. But the Debian package is different than that. Every "distro" of qmail is a little different from that. There are pitfalls all over the place.
I am VERY familiar with that. I have read that half a dozen times over the course of many years. But the Debian package is different than that. Every "distro" of qmail is a little different from that. There are pitfalls all over the place.
I think that apart installation, the qmail configuration is quite the same, i.e. you need to fill /var/qmail/control with the various needed config files (see this)
I think that apart installation, the qmail configuration is quite the same, i.e. you need to fill /var/qmail/control with the various needed config files (see this)
I am already familiar with that page too. I've had a copy in my HD for two weeks.
Thank you for telling me to google it. I don't know what I would do without your help.
This is my go-to for qmail installation.
Read it all, probably several times. Nearly everything one needs to know and do is there.
This is the author's site, for when one needs to go to the "source"
HTH
Edit: If you have a specific question about something qmail, please ask it. We'd be happy to help.
You are getting the responses you are because you haven't posted a specific question. We can't provide much help for "Now, it's not running. Maybe the bigger problem is that supervise isn't running either"
I, for one, am not interested in debugging the debian qmail "package" -- Read and understand what J.M. Simpson and D.J. Bernstein have written if you're going to use qmail.
This is my go-to for qmail installation.
Read it all, probably several times. Nearly everything one needs to know and do is there.
This is the author's site, for when one needs to go to the "source"
HTH
Edit: If you have a specific question about something qmail, please ask it. We'd be happy to help.
You are getting the responses you are because you haven't posted a specific question. We can't provide much help for "Now, it's not running. Maybe the bigger problem is that supervise isn't running either"
I, for one, am not interested in debugging the debian qmail "package" -- Read and understand what J.M. Simpson and D.J. Bernstein have written if you're going to use qmail.
What is different/specific about the Debian package and what post-installation command lines have to be run or not in its specific case is a pretty specific question... to anyone who wants to help rather than discredit the original poster (me) because yo-we-enforce-standards-around-here-mate. If you are "not interested" than it is my opinion that you should just very simply not participate in the thread. That's what I do about more than 99% of the threads that get posted in the "Zero Reply" section (rather because I unable to answer than not interested in helping but whatever), and I can assure you it's not a painful effort. It is quite the opposite. Puffing one's chest then judging and sternly lecturing people has absolutely become the most popular sport of all time, easily surpassing soccer, cricket, maybe even sex, but I get no value from that sport so I kindly ask that you go practice it with someone else. What you're doing to me is not consensual.
What is different/specific about the Debian package and what post-installation command lines have to be run or not in its specific case is a pretty specific question...
Point taken.
The answer can be found by comparing what the Debian package does with what DJB documented.
Then I managed to start supervise from /etc/rc.local:
Code:
#!/bin/sh -e
svscanboot &
exit 0
Then supervise ran, but with these errors:
Code:
#> ps -ef | grep supervise
root 689 661 0 02:01 ? 00:00:00 readproctitle service errors: ...supervise: fatal: unable to acquire qmail-verify/supervise/lock: file does not exist supervise: fatal: unable to acquire log/supervise/lock: file does not exist supervise: fatal: unable to acquire log/supervise/lock: file does not exist supervise: fatal: unable to acquire log/supervise/lock: file does not exist supervise: fatal: unable to acquire qmail-smtpd/supervise/lock: file does not exist
After some investigation, I fixed it with this command:
Code:
#> mkdir -p /var/lib/supervise/qmail-send
Now qmail runs fine and delivers mail.
Maybe the last line and the rc.local trigger was all that was missing. Who knows? It's solved.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.