Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I have installed Qmail with addons. It also has courierpassd installed on port 106.
I need to open the port to accept connections atleast for the localhost.
I tried it with iptables but still connections are being refused.
First rule of thumb until you are skilled at iptables, disable iptables while configuring new server software to work. Then, once it works, reenable your firewall with the appropriate rules for the new service.
That was what I did.
Iptables were disabled while configured courierpassd and qmail.
Now I need to open 106 for courierpassd to run.
Without or with iptables the port 106 was closed.
I need to explicitly open it.
I tried using iptables but still the port is closed.
Last edited by linuxlover.chaitanya; 07-10-2008 at 03:51 AM.
Well man even with iptables flushed out nmap does not show 106 port number to be open.
Explicitly accepting connections through iptables does not seem to be the option as the port itself is closed. Once it is open iptables can be used to accept the connections.
But first for that nmap should show the status of 106 to be open. And that is what I need.
In the documentation itself it is clearly mentioned that courierpassd needs port 106 to be open.
And that seems correct as I can not telnet localhost on port 106.
The service courierpassd is running. Explicitly starting it from the location starts the operation and I can change the password for the user.
Now if the documentation says that port be open then I would not like to argue on that.
You said iptables was flushed out. So we're not talking about opening ports in IPTABLES. We're only talking about courierpassd. What I am trying to communicate is that courierpassd opens port 106 and listens for incoming connections. You don't have to do anything to make that part happen - just start courierpassd.
Now we're talking about an entirely different matter if you have OTHER TCP/IP blocks in the way.
Show data - show the output of the netstat command.
Without further data, I can't see that we're going to make any progress.
This is really annoying.
How do I start it?
Giving command courierpassd on terminal works for me. I can then change the passowrd for the user.
But I want this to start it automatically.
How can this be done?
I went with the steps that are given in qmailrocks.org.
Ok, good. Now we can get down to business. In the README, there is this:
Code:
Courierpassd is designed to be run from a super-server such as tcpserver
or xinetd. The poppassd protocol is used to talk to client programs to
obtain authentication tokens.
So, have you created the proper xinetd.d/courierpassd file, or added the clause to xinetd.conf ? If so, show that configuration.
Or you may have inetd (instead of xinetd). In that case, show the line you added to inetd.conf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.