qmail problem. Works with courier-imap, not with pop..
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.
Uhm.. Well.. Don't see how that diffrents... But I use Mozilla Thunderbird with the settings:
Server Type: POP Mail Server
Servername: smtp.mydomain.net
Port: 110 (default 110)
Username: user@mydomain.net
I think the reason your webmail is working so flawlessly is probably because its based on IMAP and not pop3.
Try running these commands and post the output...
ps -ef | grep readproc
tail -f /var/log/qmail/qmail-pop3d/current (or wherever yours happens to be)
qmailctl stat (all processes should be up for more than 1 second)
/var/qmail/bin/qmail-showctl (The output will be quite long, but that's ok)
[root@smtp log]# ps -ef | grep readproc
root 3482 3213 0 May23 ? 00:00:27 readproctitle service errors: ... file does not exist?multilog: fatal: unable to open directory /var/log/qmail/smtpd: access denied?multilog: fatal: unable to open directory /var/log/qmail: access denied?multilog: fatal: unable to open directory /var/log/qmail/pop3ds: access denied?multilog: fatal: unable to open directory /var/log/qmail/pop3d: access denied?supervise: fatal: unable to start supervise/run: file does not exist?
root 842 25237 0 16:25 pts/0 00:00:00 grep readproc
[root@smtp log]# tail -f /var/log/qmail/pop3d/current
@40000000422759922d244c1c tcpserver: fatal: unable to bind: address already used
@40000000422759932e8fd29c tcpserver: fatal: unable to bind: address already used
@40000000422759942ffba354 tcpserver: fatal: unable to bind: address already used
@400000004227599531679734 tcpserver: fatal: unable to bind: address already used
@400000004227599632d3ecbc tcpserver: fatal: unable to bind: address already used
@4000000042275997343ed6fc tcpserver: fatal: unable to bind: address already used
@400000004227599835aa9bfc tcpserver: fatal: unable to bind: address already used
@4000000042275999371710c4 tcpserver: fatal: unable to bind: address already used
@400000004227599a38822214 tcpserver: fatal: unable to bind: address already used
@400000004227599b39edfa9c tcpserver: fatal: unable to bind: address already used
[root@smtp log]# qmailctl stat
/service/qmail-send: up (pid 25920) 92624 seconds
/service/qmail-send/log: up (pid 1778) 1 seconds
/service/qmail-smtpd: up (pid 25927) 92624 seconds
/service/qmail-smtpd/log: up (pid 1776) 1 seconds
messages in queue: 0
messages in queue but not yet preprocessed: 0
[root@smtp log]#
I suspect you already have another MTA installed on this machine. Maybe Postfix? Sendmail? Exim? Something is already listening on your port 110, which is what the error is trying to tell you.
The readproctitle errors you're seeing in the ps output seem to be some other problem. Maybe permissions on your log files.
How did you install? Did you use a howto of some kind? Lifewithqmail? qmailrocks.org?? If I know this, I will have a basis to start from with troubleshooting these problems.
>> unable to open directory /var/log/qmail
Do you have this directory? What are the permissions/ownerships? This would be the first thing to check in regard to this problem. I think the owner should be qmaill (lowercase L on the end) and group should be root. I'm not 100% sure on that, but try changing the ownerships to that and see if that helps. To clear the readproc errors, you can try "init q" at the prompt. If that doesn't work, just reboot the machine.
I'm sure there is a more elegant way, but you could try to examine your "ps" output and see what programs are running. The MTA's I mentioned are some of the most common. You may also try doing... "telnet localhost 25" and see how the server responds. You may get something that indicates what MTA is running.
I'd like to see the output of these. I know we did the pop3 already, but since we didn't pipe this through tai64nlocal, I don't know if those messages are old or what. Also by rebooting, you may clear any problems that were happening before.
Also, after you have rebooted, try the "ps -ef | grep readproc" again and see if the long string of errors is still there. These errors pretty much tell you exactly what is wrong and what to fix. Also running "qmailctl stat" again will show you what processes are not starting up properly. Last time it looked to be your qmail-send and qmail-smtpd processes, so those are what I'd concentrate on first.
wich was the only postfix stuff I could find=)... (did a grep "postfix" * */* aso)
Now I can pop my mails...
Yet when I and another person pop the mail at the same time the pop server stops responding (it look to crash)...
It seems that the qmail queue hangs or something?
Does anyone have any directions for me from there..?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.